SnapFlow Docs

Overview

Swarm Intelligence (route /swarm) is the roster and rulebook for SnapFlow's autonomous workforce: your fleet of specialist agents, the reusable skills/runbooks they can call, the standing rules and guardrails you set for them, and the shared knowledge base ("Company Brain") they draw on when planning. It has four tabs: Fleet, Skills, Governance, Knowledge.

/swarm?tab=fleet
S /acme-devops
Guarded
⌘K Search or type / for commands…
🕐
🔔
A
Agency fleet
Swarm Intelligence
FleetSkillsGovernanceKnowledge
🏗
Terraform
Infrastructure Provisioner
Running
🛡
Sentinel
Security Auditor
Active
💰
Ledger
Cloud Cost Analyst
Idle
👁
Watchman
Observability Agent
Idle
🔐
Vault
Secrets Manager
Idle
🚀
Deploy
Release Manager
Idle
◐ Recreated illustration — The Fleet tab — a grid of agent cards with live status chips.

Fleet

Every primary swarm agent, its live status, and its recent activity — click a card to drill in. The agents are fixed and shared across the whole platform:

AgentWhat it does
🏗 Terraform — Infrastructure ProvisionerPlans and applies infrastructure changes with guardrails and drift awareness.
🔄 Pipeline — CI/CD EngineerBuilds, repairs, and hardens delivery pipelines for safer releases.
⚓ Harbor — Container Registry ManagerManages image publishing, scanning, and registry hygiene across environments.
🛡 Sentinel — Security AuditorFinds risk, validates controls, and recommends safe remediations.
💰 Ledger — Cloud Cost AnalystTracks spend, flags waste, and recommends practical cost reductions.
👁 Watchman — Observability AgentListens for incidents, diagnoses service health, and verifies recovery.
🔐 Vault — Secrets ManagerRotates secrets, checks secret exposure, and prepares secure credential changes.
🗄 Migra — Database Migration AgentPrepares schema changes, rollback paths, and safe database recovery steps.
🚀 Deploy — Release ManagerShips releases, coordinates rollback paths, and restores stable versions when needed.
🚨 Responder — Incident CommanderExecutes recovery playbooks, coordinates mitigation, and closes the incident loop.
↩️ RollbackWatch — Rollback SupervisorMonitors deployments and infrastructure changes for rollback conditions, and automatically reverts state when verification fails.

Status chips use the same color language as everywhere else: Running Active Error Queued Idle (the default when there's nothing to do).

Clicking an agent card opens an inspector with a description, a natural-language dispatch bar — type what you want that specific agent to do and click Go (it shows "Dispatching..." then "Running" while busy) — a Recent Tasks feed of its latest runs, and, if one of its tasks needs a decision, an inline approval panel right there.

Skills

Reusable runbooks the swarm follows. When a plan step matches a skill's agent and trigger words, that skill's instructions are injected into the step and it still runs through all the normal guardrails — the Pre-Flight Manifest, approvals, the sandbox. Built-in skills ship with SnapFlow; you can add your own to encode your team's specific workflows.

Two sub-tabs: Built-in (N) and Custom (N). Skills are grouped by category — 🏗️ IaC, 🔄 CI/CD, 🛡️ Security, 👁️ Observability, 💰 Cost, 🔐 Secrets, 🗄️ Database, 🚀 Deployment, 🚨 Incident Response, 📋 Compliance, ⚡ Custom — and each is a collapsible row showing its name (tagged "BUILT-IN" where relevant), a one-line description, and its category. Expanded, a skill shows which agents use it (or "Any agent"), its trigger keywords (or "Always (when agent matches)"), and either its runbook text or, for MCP-type skills, the specific tool/server it prefers.

/swarm?tab=skills
S /acme-devops
Guarded
⌘K Search or type / for commands…
🕐
🔔
A
Agent Skills 12 built-in · 2 custom
FleetSkillsGovernanceKnowledge
Built-in (12) Custom (2)
🛡️ Least-privilege IAM review BUILT-IN
Security
Agents: Sentinel, Vault
Triggers: iam, permission, policy
1. List all policies attached to the role...
🚀 Zero-downtime canary deployBUILT-IN
⚡ Weekly cost report to SlackCustom
◐ Recreated illustration — The Skills tab, Custom sub-tab, with an expanded skill row.

Adding a custom skill

On the Custom sub-tab, click + Add Skill:

FieldWhat it means
Type"Runbook" (a written procedure) or "MCP tool" (calls an external tool server).
Skill NameFree text.
CategoryOne of: IaC, CI/CD, Security, Observability, Cost, Secrets, Database, Deployment, Incident Response, Compliance, Custom.
DescriptionFree text.
AgentsToggle-chip multi-select from the Fleet roster — leave blank to allow any agent.
TriggersComma-separated keywords — leave blank to match whenever the agent matches, regardless of wording.
Runbook (Runbook type)A markdown textarea injected into the matching step.
MCP Server / MCP Tool (MCP type)Which tool server and tool to call.

Click Save Skill ("Saving…" while busy) or Cancel. Custom skills can be removed later from their expanded row with Remove Skill.

Governance

Two related but distinct rule types, switched with an inner toggle: Directives (standing instructions for how the swarm should think and plan) and Policies (hard guardrails that block or gate specific actions).

Directives

Standing rules injected into every agent's plan before any tool call or task breakdown — write your team's operating policy once and SnapFlow enforces it on every run.

  1. Type a rule into the text box, e.g. "Always create a rollback plan before production changes." A live hint under the box grades its length: too short (<20 characters, "be specific"), good (≤150), getting long (≤220), or too long ("LLMs may deprioritize") — with a running character count out of 200.
  2. Click Add. New directives are active by default.
  3. Or expand "Quick-start templates" for eight one-click presets — rollback plans, destructive-ops caution, IAM changes, DB migrations, post-deploy verification, no secrets in code, cost thresholds, Terraform review — each already-added preset shows a checkmark and disables.

Each directive in your list has an on/off toggle, click-to-edit text, a priority number with up/down arrows (lower number wins if two directives conflict), an "Active in planning context" / "Excluded from planning context" status line, and a delete button. Directive changes take effect within about 5 minutes (they're cached).

Policies

Guardrails your team authors, enforced both when a mission is planned and again right before each command runs.

EffectWhat it does
BlockStops a matching mission at the gate entirely.
Require approvalInserts a human approval gate on a matching step.

If any preset policies are still unused, a "Starter policies" card lists them with one-click Enable buttons. To write your own, fill in the New rule form:

FieldWhat it means
EffectBlock or Require approval.
EnvironmentsComma-separated environment names this applies to — blank means any environment.
Resource keywordsMatches if any keyword appears in the target resource.
Action keywordsMatches if any keyword appears in the action being taken.
Message shown when it firesThe text shown to you when this rule triggers.

Click Add rule. Each active rule shows as a card with its message, effect chip, a meta grid (Envs / Resources / Actions / Window), and Disable/Enable plus Delete buttons.

/swarm?tab=governance
S /acme-devops
Guarded
⌘K Search or type / for commands…
🕐
🔔
A
Agency Directives 3 active · 4 total
FleetSkillsGovernanceKnowledge
DirectivesPolicies
Always create a rollback plan before production changes.
Good length · 62 / 200
Always create a rollback plan before production changes.
Priority 1
Never write secrets directly into source code.
Priority 2
Flag any change over $500/mo before applying.
Priority 3
◐ Recreated illustration — The Governance tab — Directives sub-tab, with an active rule and the priority controls.

Knowledge — Company Brain

Your agency's private, accumulating memory. Everything here — what you teach it manually and what it absorbs from completed work — is ranked and injected into every agent's planning context.

/swarm?tab=knowledge
S /acme-devops
Guarded
⌘K Search or type / for commands…
🕐
🔔
A
🧠 Company Brain 128 knowledge · 96 verified
FleetSkillsGovernanceKnowledge
128Knowledge
94%Success rate
3.4kExperiences
$18.2kValue generated
+ Teach the brain something…
Verified ✋ Redis needs eviction policy set for cache nodes
used 14×
Draft 🤖 GH Actions cache key must include lockfile hash
used 3×
◐ Recreated illustration — The Knowledge (Company Brain) tab, with the vitals row and a few knowledge entries.

A vitals row shows four numbers: Knowledge (entries, with how many are verified), Success rate, Experiences (episodic memory count), and Value generated (dollars and hours saved).

Teaching the brain something

Click "+ Teach the brain something…" to expand a form: choose Write (type it directly) or From URL (point at a source), fill in a Title and the content or URL, add comma-separated Tags, then click Add to brain. It's injected into every future agent run from that point on.

If SnapFlow notices a lesson worth keeping from recent successful work, it appears under Suggested learnings with a one-click "+ Save to brain" button.

The knowledge base

Searchable list of everything the brain knows. Each entry shows a status badge (Verified Draft Deprecated), whether it was 🤖 learned automatically or ✋ taught by you, its content (expandable if long), tags, a usage count, and action buttons — ✓ Verify, Deprecate/Restore, Edit, Delete. A collapsible Failure insights section (when failures exist) breaks down what's gone wrong recently by category.

This is different from the AI Configuration toggles in Settings

Settings → AI Configuration has on/off switches for whether the brain is consulted during planning (KB retrieval, episodic memory, etc). This Knowledge tab is where you actually add and manage what's in the brain. See Settings → AI Configuration.