Skip to content

auth problem for opencode and kilocode #5745

Description

@mernking

Describe the bug
opencode and killo code authentication problem when using acp, for agents

Steps to reproduce

  1. Go to 'agents in settings'
  2. Click on 'clikc on opencode'
  3. it will not detect it
  4. and when i added both kilo and opencode as custome agents, i get auth problems, i was unable to unthenticate reguest and agents where not able to chat
  5. and hermis works fine, but not able to chat, becuase of env problmes with secrete key not set while have set it globally [ linux ubuntu ]

Expected behavior
work fine and simlessly with opencode since it even listed their, and same for kilo code

Version and platform
Find your version at the bottom of the Settings sidebar. Write "unknown" if you can't determine it.

  • Buzz version: 5.11 and 5.10
  • OS: linux ubuntu

Logs / additional context
Paste any relevant logs, error messages, or screenshots here. and it same for kilocode after fixing the json problems
=== starting test agent (598cee313a6425ccd747d96462e1448768b0d4a646ed3816fc141b65ce851255) at 2026-08-13T02:30:49.360675791+00:00 ===
2026-08-13T02:30:49.377106Z INFO buzz_acp: buzz-acp starting: relay=wss://boundless.communities.buzz.xyz pubkey=598cee313a6425ccd747d96462e1448768b0d4a646ed3816fc141b65ce851255 agent_cmd=/home/david/.opencode/bin/opencode acp mcp_cmd= idle_timeout=900s max_turn=7200s agents=10 heartbeat=0s subscribe=Mentions dedup=Queue meh=Steer ignore_self=true context_limit=12 max_turns_per_session=0 presence=true typing=true memory=true model=free/hy3-free permission_mode=bypassPermissions respond_to=owner-only
2026-08-13T02:30:57.813816Z INFO buzz_acp: agent initialized: {"agentCapabilities":{"loadSession":true,"mcpCapabilities":{"http":true,"sse":true},"promptCapabilities":{"embeddedContext":true,"image":true},"sessionCapabilities":{"close":{},"fork":{},"list":{},"resume":{}}},"agentInfo":{"name":"OpenCode","version":"1.18.17"},"authMethods":[{"_meta":{"terminal-auth":{"args":["auth","login"],"command":"opencode","label":"OpenCode Login"}},"description":"Run opencode auth login in the terminal","id":"opencode-login","name":"Login with opencode"}],"protocolVersion":1} agent=0
2026-08-13T02:30:57.813919Z INFO buzz_acp: agent initialized agent=0 name="OpenCode" steering_supported=false
2026-08-13T02:31:06.109517Z INFO buzz_acp: agent initialized: {"agentCapabilities":{"loadSession":true,"mcpCapabilities":{"http":true,"sse":true},"promptCapabilities":{"embeddedContext":true,"image":true},"sessionCapabilities":{"close":{},"fork":{},"list":{},"resume":{}}},"agentInfo":{"name":"OpenCode","version":"1.18.17"},"authMethods":[{"_meta":{"terminal-auth":{"args":["auth","login"],"command":"opencode","label":"OpenCode Login"}},"description":"Run opencode auth login in the terminal","id":"opencode-login","name":"Login with opencode"}],"protocolVersion":1} agent=1
2026-08-13T02:31:06.109613Z INFO buzz_acp: agent initialized agent=1 name="OpenCode" steering_supported=false
2026-08-13T02:31:14.334460Z INFO buzz_acp: agent initialized: {"agentCapabilities":{"loadSession":true,"mcpCapabilities":{"http":true,"sse":true},"promptCapabilities":{"embeddedContext":true,"image":true},"sessionCapabilities":{"close":{},"fork":{},"list":{},"resume":{}}},"agentInfo":{"name":"OpenCode","version":"1.18.17"},"authMethods":[{"_meta":{"terminal-auth":{"args":["auth","login"],"command":"opencode","label":"OpenCode Login"}},"description":"Run opencode auth login in the terminal","id":"opencode-login","name":"Login with opencode"}],"protocolVersion":1} agent=2
2026-08-13T02:31:14.334525Z INFO buzz_acp: agent initialized agent=2 name="OpenCode" steering_supported=false
2026-08-13T02:31:23.196612Z INFO buzz_acp: agent initialized: {"agentCapabilities":{"loadSession":true,"mcpCapabilities":{"http":true,"sse":true},"promptCapabilities":{"embeddedContext":true,"image":true},"sessionCapabilities":{"close":{},"fork":{},"list":{},"resume":{}}},"agentInfo":{"name":"OpenCode","version":"1.18.17"},"authMethods":[{"_meta":{"terminal-auth":{"args":["auth","login"],"command":"opencode","label":"OpenCode Login"}},"description":"Run opencode auth login in the terminal","id":"opencode-login","name":"Login with opencode"}],"protocolVersion":1} agent=3
2026-08-13T02:31:23.196715Z INFO buzz_acp: agent initialized agent=3 name="OpenCode" steering_supported=false
2026-08-13T02:31:31.594422Z INFO buzz_acp: agent initialized: {"agentCapabilities":{"loadSession":true,"mcpCapabilities":{"http":true,"sse":true},"promptCapabilities":{"embeddedContext":true,"image":true},"sessionCapabilities":{"close":{},"fork":{},"list":{},"resume":{}}},"agentInfo":{"name":"OpenCode","version":"1.18.17"},"authMethods":[{"_meta":{"terminal-auth":{"args":["auth","login"],"command":"opencode","label":"OpenCode Login"}},"description":"Run opencode auth login in the terminal","id":"opencode-login","name":"Login with opencode"}],"protocolVersion":1} agent=4
2026-08-13T02:31:31.594485Z INFO buzz_acp: agent initialized agent=4 name="OpenCode" steering_supported=false
2026-08-13T02:31:39.515591Z INFO buzz_acp: agent initialized: {"agentCapabilities":{"loadSession":true,"mcpCapabilities":{"http":true,"sse":true},"promptCapabilities":{"embeddedContext":true,"image":true},"sessionCapabilities":{"close":{},"fork":{},"list":{},"resume":{}}},"agentInfo":{"name":"OpenCode","version":"1.18.17"},"authMethods":[{"_meta":{"terminal-auth":{"args":["auth","login"],"command":"opencode","label":"OpenCode Login"}},"description":"Run opencode auth login in the terminal","id":"opencode-login","name":"Login with opencode"}],"protocolVersion":1} agent=5
2026-08-13T02:31:39.515668Z INFO buzz_acp: agent initialized agent=5 name="OpenCode" steering_supported=false
2026-08-13T02:31:47.789176Z INFO buzz_acp: agent initialized: {"agentCapabilities":{"loadSession":true,"mcpCapabilities":{"http":true,"sse":true},"promptCapabilities":{"embeddedContext":true,"image":true},"sessionCapabilities":{"close":{},"fork":{},"list":{},"resume":{}}},"agentInfo":{"name":"OpenCode","version":"1.18.17"},"authMethods":[{"_meta":{"terminal-auth":{"args":["auth","login"],"command":"opencode","label":"OpenCode Login"}},"description":"Run opencode auth login in the terminal","id":"opencod

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions