JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 49599
  • Score
    100M100P100Q180362F
  • License Apache-2.0

An ACP-compatible coding agent powered by the Claude Code SDK (TypeScript)

Package Exports

  • @zed-industries/claude-code-acp
  • @zed-industries/claude-code-acp/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@zed-industries/claude-code-acp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ACP adapter for Claude Code

Use Claude Code from ACP-compatible clients such as Zed!

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

  • Context @-mentions
  • Images
  • Tool calls
  • 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 Code, open the Agent Panel and click "New Claude Code Thread" from the + button menu in the top-right:

https://github.com/user-attachments/assets/ddce66c7-79ac-47a3-ad59-4a6a3ca74903

Read the docs on External Agent support.

Other clients

Setup instructions for other clients are coming soon. Feel free to submit a PR to add yours!

Installation

Install the adapter from npm:

$ npm install @zed-industries/claude-code-acp

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

$ ANTHROPIC_API_KEY=sk-... claude-code-acp

License

Apache-2.0