Supported IDEs
This guide applies to all JetBrains IDEs:- IntelliJ IDEA
- PyCharm
- WebStorm
- GoLand
- Rider
- CLion
- PhpStorm
- RubyMine
- DataGrip
- And other JetBrains IDEs
Prerequisites
Before configuring JetBrains IDEs:- OpenHands CLI installed - See Installation
- LLM settings configured - Run
openhandsand use/settings - JetBrains IDE version 2024.3 or later
- JetBrains AI Assistant enabled in your IDE
JetBrains AI Assistant is required for ACP support. Make sure it’s enabled in your IDE.
Configuration
Step 1: Find the OpenHands Executable Path
In your terminal, run:- Mac/Linux:
/Users/username/.local/bin/openhands - Windows:
C:\Users\username\.local\bin\openhands.exe
Step 2: Create the ACP Configuration File
Create or edit the file$HOME/.jetbrains/acp.json:
- Mac/Linux
- Windows
Step 3: Add the Configuration
Add the following JSON, replacing{full_path_to_openhands} with the actual path from Step 1:
Step 4: Use OpenHands in Your IDE
Follow the JetBrains ACP instructions to open and use an agent in your JetBrains IDE.Advanced Configuration
LLM-Approve Mode
For automatic LLM-based approval:Auto-Approve Mode
For automatic approval of all actions (use with caution):Resume a Conversation
Resume a specific conversation:Multiple Configurations
Add multiple configurations for different use cases:Environment Variables
Pass environment variables to the agent:Troubleshooting
”Agent not found” or “Command failed”
-
Verify the full path is correct:
-
Verify the path works:
-
Make sure you’re using the full absolute path, not
uvx openhands
”AI Assistant not available”
- Ensure you have JetBrains IDE version 2024.3 or later
- Enable AI Assistant:
Settings > Plugins > AI Assistant - Restart the IDE after enabling
Agent doesn’t respond
-
Check your LLM settings:
-
Test ACP mode in terminal:
Configuration not applied
- Verify the config file location:
~/.jetbrains/acp.json - Validate JSON syntax (no trailing commas, proper quotes)
- Restart your JetBrains IDE
Finding Your Conversation ID
To resume conversations, first find the ID:See Also
- IDE Integration Overview - ACP concepts and other IDEs
- JetBrains ACP Documentation - Official JetBrains ACP guide
- Resume Conversations - Find conversation IDs

