Agentic Development

Swamp replaces infrastructure code with state maps for agents

Co-founder Paul Stack argues that traditional Infrastructure as Code is obsolete for AI agents. His company Swamp uses state maps to manage migrations without human-written scripts.

· 1 source · Infrastructure state maps

Paul Stack, who helped build early Terraform at HashiCorp and worked on Pulumi for four years, co-founded Swamp to manage infrastructure using state maps rather than traditional Infrastructure as Code (IaC). Stack argues that agents perform poorly with IaC due to its opinionated, modular structure and slow plan-apply feedback loops, which create a '200% problem' requiring knowledge of both cloud SDKs and IaC abstractions. Swamp uses 'behaviors,' which are reusable, schema-defined workflows with gates, to control agents deterministically. Stack’s team migrated production infrastructure four times in six months, moving from Railway to DigitalOcean App Platform, then to DigitalOcean Kubernetes, and finally to GCP. These live migrations, including full data migration for ClickHouse servers and buckets, were described as flawless and seamless. The system allows agents to translate from a current state map to a new intent map without generating complex IaC scripts, reducing the need for human-written infrastructure code. Stack contends that traditional IaC is an intermediate representation created when human labor was expensive; with cheap AI labor, agents can manage state directly, making IaC obsolete for agent-driven operations. He stated, "For me, I'll never write another line of infrastructure as code."