Swamp Redefines Orchestration with Promise Theory and Observational Workflows
The article explores Swamp, a system that reimagines orchestration through promise theory, where workers execute tasks based on explicit capabilities rather than autonomous decision-making. Unlike traditional tools like Terraform and Ansible, Swamp emphasizes versioned, queryable state data, enabling workflows to make decisions based on observed reality rather than declarative declarations. Key innovations include CEL predicates for structured queries, type-safe data validation, and a WebSocket API for model execution. This approach shifts from blind automation to intelligent observation, reducing errors in parsing and inference. The system allows agents to reason over persistent state, with idempotency managed at the workflow level through step guards. By prioritizing observed reality over static configurations, Swamp addresses limitations in existing tools, offering a framework where systems can dynamically adapt based on real-time data rather than pre-defined rules.
