Skip to content
Esc
↑↓navigate↵open⌘Jpreview
Start
On this page

JetBrains IDEs through ACP

Run Autohand Code in JetBrains IDEs and other ACP clients through autohand --acp. Autohand has no JetBrains Marketplace plugin.

JetBrains IDEs and other ACP clients run Autohand through autohand --acp, the Agent Client Protocol server built into Autohand Code CLI. There is no Autohand plugin on the JetBrains Marketplace.

Install from the ACP Registry

In a JetBrains IDE 2025.3.2 or later with the AI Assistant plugin enabled, open AI Chat, select Install From ACP Registry and install Autohand Code.

The registry currently installs the separately versioned @autohandai/autohand-acp@0.2.1 adapter. The native configuration below uses the ACP server built into Autohand Code CLI.

How it works

Autohand Code CLI includes a native Agent Client Protocol (ACP) server. An IDE or editor that can launch a local ACP process over stdio can use Autohand directly, with no adapter process or editor plugin.

The launch contract is the same for every ACP client:

command: /absolute/path/to/autohand
args:    --acp

autohand --mode acp is equivalent to autohand --acp.

Before you start

  1. Install Autohand Code CLI and confirm that it runs with autohand --version.
  2. Configure authentication and a model with autohand --setup, or sign in to an existing configuration with autohand --login. Autohand reads its normal configuration from ~/.autohand/config.json, so keep provider credentials there instead of copying them into the IDE’s ACP configuration.
  3. Find the absolute path of the executable. GUI applications often inherit a smaller PATH than your shell, so use the path this command returns.

macOS or Linux:

command -v autohand

Windows PowerShell:

(Get-Command autohand).Source

Add Autohand to a JetBrains IDE

Current JetBrains IDEs with AI Assistant can add a custom ACP agent to AI Chat.

  1. Open the AI Chat tool window.
  2. Open the menu in the upper right corner and choose Add Custom Agent.
  3. JetBrains creates and opens ~/.jetbrains/acp.json.
  4. Add Autohand under agent_servers, using the absolute path you found above:
{
  "default_mcp_settings": {
    "use_custom_mcp": false,
    "use_idea_mcp": false
  },
  "agent_servers": {
    "Autohand Code": {
      "command": "/absolute/path/to/autohand",
      "args": ["--acp"],
      "env": {}
    }
  }
}
  1. Save the file and select Autohand Code in AI Chat.

JetBrains can pass configured MCP servers or the integrated IntelliJ MCP server to ACP agents. Set use_custom_mcp or use_idea_mcp to true only when you want those extra tools exposed to Autohand.

Troubleshooting

  • Use Get ACP Logs from the AI Chat menu to diagnose startup or protocol errors.
  • If Autohand does not start, check that command is the absolute path returned by command -v autohand rather than a guessed path.
  • JetBrains currently documents custom ACP agents as unsupported inside WSL. Install and launch Autohand in a supported host environment instead.

Other ACP clients

Any other IDE or agentic development environment that can launch a local stdio ACP agent can run Autohand the same way: point it at the absolute path of autohand with the --acp argument. See ACP mode for the protocol details.

Next steps

Last updated on

Was this helpful?

Send Feedback

Help us improve this documentation page. Your feedback is valuable.

We'll only contact you if we need clarification