---
title: "JetBrains IDEs through ACP"
description: "Run Autohand Code in JetBrains IDEs and other ACP clients through autohand --acp. Autohand has no JetBrains Marketplace plugin."
slug: "working-with-autohand-code/code/jetbrains/getting-started"
sidebar:
  label: "Getting Started"
seo:
  title: "JetBrains IDEs through ACP - Autohand Code"
  description: "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 [#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 [#how-it-works]

Autohand Code CLI includes a native [Agent Client Protocol (ACP)](https://agentclientprotocol.com/get-started/introduction) 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:

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

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

## Before you start [#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:

```bash
command -v autohand
```

Windows PowerShell:

```powershell
(Get-Command autohand).Source
```

## Add Autohand to a JetBrains IDE [#add-custom-agent]

Current JetBrains IDEs with AI Assistant can add a [custom ACP agent](https://www.jetbrains.com/help/ai-assistant/acp.html) 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:

```json
{
  "default_mcp_settings": {
    "use_custom_mcp": false,
    "use_idea_mcp": false
  },
  "agent_servers": {
    "Autohand Code": {
      "command": "/absolute/path/to/autohand",
      "args": ["--acp"],
      "env": {}
    }
  }
}
```

5. 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 [#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](/integrations/acp-mode) for the protocol details.

<AcademyCta course="autohand-code-on-every-surface" title="Autohand Code on every surface" blurb="Set up Autohand Code in VS Code, JetBrains and Zed, pair your phone, and sync settings across machines." />

## Next steps

- [Features through ACP](/working-with-autohand-code/code/jetbrains/features): what Autohand exposes to JetBrains and other ACP clients
- [ACP mode](/integrations/acp-mode): how the Agent Client Protocol server works
- [AGENTS.md guide](/working-with-autohand-code/agents-md): write effective project context
