MANUAL
Guidance on how to thrive in the swamp.
Swamp is an adaptive automation framework designed to be operated by AI Agents. Start by reading How Swamp Works if you're just getting started.
Set Up Background Autoupdating
Enable opt-in background autoupdating so swamp stays current without manual intervention, using platform-native scheduling (launchd on macOS, systemd on Linux).
How-to Guides →Authenticate with API Keys
Log in with the swamp CLI, create personal API keys, generate collective tokens for CI/CD, and manage credentials for programmatic access.
How-to Guides →Troubleshoot Your Swamp Repo
Diagnose and fix a broken swamp repository with swamp doctor — find broken audit hooks, unhealthy extensions, and malformed workflow YAML files.
How-to Guides →CEL Expressions
Complete reference for CEL expression syntax, context variables, operators, functions, and data queries in swamp
Reference →Model Definitions
Complete YAML schema reference for swamp model definitions — fields, types, defaults, constraints, and validation rules
Reference →OpenTelemetry
Reference for OpenTelemetry configuration, span hierarchy, context propagation, and instrumentation points in swamp
Reference →Workflows
Complete YAML schema reference for swamp workflows — jobs, steps, tasks, dependencies, triggers, forEach iteration, and execution ordering
Reference →Vaults
Complete reference for swamp vaults — types, creation, key storage, retrieval, CEL integration, encryption, and environment variable mounting
Reference →Data Outputs
Reference for swamp data outputs: resource and file specs, lifetime, garbage collection, versioning, streaming, tags, sensitive fields, and CLI
Reference →Repository Configuration
Complete YAML schema reference for .swamp.yaml — every field, type, default, environment variable override, and validation rule
Reference →Data Querying
Reference for swamp data query: CEL predicates, DataRecord fields, --select projections, tag filtering, data.query() in expressions, and interactive TUI
Reference →Datastore Configuration
Reference for swamp datastore backends, configuration fields, environment variable overrides, sync behavior, distributed locking, and CLI commands
Reference →Doctor
Reference for swamp doctor subcommands — audit, extensions, install, and workflows. Flags, exit codes, text and JSON output shapes, and repair operations.
Reference →API Key Authentication
Reference for swamp API key formats, authentication headers, credential storage, scoping rules, limits, and the full key lifecycle.
Reference →Notifications
What triggers a Lab inbox notification, how mentions are parsed, the dedup and rate-limit rules, and scope caveats.
Reference →How Swamp Works
How models, workflows, vaults, extensions, skills, and data querying compose into agent-driven automation
Explanation →AI Agent Integration
Why swamp is designed around AI agents, how the agent interface works, and what makes different tools effective with swamp
Explanation →About the Extension Scorecard
What the extension quality score measures, why it exists, where it appears, and why Verified by Swamp is a separate badge rather than a scored factor
Explanation →Background Autoupdating
Why swamp uses platform-native scheduling for background updates, how the update lifecycle works, and design decisions around opt-in behavior and CI environments.
Explanation →API Key Scoping
Why swamp has two types of API keys, how personal keys differ from collective tokens, and when to use each for CLI workflows and CI/CD.
Explanation →