Skip to main content

acp-knowledge

星标0
分支0
更新时间2026年7月11日 19:23

Expert guidance for the Agent Client Protocol (ACP) — the JSON-RPC 2.0 standard connecting code editors/IDEs (Clients) with AI coding agents (Agents), the way LSP connected editors with language servers. Covers v1 (stable) and v2 (draft): initialization and capability negotiation; sessions (new/load/resume/list/delete/close); the prompt turn (`session/prompt`, `session/update`, stop reasons); content blocks; tool calls and permission requests; agent plans; client `fs/*` and `terminal/*` methods; session modes and config options; slash commands; cancellation; MCP server passthrough; extensibility (`_meta`); the stdio transport; the v1→v2 migration; and the official SDKs (Rust, TypeScript `@agentclientprotocol/sdk`, Python, Kotlin, Java). Always invoke for ACP, Agent Client Protocol, editor↔agent integration, Zed external agents, building an ACP Agent or Client, or any `session/*`, `fs/*`, or `terminal/*` protocol method.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
50 个文件
SKILL.md
readonly