Skip to content

feat: add experimental ACP mode (--experimental-acp)#186

Draft
johnstcn wants to merge 2 commits intocj/refactor/event-emitterfrom
cj/exp/acp
Draft

feat: add experimental ACP mode (--experimental-acp)#186
johnstcn wants to merge 2 commits intocj/refactor/event-emitterfrom
cj/exp/acp

Conversation

@johnstcn
Copy link
Member

@johnstcn johnstcn commented Feb 13, 2026

Depends on #185

Add support for Agent Control Protocol (ACP) as an alternative to terminal emulation. ACP uses JSON-RPC over stdin/stdout pipes.

  • Introduce AgentIO interface to abstract PTY vs ACP transports
  • Add ACPConversation implementing Conversation interface
  • Add --experimental-acp flag (mutually exclusive with --print-openapi)
  • Add e2e test with mock ACP agent

Created using Mux (Opus 4.5)

@johnstcn johnstcn self-assigned this Feb 13, 2026
@github-actions
Copy link

✅ Preview binaries are ready!

To test with modules: agentapi_version = "agentapi_186" or download from: https://github.com/coder/agentapi/releases/tag/agentapi_186

Add support for Agent Control Protocol (ACP) as an alternative to
terminal emulation. ACP uses JSON-RPC over stdin/stdout pipes.

- Introduce AgentIO interface to abstract PTY vs ACP transports
- Add ACPConversation implementing Conversation interface
- Add --experimental-acp flag (mutually exclusive with --print-openapi)
- Add e2e test with mock ACP agent
- Block `attach` when using --experimental-acp (no terminal)
- Update chat UI to show ACP tool calls

Other changes:
- chat: Fix redundant draft filtering from finally block

Created using Mux (Opus 4.5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant