--acp flag:codebuddy --acp
~/.config/zed/settings.json) and add the following configuration:{"agent_servers": {"CodeBuddy Code": {"command": "codebuddy","args": ["--acp"],"env": {}}}}
codebuddy is available in PATH).["--acp"] to enable ACP protocol mode.{"env": {"CODEBUDDY_API_KEY": "your-api-key","CODEBUDDY_INTERNET_ENVIRONMENT": "internal"}}
CODEBUDDY_API_KEY, you must correctly configure the CODEBUDDY_INTERNET_ENVIRONMENT environment variable according to your version:_meta field of the authenticate response:{"_meta": {"codebuddy.ai/userinfo": {"userId": "User ID","userName": "Username","userNickname": "User nickname"}}}
fs.readTextFile and fs.writeTextFile capabilitiesterminal capabilityavailable_commands_update), enabling the client to:/clear and /exit) and client-specific commands (such as /theme and /config) are automatically filtered out from the command list, and only commands applicable to ACP mode are pushed._meta field of session_info_update to support real-time status push for Agent Teams multi-agent collaboration._meta['codebuddy.ai/teamUpdate']:member_status_change):{"sessionUpdate": "session_info_update","_meta": {"codebuddy.ai/teamUpdate": {"type": "member_status_change","teamName": "my-team","isAutoTeam": false,"members": [{"name": "ux-designer","color": "blue","description": "User experience design analysis","status": "running","taskId": "agent-abc123","sessionId": "session-xyz","tokenUsage": { "inputTokens": 1000, "outputTokens": 500, "lastContextWindow": 42000 },"toolCallCount": 5}]}}}
team_created) / deleted (team_deleted):{"sessionUpdate": "session_info_update","_meta": {"codebuddy.ai/teamUpdate": {"type": "team_created","teamName": "my-team"}}}
_meta['codebuddy.ai/memberEvent'] tag attached to identify the message source:{"sessionUpdate": "agent_message_chunk","content": { "type": "text", "text": "Analyzing the architecture solution..." },"_meta": {"codebuddy.ai/memberEvent": "tech-architect"}}
memberEvent tag, the client should route it to the corresponding member's conversation timeline instead of the main conversation area.member_status_change event) is automatically pushed after the replayHistory of loadSession completes, so the client does not need to make a separate request. When AcpTeamBridge subscribes to a member session, it automatically replays the member's complete history, so the member's conversation data is also fully restored through ACP SSE without additional HTTP APIs.{"agent_servers": {"CodeBuddy": {"command": "codebuddy","args": ["--acp"]}}}
codebuddy command is available:which codebuddy
codebuddy --acp
_meta extension keys and _codebuddy.ai/* extension methods, including the public/private boundary.Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback