agent-swarm.devagent-swarm.dev
Playbooks

Playbooks

Eighteen production playbooks for running an agent swarm — feature development, prospecting, content, UX audits, customer support, code health, code-health reports, DORA metrics, cross-source reports, self-documenting releases, open-prompt motion-graphics videos, email domain health monitoring, Open Oncall incident response with provider failover, PR review with small-model triage, a Linear delivery loop that drives issues to merged pull requests, goals that iterate until a check passes, and a Slack reply gate that keeps Lead out of thread banter. Real flows, real schedules, real agents.

These playbooks document reusable ways to run an agent swarm in production. Each one corresponds to a "Known Use Case" from the agent-swarm README and gives you the same three things:

  1. Agents — which roles do the work, with links to the official agent templates.
  2. Tools & Skills — what each agent calls, grouped by source (see the legend below).
  3. Workflows / Schedules — the actual scheduled jobs and on-demand flows that drive the use case.

These are starting points, not the only way. They're deliberately high-level — copy the structure, adapt the specifics, and lean on the hot patterns (litmus tests, drain loops, HITL gates, per-customer working directories, no-op workflows) that recur across every flow.

Skill-source legend

Every skill referenced in a playbook is tagged with one of three sources:

TagMeaningWhere it lives
[Built-in]Ships with the agent-swarm packagedesplega-ai/agent-swarm → plugin/
[ai-toolbox]Open-source Claude Code plugindesplega-ai/ai-toolbox → cc-plugin/
[Custom]Deployment-specific skills that teams author with skill-create / skill-installYour swarm's skill registry

Agent links always point at the matching official template so new swarm users can clone the template as a starting point.

The eighteen playbooks

  • Feature Development — Slack/Linear request → research → plan → implementation PR → review → merge.
  • Lead Prospecting — Daily discovery + drafting + scheduling, with a human approval gate before sending.
  • Content Generation — Topic mining, blog/social/meme production, all gated by a different-model-family LLM-as-judge reviewer and finalized by humans.
  • UX Command Center — Weekly UX audits, agentic session recording, design-system enforcement, telemetry-driven proposals.
  • Proactive Customer Support — Per-customer working directories, scheduled value-showcase reports, post-meeting follow-ups.
  • Observability Alert Management — Datadog/New Relic/Sentry/SigNoz alerts kick off fixes or proposals; noise gets filtered before agents act.
  • Code Health — Recurring Code Maat + D3.js reports for any Git repository, refreshed weekly by default and published to one stable Page URL.
  • DORA Metrics — Recurring DORA reports with exact deployment frequency and lead time from release tags, plus clearly labeled proxy CFR and recovery-time estimates.

Need lighter static scans too? The same Code Health playbook also notes weekly-code-health, a compact knip + desloppify scan workflow.

  • Reports from Multiple Sources — Join your data warehouse, analytics, billing, search, and observability into one swarm.
  • Self-Documenting & Release Reports — Auto-update docs, generate release notes, render release videos with Remotion + browser captures.
  • Open-Prompt Showreel Videos — One open prompt to a Claude Code worker on Opus at max effort: design-led motion-graphics videos with every number read live from a named source, the full toolchain setup, and the TLA+ races showreel as the worked example.
  • Email Domain Health — Daily SPF, DKIM, DMARC, MX and blocklist checks on two DNS-over-HTTPS resolvers, a scored test send, bounce rate, run history in a Swarm App, and alerts only when something gets worse.
  • Open Oncall — PagerDuty or any alert to root cause in Slack, one-click approval, a fix PR, and automatic failover across Claude, Codex and OpenCode when a provider is down.
  • PR Review — Clairic and Jev triage every hunk of a pull request against its claims, and one cheap agent reviews only the flagged batches, for about $0.02 a PR.
  • Linear Delivery Loop — A five-minute tick moves each enrolled Linear issue one step: agents implement, fix CI and answer review, a reviewer agent approves the head commit, and a human approves before GitHub merges.
  • Software Factory — Label a GitHub issue and four agent stations classify, plan, implement and review it into a draft PR, with a red-CI fixer capped at two attempts and a daily backlog sweep.
  • Goals — State an objective and a check a script can decide; the swarm iterates until the check passes, holds the result, and reopens work when the metric regresses.
  • Slack Reply Gate — A catalog extension asks Jev or Clef whether a Slack thread reply is meant for Lead, and drops the wake-up when it is not. Shadow first, then enforce.

Small tech team operating model turns these playbooks into a rollout order and an ownership table for a team of twenty or fewer.

Small-company workflows

  • Small-Company Workflows — Agent Swarm can coordinate recurring cross-team work at companies up to 100 (tech teams up to 20) in designs on documented playbooks, with a person's approval.

Hot patterns

Patterns that recur across multiple playbooks — read these too if you want to skip the same mistakes we made:

On this page