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 25.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: Create the ACP Configuration File
Create or edit the file$HOME/.jetbrains/acp.json:
- Mac/Linux
- Windows
Step 2: Add the Configuration
Add the following JSON:Step 3: 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 OpenHands CLI is installed:
- If the command is not found, ensure OpenHands CLI is in your PATH or reinstall it following the Installation guide
”AI Assistant not available”
- Ensure you have JetBrains IDE version 25.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

