Cookbook
Hands-on, task-shaped guides. Each page is a complete working example — curl-able, forkable, re-runnable.
Templates
Five starter packs ship with the declaragent init wizard. Each page walks the template end-to-end.
| Template | What it demonstrates |
|---|---|
concierge | Minimal Slack Q&A bot (Socket Mode, provider-default tools) |
oncall-escalator | Alertmanager webhook → Claude triage → Slack DM |
pr-review | GitHub webhook → Claude reviews the diff → inline review comments |
kafka-pipeline | Kafka source + DLQ + daily cost budget |
multi-tenant-starter | Two tenants on one daemon, scoped extensions + quotas |
rpc-client + rpc-server | Paired agents exchanging typed requests over agent-rpc (v1.1) |
fleet-starter | Two agents under one manifest + the full declaragent fleet workflow (v1.2) |
Recipes
Cross-cutting how-tos built on top of the runtime.
| Recipe | Goal |
|---|---|
| Deploy to GCP Cloud Run | Get the concierge template live on Cloud Run in ten minutes. |
| Rotate a Vault secret | Zero-downtime secret rotation using declaragent secrets rotate. |
| Run two tenants on one daemon | Isolated state, extensions, and quotas — one process. |
| Trace a request in Grafana | End-to-end OTel span from inbound → engine → outbound. |
Missing something?
Open a discussion at github.com/declaragent/declaragent/discussions — cookbook pages are the quickest way to ship knowledge back to the community.