MCPcopy Index your code
hub / github.com/agentclientprotocol/claude-agent-acp

github.com/agentclientprotocol/claude-agent-acp @v0.56.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.56.0 ↗ · + Follow
241 symbols 721 edges 24 files 54 documented · 22% 4 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ACP adapter for the Claude Agent SDK

npm

Use Claude Agent SDK from ACP-compatible clients!

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.

Contribution Policy

This project does not require a Contributor License Agreement (CLA). Instead, contributions are accepted under the following terms:

By contributing to this project, you agree that your contributions will be licensed under the Apache License, Version 2.0. You affirm that you have the legal right to submit your work, that you are not including code you do not have rights to, and that you understand contributions are made without requiring a Contributor License Agreement (CLA).

Extension points exported contracts — how you extend this code

AcpClient (Interface)
(no doc) [2 implementers]
src/acp-agent.ts
ToolInfo (Interface)
(no doc)
src/tools.ts
SettingsManagerOptions (Interface)
(no doc)
src/settings.ts
Logger (Interface)
(no doc)
src/acp-agent.ts
ToolUpdate (Interface)
(no doc)
src/tools.ts
DiffToolResponseHunk (Interface)
(no doc)
src/tools.ts
DiffToolResponse (Interface)
(no doc)
src/tools.ts

Core symbols most depended-on inside this repo

prompt
called by 120
src/acp-agent.ts
push
called by 76
src/utils.ts
toAcpNotifications
called by 54
src/acp-agent.ts
newSession
called by 52
src/acp-agent.ts
setSessionConfigOption
called by 47
src/acp-agent.ts
sessionUpdate
called by 32
src/acp-agent.ts
toolInfoFromToolUse
called by 31
src/tools.ts
initialize
called by 29
src/acp-agent.ts

Shape

Function 142
Method 82
Class 10
Interface 7

Languages

TypeScript100%

Modules by API surface

src/acp-agent.ts120 symbols
src/tests/acp-agent.test.ts44 symbols
src/tools.ts21 symbols
src/settings.ts14 symbols
src/elicitation.ts12 symbols
src/utils.ts11 symbols
src/tests/tools.test.ts3 symbols
src/tests/session-config-options.test.ts3 symbols
src/tests/create-session-options.test.ts3 symbols
src/tests/acp-agent-settings.test.ts3 symbols
src/tests/session-load.test.ts1 symbols
src/tests/resolve-permission-mode.test.ts1 symbols

For agents

$ claude mcp add claude-agent-acp \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page