Skip to content

v0.1.0

Choose a tag to compare

@eloylp eloylp released this 03 May 18:17
· 333 commits to main since this release
dc4d26c

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 single engine.runAgent path.
  • Reactive inter-agent dispatch: agents return a dispatch[] array in their
    JSON response to invoke other agents, gated by allow_dispatch (target
    opt-in) and can_dispatch (originator whitelist). Safety limits cover
    max_depth, max_fanout, and a (target, repo, number) dedup window.
    See docs/dispatch.md.
  • Per-(agent, repo) memory: the daemon loads existing memory into the prompt
    before every run and persists the agent's returned memory field after.
    Toggle uniformly across all trigger surfaces with allow_memory.
  • allow_prs hard 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) and codex (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 injects ANTHROPIC_BASE_URL into
    the subprocess so the same claude binary routes through any
    OpenAI-compatible endpoint. See docs/local-models.md.
  • Built-in Anthropic-to-OpenAI translation proxy at /v1/messages and
    /v1/models, opt-in via daemon.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 via POST /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.
    See docs/api.md.
  • MCP server at /mcp over Streamable HTTP, ~45 tools covering the full
    CRUD surface, observability, queue ops, and trigger_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.
    See docs/ui.md.
  • SQLite store as the single source of truth: config.yaml is 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 whose completed_at is still NULL at
    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 via GET /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}/stream that replays the
    in-memory ring buffer before live-tailing.
  • /runners surface: 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 with agent: null. Supports per-row delete and event-level retry.
  • Dispatch graph and counters at /graph and /dispatches, including drop
    reasons (depth, fanout, dedup, missing opt-in).

Security

  • HMAC SHA-256 webhook verification on /webhooks/github, with delivery
    dedup keyed by X-GitHub-Delivery. The only authentication enforced
    inside the daemon; everything else is the operator's reverse-proxy job.
    See docs/security.md.
  • Default security guardrail seeded by migration into the new
    guardrails table, 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-alpine so Claude
    Code and Codex live alongside the daemon. Runs as non-root agents user.
  • Two named volumes: agents-data (SQLite database) and agents-home
    (Claude / Codex auth and MCP config), populated once via agents-setup.
    No host bind-mount of ~/.claude.json.
  • agents-setup interactive bash script: picks backends, runs OAuth flows,
    registers the GitHub MCP server on each CLI, refreshes backend discovery,
    and prints diagnostics. See docs/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/github are 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 in docs/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. See CONTRIBUTING.md.