Repository navigation
v0.1.0
0.1.0 - 2026-05-03
First public release. The daemon is a self-hosted orchestrator that dispatches
AI CLIs (Claude Code, Codex, or any local OpenAI-compatible LLM) to work on
GitHub repos, driven by labels, GitHub events, cron schedules, on-demand HTTP
calls, or runtime inter-agent dispatch. Everything below ships in this release.
Added
Core orchestration
- Agent capability model: each agent is a backend + skills + prompt + optional
dispatch wiring, decoupled from where it runs. See
docs/configuration.md. - Composable skills: reusable prompt fragments referenced by name and
concatenated into the agent's composed prompt at render time. - Repos with bindings that wire one agent to exactly one trigger per binding;
the same agent can have many bindings on the same repo. See
docs/architecture.md. - Three trigger kinds: GitHub label events, GitHub event subscriptions, and
cron schedules. All converge on a singleengine.runAgentpath. - Reactive inter-agent dispatch: agents return a
dispatch[]array in their
JSON response to invoke other agents, gated byallow_dispatch(target
opt-in) andcan_dispatch(originator whitelist). Safety limits cover
max_depth,max_fanout, and a(target, repo, number)dedup window.
Seedocs/dispatch.md. - Per-(agent, repo) memory: the daemon loads existing memory into the prompt
before every run and persists the agent's returnedmemoryfield after.
Toggle uniformly across all trigger surfaces withallow_memory. allow_prshard guard: when false, the renderer prepends a non-negotiable
no-PR instruction so reviewer-class agents cannot author PRs regardless of
their prompt.
Backends
- Built-in backends:
claude(Claude Code) andcodex(OpenAI Codex CLI),
with daemon-managed launch flags so the structured JSON / stream-JSON output
feeds the trace transcript reliably. - Per-backend
local_model_url: setting it injectsANTHROPIC_BASE_URLinto
the subprocess so the sameclaudebinary routes through any
OpenAI-compatible endpoint. Seedocs/local-models.md. - Built-in Anthropic-to-OpenAI translation proxy at
/v1/messagesand
/v1/models, opt-in viadaemon.proxy.enabled. Translates text, system
messages, tool-use round-trips, and SSE streaming end-to-end. - Backend discovery: CLI probing, GitHub MCP health checks, model catalogue
persistence, orphan detection. Auto-discovery runs once when the backends
table is empty; manual refresh viaPOST /backends/discover. - Runtime model guardrail: an agent pinning a model not present in its
backend's catalogue fails fast with an actionable error.
Operator surfaces
- REST API spanning fleet CRUD (
/agents,/skills,/backends,/repos,
/repos/{owner}/{repo}/bindings,/guardrails), operations (/run,
/status,/backends/discover,/backends/local), observability
(/events,/traces,/runners,/graph,/dispatches,/memory,
/config), and YAML round-trip (/export,/import). PATCH endpoints
follow partial-update semantics; bindings PATCH is full-replace by design.
Seedocs/api.md. - MCP server at
/mcpover Streamable HTTP, ~45 tools covering the full
CRUD surface, observability, queue ops, andtrigger_agent. REST and MCP
share the same handler instances, so the surfaces cannot drift. See
docs/mcp.md. - Embedded Next.js dashboard at
/ui/: agent / skill / repo / backend /
guardrail editors, live event firehose, traces with tool-loop transcripts,
dispatch graph with drag-to-wire editor, memory viewer, runners panel.
Seedocs/ui.md. - SQLite store as the single source of truth:
config.yamlis an optional
import / export format, not a runtime dependency. CRUD writes are visible
on the next event read; no in-memory cache to invalidate.
Observability
- Durable SQLite event queue: every triggering event is persisted before
workers are signalled, and rows whosecompleted_atis stillNULLat
startup are replayed. Includes an hourly retention sweep (7-day cutoff). - Persisted traces: every completed run records the gzipped composed prompt
and the AI CLI's reported token usage (input, output, cache_read,
cache_write). Lazy fetch viaGET /traces/{span_id}/prompt. - Tool-loop transcript on
trace_steps: ordered tool calls with input /
output summaries and durations, plus persisted thinking blocks. Codex
parity with Claude (via--json). - SSE streams:
/events/stream,/traces/stream,/memory/stream, plus a
per-span live stdout tail at/traces/{span_id}/streamthat replays the
in-memory ring buffer before live-tailing. /runnerssurface: durable event_queue rows JOINed with traces. Completed
events fanned out to N agents show as N rows; in-flight events show as 1
row withagent: null. Supports per-row delete and event-level retry.- Dispatch graph and counters at
/graphand/dispatches, including drop
reasons (depth, fanout, dedup, missing opt-in).
Security
- HMAC SHA-256 webhook verification on
/webhooks/github, with delivery
dedup keyed byX-GitHub-Delivery. The only authentication enforced
inside the daemon; everything else is the operator's reverse-proxy job.
Seedocs/security.md. - Default
securityguardrail seeded by migration into the new
guardrailstable, prepended to every composed prompt ahead of skills
and the agent body. Recommends against indirect prompt injection,
refuses secret reads, blocks arbitrary network egress and out-of-tree
filesystem access. - Operator-editable guardrails: add, edit, disable, reorder, or reset
built-ins to default via REST, MCP, or the dashboard's Guardrails tab.
Deployment
- Single Go binary, multi-stage Docker image on
node:22-alpineso Claude
Code and Codex live alongside the daemon. Runs as non-rootagentsuser. - Two named volumes:
agents-data(SQLite database) andagents-home
(Claude / Codex auth and MCP config), populated once viaagents-setup.
No host bind-mount of~/.claude.json. agents-setupinteractive bash script: picks backends, runs OAuth flows,
registers the GitHub MCP server on each CLI, refreshes backend discovery,
and prints diagnostics. Seedocs/quickstart.md.--db <path>flag for the SQLite store location;--import <file>for
one-time YAML seeding. Default boot is against an empty database with
built-in defaults; no YAML required.
Notes
- The supported runtime is Docker Compose. Running the binary directly on a
host is not supported because the daemon dispatches AI CLIs with
sandbox-bypass flags and the container is what bounds that blast radius. - All endpoints except
/webhooks/githubare unauthenticated at the daemon
level. Production deployments must front the daemon with a reverse proxy
that handles auth on UI / API paths and leaves/status,/webhooks/*,
/run, and/v1/*open. See the Traefik example indocs/security.md. - Concurrent runs share the container filesystem; running one agent per
container is the workaround until invocation-level isolation ships. - The fleet is single-developer maintained today; external contributions
are expected as issues, with the autonomous fleet implementing
ai ready-labelled work. SeeCONTRIBUTING.md.