claude-agent-acp

Use the Claude Agent SDK as a coding agent from any ACP-compatible editor

Tool
npm
v0.81.2
2,582 stars
Apache License 2.0

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
86 /100 Excellent
Development Activity 100
Maintenance 100
Community 68
Maturity 36
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
78 /100 Good
Architecture 79
Code Quality 80
Innovation 78
Learning Curve 74

claude-agent-acp is an Agent Client Protocol (ACP) adapter that wraps Anthropic’s Claude Agent SDK so any ACP-compatible client — code editors like Zed, or other tooling that speaks the protocol — can drive Claude as a full coding agent. It runs as a standalone CLI process spawned by the ACP client, translating protocol messages into Claude Agent SDK calls and back.

It supports the richer end of agentic editor integration: context @-mentions, image input, tool calls with permission prompts, interactive and background terminals, custom slash commands, and client-side MCP servers — the same capabilities Claude Code itself exposes, made available to any editor that implements ACP instead of only Anthropic’s own tooling.

What You Get

  • A standalone claude-agent-acp binary implementing the ACP agent-side protocol
  • Full tool-call support with client-side permission requests
  • Context @-mentions and image input passed through to Claude
  • Interactive and background terminal support for running commands from the agent
  • Support for custom slash commands and client-provided MCP servers

Common Use Cases

  • Wiring Claude into ACP-compatible editors (e.g. Zed) as a first-class coding agent
  • Building custom ACP clients that need a ready-made Claude-backed agent implementation
  • Giving editor tooling access to Claude’s tool-use, terminal, and MCP capabilities without reimplementing the Claude Agent SDK integration
  • Prototyping agentic editor features that require edit review, TODO tracking, or slash-command support

Under The Hood

Architecture: The core logic lives in src/acp-agent.ts, which implements the ACP agent-side protocol handlers and bridges them to the Claude Agent SDK, with src/tools.ts (1,200+ lines) mapping Claude’s tool-call surface (file edits, terminal commands, MCP tool invocations) onto ACP’s tool-call and permission-request messages; src/elicitation.ts handles interactive user prompts, and src/settings.ts manages agent configuration. The src/index.ts entrypoint is the CLI binary that ACP clients spawn as a subprocess, communicating over the protocol’s message channel, while src/lib.ts exposes the same functionality as an importable library for embedding. Tech Stack: TypeScript targeting Node.js, built with tsc, tested with vitest (including a dedicated integration test mode via RUN_INTEGRATION_TESTS=true), linted with ESLint and Prettier, released via release-please. Code Quality: 15 test files exercise the ACP-to-Claude-Agent-SDK bridge logic, and the project maintains a generated CHANGELOG.md with frequent, automated releases (v0.59.0 at time of writing), reflecting active, well-maintained development. API Design: The package exposes both a zero-config CLI binary (for editors that just spawn a subprocess) and a typed library entrypoint (dist/lib.js) for embedding the same bridge logic directly into a custom ACP client.

Used by 6 apps in this directory

Go
59%
Apache 2.0

agent-orchestrator

AI Agents · AI Code Assistants · Developer Tools

12,440

A local desktop workspace that gives every coding task its own agent, Git branch, and worktree, then tracks tasks, pull requests, CI, and reviews for 27 coding agents on one live Kanban board.

View details
86
Repo Health
83
Technical
68
Dependency
Built with
Go 59%
TypeScript 38%
Updated 1 weeks ago
TypeScript
56%
Other

agenta

AI Development · Developer Tools · Devops

4,788

The open-source LLMOps platform unifying prompt engineering, evaluation, and observability for teams building reliable LLM applications.

View details
91
Repo Health
77
Technical
67
Dependency
Built with
TypeScript 56%
Python 39%
Updated 1 weeks ago
TypeScript
91%
MIT

OpenClaw

AI Agents · AI Assistants

390,670

An open-source AI assistant that runs on your own hardware and meets you in Discord, Slack, WhatsApp, iMessage, Telegram, and 20+ other channels, with native apps for every major platform.

View details
88
Repo Health
88
Technical
68
Dependency
Built with
TypeScript 91%
Updated 1 weeks ago
TypeScript
94%
MIT

paperclip

AI Agents · Automation

90,417

The open-source control plane that turns a pile of AI agents into an actual company — with org charts, budgets, heartbeats, and governance.

View details
86
Repo Health
78
Technical
71
Dependency
Built with
TypeScript 94%
Updated 1 weeks ago
TypeScript
98%
Apache 2.0

rowboat

AI Assistants · AI Development

17,983

Build, test, and deploy multi-agent AI workflows with a visual editor, RAG data sources, MCP tool integration, and a production-ready REST API.

View details
85
Repo Health
72
Technical
65
Dependency
Built with
TypeScript 98%
Updated 2 weeks ago
TypeScript
85%
Apache 2.0

superset

AI Code Assistants · AI Development

14,690

Orchestrate an army of AI coding agents—Claude Code, Codex, Gemini CLI, and more—running simultaneously in isolated git worktrees from a single Electron desktop app.

View details
86
Repo Health
80
Technical
64
Dependency
Built with
TypeScript 85%
Updated 1 weeks ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers