Welcome
Starling is a Go runtime for building LLM agents where every run is recorded as a hash-chained event log.
A Go runtime for building LLM agents where every run is an append-only, BLAKE3-chained, Merkle-rooted event log. When an agent fails in production, inspect the log, replay it against the same agent wiring, and see the exact step where today's behavior diverges.
For AI assistants
/llms-full.txt packs the whole docs into one file. Paste it into your assistant's context and it will know every type, signature, and convention in the runtime.
Get started
Quickstart
Hello agent. In-memory log, durable SQLite, replay verification.
Concepts
Event log, replay, side effects, the determinism contract.
Build
Build your first agent
Wire Provider, Log, Tools, Config, Budget, Metrics.
Write a tool
Typed tools, replay-safe side effects, retries on transient errors.
Replay-driven tests
Capture a run once. Assert byte-identity in CI forever.
Operate
HTTP daemon
Serve your own agent over HTTP. Async runs, SSE, metrics, auth, inspector.
MCP server
Expose your event log to Claude Desktop, Cursor, Claude Code over stdio.
MCP tools
Mount remote MCP servers as Starling tools.
Operations
Deployment, security, retention, metrics, tracing.