Skip to content

feat(cli): expose IsanAgent ACP mode via altai acp - #232

Merged
efecnc merged 1 commit into
mainfrom
feat/cli-acp-support
Jul 31, 2026
Merged

feat(cli): expose IsanAgent ACP mode via altai acp#232
efecnc merged 1 commit into
mainfrom
feat/cli-acp-support

Conversation

@efecnc

@efecnc efecnc commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump IsanAgent lock to 7018685 (isanagent#102) for Agent Client Protocol agent support.
  • Add altai acp to start IsanAgent as an ACP JSON-RPC server on stdio (HostConfig.acp_mode), distinct from altai serve --stdio (ALTAI agent-host protocol).
  • Wire host_adapter::acp_host_config, clap dry-run preview, and unit/contract tests.

Test plan

  • cargo test -p altai-cli acp
  • cargo check -p altai --lib
  • altai-cli acp --dry-run . shows "kind": "acp" and "acp_mode": true
  • Optional: point a Zed ACP client at altai-cli acp --workspace <path> and verify initialize / session/new / session/prompt

Made with Cursor

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR successfully adds Agent Client Protocol (ACP) support to the ALTAI CLI, enabling it to function as an ACP JSON-RPC server over stdio for editors like Zed. The implementation is well-structured and follows established patterns.

Key additions:

  • New acp_host_config() function that properly configures acp_mode = true
  • altai acp command with full argument parsing and dry-run support
  • Comprehensive unit tests for both host adapter and CLI contract
  • Clear documentation updates distinguishing ACP mode from the existing altai serve --stdio protocol

The implementation demonstrates good engineering practices with consistent error handling, proper integration with existing compaction/theme/permission infrastructure, and thorough test coverage. The code is ready to merge.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

Bump IsanAgent to the ACP agent tip and add a stdio ACP host command so
editors like Zed can drive ALTAI without using the ALTAI serve protocol.

Co-authored-by: Cursor <cursoragent@cursor.com>
@efecnc
efecnc force-pushed the feat/cli-acp-support branch from 5c03fbe to 9408cab Compare July 31, 2026 07:26
@efecnc
efecnc merged commit cffc17c into main Jul 31, 2026
7 checks passed
@efecnc
efecnc deleted the feat/cli-acp-support branch July 31, 2026 07:38
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