buzz icon indicating copy to clipboard operation
buzz copied to clipboard

Feature Request: Support for custom ACP harnesses with model listing and reliable connection management

Open Jross1719 opened this issue 3 months ago • 0 comments

Background

Buzz Desktop supports custom ACP (Agent Client Protocol) harnesses via the acp_command field in managed-agents.json. This allows users to connect agents to external ACP bridges like Claude Code, Codex, or custom LLM providers. However, the current implementation has significant gaps that prevent custom harnesses from working reliably:

  1. No model listing — Custom ACP agents cannot expose available models to Buzz Desktop, leaving the model dropdown empty.
  2. No graceful connection handling — Agents die after ~5 seconds when the ACP bridge returns errors on follow-up requests.
  3. Config corruption on harness changes — Changing a harness overwrites the entire config, creating duplicate entries and losing agents.
  4. No fallback model configuration — Users cannot manually specify model IDs when auto-detection fails.

These gaps make custom ACP harnesses (especially Claude Code via subscription credits) unusable in practice.

Proposed Changes

1. Add listModels method to ACP protocol

File: src/schemas/agent-client-protocol/schema.json (or equivalent)

Add a new method to the ACP schema:

{
  "name": "listModels",
  "method": "agent/listModels",
  "request": {
    "type": "object",
    "properties": {}
  },
  "response": {
    "type": "object",
    "properties": {
      "models": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": { "type": "string" },
            "name": { "type": "string" },
            "capabilities": {
              "type": "object",
              "properties": {
                "image": { "type": "boolean" },
                "audio": { "type": "boolean" },
                "contextWindow": { "type": "integer" }
              }
            }
          }
        }
      }
    }
  }
}

Jross1719 avatar Aug 07 '26 05:08 Jross1719