{
  "worker": "qnfo-agents",
  "version": "0.1.0",
  "sdk": "agents@0.30.1",
  "ok": true,
  "you": {
    "caller": null,
    "scope": "public"
  },
  "what": "The fleet's Cloudflare Agents SDK agent: coding and operations turns over the whole fleet tool surface, durable, schedulable, with an MCP server and client and a Code Mode sandbox.",
  "capabilities": [
    "Agent Durable Object with SQLite state (FleetCodeAgent)",
    "durable turns (runFiber, re-run once after eviction)",
    "schedules: cron or delay (schedule, getSchedules, cancelSchedule)",
    "callable methods over WebSocket (/agents/fleet-code-agent/<instance>, trusted callers)",
    "MCP server at /mcp (createMcpHandler)",
    "MCP client: connect any MCP server; its tools join the turn (addMcpServer)",
    "Code Mode: the model writes JavaScript that calls the tools inside a Dynamic Worker sandbox (LOADER)",
    "Workers AI through AI Gateway with a fallback model (createAI)",
    "the qnfo-ops tool surface: Cloudflare API, D1, R2, KV, GitHub, workspace, containers, deploys (scope-gated)",
    "code changes as code-task proposals the owner files; the code loop opens and merges the PR"
  ],
  "model": {
    "primary": "@cf/moonshotai/kimi-k2.7-code",
    "fallback": "@cf/zai-org/glm-5.3-flash",
    "via": "Workers AI binding through AI Gateway 'default'",
    "override": "ops_config qnfo_agents_model"
  },
  "routes": {
    "open": [
      "GET /",
      "GET /health",
      "GET /tools",
      "POST /mcp (public: repo_read_file)"
    ],
    "trusted": [
      "POST /run {text, instance?, wait_ms?}",
      "GET /runs",
      "GET /runs/<id>",
      "GET /schedules",
      "POST /schedules {text, cron|delay_s}",
      "DELETE /schedules/<id>",
      "GET /mcp-servers",
      "POST /mcp-servers {name, url}",
      "DELETE /mcp-servers/<id>",
      "POST /sandbox {code}",
      "/agents/fleet-code-agent/<instance> (WebSocket, callable methods)"
    ]
  },
  "surfaces": {
    "console": "https://fleet.qnfo.org/cmd (cfagent <request>, cfagent! <request> for the write scope)",
    "ops": "https://ops.qnfo.org/v1/agents/..."
  }
}