Everything about running an agent you own
Guides, concept articles and reference — rendered straight from the repository's markdown, so what you read is what the runtime ships with.
Run it in five minutes
Install the binary, write a small config, and get a first answer out of a real model. Then turn the same instruction into a daemon.
Understand the design
Two loops, one static binary, and the protocols from their own SDKs. Start with the architecture, then read the harness for what keeps an agent bounded.
Assemble a coding agent
A pair-programming daemon you host: the tools it gets, the fence around them, and the approval flow that reaches every screen.
Product
What agentd is, what it is for, and how it fits next to what you run today.
Overview
What agentd is, who it is for, and where to start for your role.
Why agentd
The problem agentd solves, the principles behind it, and how it compares.
Use cases
The shapes teams deploy — jobs, reactive daemons, pipelines, triage, agent teams — with examples.
Interoperability
The protocols, model providers, platforms and standards agentd works with.
Security at a glance
How agentd contains an agent: no ambient tools, killable reasoning, approvals, audit.
FAQ
Short answers to the questions evaluators and newcomers ask most.
Get started
Install agentd and build your first agents, step by step.
Install
The install script, release downloads, the container image, the npm clients and source builds.
Quickstart
A first agent against a real model, a tool from an MCP server, then a daemon you attach to.
Your first workflow
Write, validate and run a durable workflow — then kill it mid-run and watch it resume.
Build a coding agent
A pair-programming daemon on your repository, with approvals and a budget.
Triage with a decision model
Typed decisions, decision guards and per-turn routing, on a support-ticket workflow.
Guides
How to do one task, with a configuration that works.
Models
Connect model providers
Connect OpenAI, Anthropic, Bedrock, Azure, Vertex, local servers and decision models.
Choose models for each job
Pick the model for each job: turns, thinking, decisions, triage, approvals, routing.
Control spend with budgets
Token windows, lifetime caps, degrade models and per-run limits.
Tools and instructions
Connect MCP servers
Declare MCP servers, authenticate to them, scope their tools, and verify the connection.
React to changes and events
Act when something changes: resource subscriptions, MCP Events, webhooks and streams.
Write and ship instruction documents
Write an agent as one Markdown document, preview what the model reads, and ship it.
Workflows
Multi-agent
Deploy and operate
Deploy
Run agentd as a job, under systemd, or on Kubernetes.
Operate a running daemon
Drain, pause, resume, cancel and reload a running daemon.
Monitor in production
Logs, health probes, Prometheus metrics, OTLP traces and alerts.
Scale out
Carry more work per instance, then spread it across replicas safely.
Use the terminal and web UI
The terminal and web clients: attach, sign in, follow, approve, steer.
Host the web UI
Serve the web UI from your own domain, and what the daemon must allow.
Security
Concepts
How agentd works, and why it is built that way.
Architecture
One binary, two kinds of process: how a run flows from configuration to result.
Supervision and containment
The supervisor that never talks to the model: process tree, kill ladder, recovery.
How a turn runs
One turn end to end: context, model rounds, tool calls, termination.
Jobs, daemons and triggers
One runtime, no modes: how jobs, daemons and triggers fit together.
Workflows: how runs work
Durable step graphs: the run lifecycle, the scheduler, and when a graph beats a conversation.
Instruction documents
One reviewable file that defines an agent, and what a document may and may not declare.
Models, providers and roles
Model kinds, providers and roles, fallback, structured generation and routing.
MCP: tools and context
Where tools and context come from, and how agentd connects to MCP servers.
The A2A channel
How people and agents reach a running agentd: principals, conversations, tasks and the card.
Subagents and delegation
Delegation as a process tree, and the trust boundary between parent and child.
Security model
The threat model, the containment guarantees, and their limits.
How configuration works
Layers, precedence, validation before side effects, secrets and hot reload.
Built to be operated
Validation first, exit codes as an API, and telemetry you can filter.
Engineering choices
Why Rust, the dependency discipline, and what the choices cost.
Reference
Every key, node, flag, event and wire detail, for lookup.
Configuration
Workflows
Runtime
CLI, environment and exit codes
Every flag, environment variable, subcommand and exit code.
Events and metrics reference
Every log event and metric agentd emits.
Build features and crates
Cargo features, the release feature set, and the crates.
Glossary
The terms the documentation uses, defined in a sentence or two.
Changelog
What changed in each release of agentd.
Protocols
Intelligence wire reference
What agentd sends to each model wire, and how it reads the answer.
MCP support reference
MCP revisions, capabilities, negotiation and the events agentd logs.
A2A API reference
The A2A listener: routes, methods, errors, limits and card fields.
A2A extensions
The extensions agentd declares on top of A2A 1.0, and how a client activates them.
Command extension
The typed command DataPart: how a client runs an operation agentd declares.
Events extension
The observation feed a display client follows: frames, ordering and resume.
Task annotations extension
The facts agentd attaches to an A2A task for a client to render.
JSON-RPC over a unix socket
The A2A JSON-RPC binding on a unix socket, where the kernel vouches for the caller.