Skip to content

Use Claude Agent SDK from any ACP client such as Zed!

License

Notifications You must be signed in to change notification settings

zed-industries/claude-agent-acp

Repository files navigation

ACP adapter for the Claude Agent SDK

npm

Use Claude Agent SDK from ACP-compatible clients such as Zed!

This tool implements an ACP agent by using the official Claude Agent SDK, supporting:

  • Context @-mentions
  • Images
  • Tool calls (with permission requests)
  • Following
  • Edit review
  • TODO lists
  • Interactive (and background) terminals
  • Custom Slash commands
  • Client MCP servers

Learn more about the Agent Client Protocol.

How to use

Zed

The latest version of Zed can already use this adapter out of the box.

To use Claude Agent, open the Agent Panel and click "New Claude Agent Thread" from the + button menu in the top-right:

Claude.Code.in.Zed.mp4

Read the docs on External Agent support.

Other clients

Or try it with any of the other ACP compatible clients!

Installation

Install the adapter from npm:

npm install -g @zed-industries/claude-agent-acp

You can then use claude-agent-acp as a regular ACP agent:

ANTHROPIC_API_KEY=sk-... claude-agent-acp

Single-file executable

Pre-built single-file binaries are available on the Releases page for Linux, macOS, and Windows. These binaries bundle everything needed and don't require Node.js.

License

Apache-2.0

About

Use Claude Agent SDK from any ACP client such as Zed!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 38