← Back to blog

OpenClaw ACP: Connect IDEs and Coding Agents

Updated 2026-11: what OpenClaw ACP means, how openclaw acp bridges your IDE to the Gateway, and how ACP agents run Claude Code, Codex or Gemini CLI.

11 min read

OpenClaw ACP: How to Connect Your IDE and Coding Agents

Updated 2026-11

TL;DR: OpenClaw ACP is OpenClaw's support for the Agent Client Protocol, a standard way for code editors and coding agents to talk. It works in two directions: openclaw acp lets an IDE talk to your OpenClaw Gateway, and ACP agents let OpenClaw run Claude Code, Codex, Gemini CLI and other harnesses. Pick the direction first, then follow the matching setup.

The ACP bridge page in the official OpenClaw docs

Screenshot of the openclaw acp page in the official OpenClaw docs.

What Is OpenClaw ACP?

OpenClaw ACP is the part of OpenClaw that speaks the Agent Client Protocol. As of November 2026, the official docs describe 2 paths: a bridge where an editor connects to OpenClaw, and ACP agents where OpenClaw launches external coding harnesses. Since the 3.8 update in March 2026, OpenClaw has also tracked ACP sessions more closely, so you can follow what a coding agent did and why.

ACP is basically a standardized communication between code editors and coding agents, for local and remote scenarios. Think of it as LSP for AI agents.

It helps to see where ACP sits next to the other agent protocols. Your AI agent needs to talk to three things: tools, other agents and you. Each one has its own protocol.

  • MCP, the Model Context Protocol from Anthropic, connects an agent to tools and data. Build one MCP server and any app that speaks MCP can use it. These are the agent's hands.
  • A2A, or agent to agent, was started by Google and is now a Linux Foundation project. Agents publish a card that says what they can do, then hand tasks to each other without exposing their own tools or memory. This is the agent's team chat.
  • ACP, the Agent Client Protocol from Zed, lets any coding agent run inside any editor, like Claude Code in JetBrains or Codex in Zed. This is the agent's desk.

Tools. Teammates. Editor.

Careful: IBM's Agent Communication Protocol merged into A2A in 2025. If a tutorial still treats it as a separate option, it's outdated.

openclaw acp vs ACP Agents: Pick a Direction

The first decision is which way the conversation flows. As of November 2026, openclaw acp means OpenClaw acts as an ACP server, while ACP agents means OpenClaw is the client that starts Claude Code, Codex or Gemini CLI for you. The docs give 1 quick rule: if your editor wants to talk ACP to OpenClaw, use openclaw acp; if OpenClaw should launch the coding agent, use /acp spawn.

You want to...UseWhat happens
Talk to your OpenClaw agent from an IDEopenclaw acpThe IDE speaks ACP over stdio; OpenClaw forwards prompts to the Gateway over WebSocket
Have OpenClaw run Claude Code, Codex or Gemini CLI/acp spawn, sessions_spawn({ runtime: "acp" })OpenClaw runs the harness through the acpx plugin
Let Codex or Claude Code join OpenClaw chats as an MCP clientopenclaw mcp serveNot ACP

Before, you could tell your agent that a teammate agent builds stuff for you, but when you asked it to build, you had no idea what was happening behind the scenes.

OpenClaw's ACP agents documentation page

Screenshot of the ACP agents page in the official OpenClaw docs.

Why ACP Sessions Matter for Coding Workflows

ACP session tracking is what lets you see a coding run instead of guessing. In March 2026, the OpenClaw 3.8 release added ACP provenance, which gives each run a session ID and an origin trace. For anyone who wants to do some minor coding or major coding inside OpenClaw, that is the difference between a black box and a log you can actually debug.

The big focus is really about just the communication between your agent and coding tools. Claude Code is really good at programming, and your agent doesn't have all the functionality and tools for it on its own.

Calling in Claude Code to help you do that building, it's almost like calling a professional construction crew.

Now that communication is a lot better because of the session ID tracing, the origin tracing. You get session IDs, you get tracking of what happens and you can see the debugging. You can see what went right and what went wrong.

You don't even have to build something very complicated. It might even be building something to track your calories in, calories out. It can be a small tool for yourself.

This becomes very powerful for someone who builds overnight. Overnight you can say: just run a debug on your website, do any refactoring you need. It runs at night, and in the morning you see what happened and whether anything failed.

How to Use openclaw acp From Your IDE

Using openclaw acp from an IDE is a short setup, because the command is the whole bridge. As of November 2026, you run openclaw acp locally, or point it at a remote Gateway with --url and a token, and your editor connects over stdio. The docs list 1 important limit: it is a Gateway-backed bridge focused on session routing, prompt delivery and streaming, not a full ACP-native editor runtime.

CommandWhen
openclaw acpLocal Gateway
openclaw acp --url wss://gateway-host:18789 --token-file ~/.openclaw/gateway.tokenRemote Gateway

Editors are adding ACP fast, so you can bring your own agent to the IDE and use whatever you want. The setup pattern is close to the same everywhere:

  1. Go into settings, go into intelligence and you'll see those agents, but you can also add an agent.
  2. Give it a name, then tap in the absolute path to the command. Make sure you get those slashes in there. There is absolutely no validation here at all.
  3. Go into arguments and add one new argument. For a CLI agent such as GitHub Copilot, that flag is --acp.
  4. Go into new conversation, and now you see your agent right there under all of your other agents.

Now this is just going to prompt the agent. It's going to go communicate directly with the CLI through the agent client protocol and it's going to go spin up the session. You can also attach content from the project or upload files.

In JetBrains IDEs, you go to the agent selector and say install from ACP Registry. You can select any agent you want, hit apply, and you see its agent with plan and ask mode and the models it supports. Pairing it with the IntelliJ MCP makes some of the IDE capabilities available to the agent.

Installing an agent from the ACP Registry in a JetBrains IDE

Frame from a JetBrains demo of installing an agent from the ACP Registry.

When a Rust developer configured Black Box's ACP integration in Zed in January 2026, it took hardly 60 seconds. Ask it to scale a project to production and add error handling gracefully, and it is quite well reading all the files. The entire AI agent lives inside your code editor, so you don't have to switch tabs or add another IDE.

Expect gaps. When you do a slash command in ACP mode, you may only see plan, rename and exit plan, without the rest of your skills or other MCP servers, and there may be no slash model command. In bridge mode, OpenClaw also rejects per-session MCP servers, so configure MCP on the Gateway or agent instead.

Running Claude Code and Codex as OpenClaw ACP Agents

ACP agents are the reverse path: OpenClaw starts and manages an external coding harness for you. As of November 2026, the docs list supported harnesses including Claude Code, Cursor, Copilot, Droid, OpenCode and Gemini CLI, run through the official acpx plugin. For Claude Code the stack has 4 layers: the OpenClaw ACP control plane, acpx, the Claude ACP adapter, and Claude's own runtime.

You want...Use
/acp spawn, bindable sessions, runtime controls or persistent harness workACP agents
Normal agent turns that run through a local CLI such as Claude CodeCLI backends
  • Claude Code is one of the best agentic coding harnesses if you're doing serious coding work. It has a ton of super rich features, and its ecosystem is pretty much unbeatable.
  • Codex is by far the best at the full plan, implement and review loop for real coding workflows.
  • OpenCode fits if you really like using open source models, not sending all of your data to the big AI companies, and you're okay sacrificing a bit of performance.

Not everyone is sold on OpenClaw itself as the harness. Some builders rank OpenClaw in the D category: there are just much better options out there now, and every time they ship an update, it kind of breaks. So keep ACP sessions traceable and check what a run changed before you merge it.

GitHub Copilot CLI running as an ACP agent inside Xcode

Frame from a demo of a CLI agent running inside Xcode through ACP.

Once a session is up, it feels like any built-in agent. Ask it to give you a quick overview of the app, or go and build the application, and it uses the built-in tools the IDE allows while the work runs in the CLI agent. Some tools go further: you can now code from your phone with Codex or Claude Code with a single NPX command and a QR code.

Check Coding-Agent Output With Pachat

Pachat is a web product at pachat.ai, described on the site as "Different personal AI agents, in one group chat." ACP connects one coding agent to one editor; Pachat is where you can ask several agents about the plan or result before you act.

Pachat group chat where agents check each other

Pachat screenshot from pachat.ai.

  1. Copy the plan or summary your ACP session produced.
  2. Open pachat.ai and put your Claude, Grok Bot, Muse and ChatGPT dots in one group chat.
  3. Ask them to review it. They check each other's facts and argue it out, then you make the call.

For more, read how to use OpenClaw, OpenClaw alternatives, OpenClaw Telegram and Claude Code remote control.

FAQ

What does ACP mean in OpenClaw?

In OpenClaw, ACP means the Agent Client Protocol, an open standard from Zed for communication between code editors and coding agents. As of November 2026, OpenClaw uses it in 2 ways: openclaw acp exposes your Gateway as an ACP server for IDEs, and ACP agents let OpenClaw run external harnesses such as Claude Code, Codex and Gemini CLI. It is not the Agent Commerce Protocol used in crypto agent projects.

What is the difference between openclaw acp and ACP agents?

The difference is direction. With openclaw acp, your IDE or ACP client connects to OpenClaw and OpenClaw forwards the work into a Gateway session. With ACP agents, OpenClaw is the one launching a coding harness through the acpx plugin, using /acp spawn or sessions_spawn. The November 2026 docs sum it up in 1 rule: editor talks to OpenClaw, use openclaw acp; OpenClaw launches Codex or Claude, use ACP agents.

Is ACP the same as MCP?

No. MCP, the Model Context Protocol from Anthropic, connects an agent to tools and data, while ACP connects a coding agent to an editor. A2A, started by Google, handles agent-to-agent handoffs. As of 2026 many setups use all 3. In OpenClaw, if you want Codex or Claude Code to join existing chat conversations as an MCP client, the docs point you to openclaw mcp serve instead of ACP.

Which editors support ACP?

Support is growing quickly in 2026. Zed created the protocol, JetBrains IDEs can install agents from the ACP Registry in the agent selector, and Xcode 27 added custom ACP agents in its intelligence settings in June 2026. OpenClaw's docs also include Zed editor setup notes for the openclaw acp bridge. Check your editor's current docs, because menus and limits change between releases.

What did OpenClaw 3.8 change for ACP?

The 3.8 release in March 2026 added ACP provenance. Each ACP run gets a session ID and origin tracing, so you can follow what an external coding agent did, see the debugging, and spot what went right and what went wrong. It is most useful for longer or overnight coding tasks that you review the next morning instead of watching live.

Does openclaw acp support everything ACP offers?

Not yet. As of November 2026, the docs call it a Gateway-backed bridge, not a full ACP-native editor runtime. Core flows such as new sessions, prompts, cancel, session lists and resume work, but per-session MCP servers, client filesystem methods and client terminals are unsupported, and tool streaming is partial. Configure MCP on the Gateway or agent instead.

Can Pachat review what my coding agent produces?

Yes, as a second opinion. Pachat is a web product at pachat.ai where you put your Claude, Grok Bot, Muse and ChatGPT dots in one group chat. Paste 1 plan or summary from your ACP session and ask them to look for problems. They check each other's facts and argue it out, then you make the call.

Want more than one AI looking at your agent's work? Start at pachat.ai.

References

  1. ACP, OpenClaw Docs (CLI), fetched 2026-11-23
  2. ACP agents, OpenClaw Docs, fetched 2026-11-23
  3. @OpenAgentsInc, X, 2025-10-30
  4. @priyansh_ptl18, X, 2026-01-08
  5. @jetbrains, X, 2026-03-04
  6. @boxmining, X, 2026-03-09
  7. @agentic_james, X, 2026
  8. @JamesMontemagno, X, 2026-06-10
  9. @suraj_sharma14, X, 2026-11-13

More from the blog

All articles →

Start with the decision in front of you.