To use OpenHands in Jetbrains IDEs like IntelliJ, we want to do the following instructions. These can be added to the [ACP docs](https://docs.openhands.dev/openhands/usage/run-openhands/acp). ---- 1. Install the OpenHands CLI according to the [CLI docs](https://docs.openhands.dev/openhands/usage/run-openhands/cli-mode) 2. Type `which openhands` in your terminal to find the full path to OpenHands 3. Add this to `$HOME/.jetbrains/acp.json`, replacing `{full_path_to_openhands}` with the actual full path ``` { "agent_servers": { "OpenHands": { "command": "{full_path_to_openhands}", "args": ["acp"], "env": {} } } } ``` 4. Follow the [JetBrains instructions](https://www.jetbrains.com/help/ai-assistant/acp.html) on how to open an agent using ACP