Skip to main content

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.

TemplateWhat it demonstrates
conciergeMinimal Slack Q&A bot (Socket Mode, provider-default tools)
oncall-escalatorAlertmanager webhook → Claude triage → Slack DM
pr-reviewGitHub webhook → Claude reviews the diff → inline review comments
kafka-pipelineKafka source + DLQ + daily cost budget
multi-tenant-starterTwo tenants on one daemon, scoped extensions + quotas
rpc-client + rpc-serverPaired agents exchanging typed requests over agent-rpc (v1.1)
fleet-starterTwo agents under one manifest + the full declaragent fleet workflow (v1.2)

Recipes

Cross-cutting how-tos built on top of the runtime.

RecipeGoal
Build an agent through conversationEnd-to-end builder-toolkit flow — propose, confirm, apply, undo. v0.2.
Deploy to GCP Cloud RunGet the concierge template live on Cloud Run in ten minutes.
Rotate a Vault secretZero-downtime secret rotation using declaragent secrets rotate.
Run two tenants on one daemonIsolated state, extensions, and quotas — one process.
Trace a request in GrafanaEnd-to-end OTel span from inbound → engine → outbound.

Enterprise recipes

Platform / SRE / security paths — built on features enterprise buyers ask about first.

Start here if you're evaluating the product: Enterprise — zero to a deployed demo, end to end. A single ~90-minute walkthrough that exercises every enterprise control on a developer laptop — Vault, OIDC, rate limits, SIEM, OTel, cross-host, GitOps to a local k3d cluster with ArgoCD. The standalone recipes below go deeper on individual topics.

RecipeGoal
Enterprise — zero to deployIntegrated walkthrough. Empty directory → two-agent fleet live on k3d via ArgoCD.
GitOps deploy with ArgoCD or Fluxfleet render → git → your existing Argo/Flux reconciler. Drift detection + rollback for free.
Stream audit to Splunk / Elastic / DatadogHash-chained audit into your SIEM with back-pressure + adaptive batch.
Zero-trust RPC migration (0.8.0)Pre-flight fleet audit-rpc --strict in CI before the default flip.
Cross-host fleet on KafkaSplit a fleet across regions; observe it as one with hosts[] fan-out.
Import the Grafana dashboardThree-row importable dashboard covering MCP, audit, rate limits.

Missing something?

Open a discussion at github.com/declaragent/declaragent/discussions — cookbook pages are the quickest way to ship knowledge back to the community.