From 39c96e8581b696b91eb7a0db4ab82bbf604b685d Mon Sep 17 00:00:00 2001 From: openhands Date: Fri, 26 Dec 2025 22:20:05 +0000 Subject: [PATCH] Simplify JetBrains ACP config and update version requirement - Use 'openhands' directly instead of requiring full path - Update IntelliJ version requirement from 2024.3 to 25.3 Co-authored-by: openhands --- openhands/usage/run-openhands/acp.mdx | 28 ++++----------------------- 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/openhands/usage/run-openhands/acp.mdx b/openhands/usage/run-openhands/acp.mdx index d2988e3b..dd0aaa33 100644 --- a/openhands/usage/run-openhands/acp.mdx +++ b/openhands/usage/run-openhands/acp.mdx @@ -114,33 +114,13 @@ To configure OpenHands CLI with JetBrains IDEs: 1. Ensure OpenHands CLI is installed and configured (see [Prerequisites](#prerequisites)) -2. Find the full path to the `openhands` executable by running in your terminal: - -```bash -which openhands -``` - -3. Create or edit the file `$HOME/.jetbrains/acp.json` and add the following configuration, replacing `{full_path_to_openhands}` with the actual full path from step 2: - -```json -{ - "agent_servers": { - "OpenHands": { - "command": "{full_path_to_openhands}", - "args": ["acp"], - "env": {} - } - } -} -``` - -For example, if `which openhands` returns `/Users/username/.local/bin/openhands`, your configuration should look like: +2. Create or edit the file `$HOME/.jetbrains/acp.json` and add the following configuration: ```json { "agent_servers": { "OpenHands": { - "command": "/Users/username/.local/bin/openhands", + "command": "openhands", "args": ["acp"], "env": {} } @@ -148,10 +128,10 @@ For example, if `which openhands` returns `/Users/username/.local/bin/openhands` } ``` -4. Follow the [JetBrains ACP instructions](https://www.jetbrains.com/help/ai-assistant/acp.html) to open and use an agent in your JetBrains IDE +3. Follow the [JetBrains ACP instructions](https://www.jetbrains.com/help/ai-assistant/acp.html) to open and use an agent in your JetBrains IDE -Make sure you have JetBrains AI Assistant enabled in your IDE. The AI Assistant is available in JetBrains IDEs version 2024.3 or later. +Make sure you have JetBrains AI Assistant enabled in your IDE. The AI Assistant is available in JetBrains IDEs version 25.3 or later. ## See Also