Skip to content

Code Buddy 1.0.0 — General Availability

Choose a tag to compare

@phuetz phuetz released this 10 Jun 10:22
· 3492 commits to main since this release

Code Buddy 1.0.0 — General Availability 🎉

The first GA release. Code Buddy is a multi-provider AI coding agent for the terminal, with a desktop cockpit and a multi-AI fleet mesh — built to run as well on a free local Ollama model as on frontier APIs.

Headline features

🛰️ Multi-AI Fleet Hub

A stateful WebSocket mesh where Code Buddy peers observe each other live and delegate work:

  • peer.chat — one-shot LLM calls to any peer
  • peer.chat-session.* — multi-turn sessions, FIFO-serialized, persisted across restarts
  • peer.tool.invoke — remote read-only tool execution behind three fail-closed security gates (allowlist → fleetSafe registry flag → mandatory workspace root)
  • route_peer — task classification + privacy/cost/latency-aware routing, with PII lint before anything leaves the machine
  • Live fleet load: heartbeat-carried utilization + daemon saturation backpressure

🖥️ Cowork — desktop cockpit (Electron)

Pilot everything from a GUI: autonomy daemon, task board, saga cancel/replay, fleet spend dashboard, route preview, peer chat sessions, service logs, Slack/Telegram/Feishu remote channels, MCP OAuth, bundled Office/PDF skills.

🤖 The agent itself

  • 15 providers via OpenAI-compatible routing (Grok, Claude, GPT, Gemini, Ollama, LM Studio, Bedrock, Azure, Groq, Together, Fireworks, OpenRouter, vLLM, Copilot, Mistral) + Gemini native
  • Autonomous coding cell: edit-proposal producer → review gate → verification loop (red → green, bounded) → checkpoint/resume — guardrails enforced, not documented
  • ToT + MCTS reasoning, extended thinking, RAG tool selection over ~110 tools
  • Context engine: compression, transcript repair, JIT context, persistent memory with auto-writeback

Hardening that landed for GA

  • DB migrations proven end-to-end: old installs (v1/v2 schema or legacy JSON) upgrade cleanly — covered by a real-SQLite e2e suite
  • Feishu webhook security fix: signature verification now spec-conform (SHA-256 of timestamp+nonce+encrypt_key+body), decrypt-first flow, timing-safe token checks, fail-closed without secrets
  • Production deployment guide: systemd, Docker, Kubernetes, nginx/WS, monitoring, upgrade procedure → docs/deployment.md
  • Gateway device pairing (OpenClaw-style approval flow), protocol negotiation, origin hardening
  • ~30,000 Vitest tests

Getting started

npm install -g @phuetz/code-buddy
buddy onboard        # setup wizard
buddy                # chat
buddy server         # HTTP + fleet gateway

Docs: getting-started · fleet guide · deployment · CHANGELOG