What Makes Gas Town Different
Four genuine innovations that enable autonomous multi-agent systems.
Not complexity. Four simple ideas applied consistently that enable 20-30 agents working autonomously for days.
Skip the orchestration hype. This is how it actually works.
It's Not About Orchestration. It's About Self-Propulsion.
Most agent frameworks have an orchestrator at the center: something that pushes work to agents, monitors them, handles failures, reassigns. Gas Town inverts this entirely. Work is attached to agents and executes itself.
- × Central orchestrator bottleneck
- × Session death = work death
- × State files that lie
- × Mechanical health checks
- × Context limits matter
- × Crashes need intervention
- ✓ Work propels itself via hooks
- ✓ Sessions disposable, sandbox persists
- ✓ Reality is the source of truth
- ✓ AI patrol with judgment
- ✓ Context externalized to git
- ✓ Self-healing by design
The key realization: autonomous multi-agent coordination doesn't require complex orchestration. It requires four simple primitives that reinforce each other: self-propelling work, ephemeral sessions, observable state, and AI patrol.
Work Propels Itself
Most agent systems have an orchestrator that pushes work to agents. Gas Town inverts this: work is attached to agents and executes itself.
hook_bead. When session starts, hook fires automatically. Agent runs work. No orchestrator needed.WORK ASSIGNMENT FLOW
gt sling issue-123 polecat/Toast
│
▼
writes hook_bead field to agent's database row
│
▼
session starts
│
▼
SessionStart hook fires → gt prime --hook
│
▼
agent reads hook → executes work → gt done
Why this matters: if an agent crashes mid-work, the hook is still set. Next session starts, hook fires, work continues. Zero human intervention. The work itself is the propulsion mechanism.
Sessions Die, Sandboxes Live
The key insight: agent identity and work state are completely decoupled from the session (context window).
SESSION LIFECYCLE
Session 1 → dies → Session 2 → dies → Session 3 → ... → Session N
│ │ │ │
└─────────────────┴─────────────────┴────────────────────┘
│
▼
Same branch. Same worktree. Same bead state. Accumulated cv_chain.
Why this matters: context windows are finite. Gas Town treats them as expendable resources. An agent can work for days across hundreds of sessions without losing context, because context is externalized to git.
Observable State, Not Stored State
Gas Town doesn't track state in files. It observes reality directly: tmux sessions, git branches, beads database.
This is called ZFC (Zero-File-Config). The daemon doesn't read state files. It observes:
STATE OBSERVATION
Session alive? → tmux has-session -t name
Current work? → SELECT hook_bead FROM agents
Changes pushed? → git log origin/branch..HEAD
Why this matters: state files corrupt. Processes crash between write and flush. By observing reality instead of tracking state, Gas Town eliminates an entire class of consistency bugs. Recovery is always possible because truth is discoverable.
AI in the Patrol Loop
The Witness isn't a script. It's an AI agent that makes judgment calls about other agents.
The patrol hierarchy uses graduated intelligence:
PATROL HIERARCHY
Daemon │ Mechanical. 3-min heartbeat. Detects obvious failures.
▼
Deacon │ AI. Town-wide triage. Handles cross-rig issues.
▼
Witness │ AI. Per-rig intelligence. Understands agent context.
Why this matters: mechanical health checks can't understand nuance. An AI watching AI can reason about whether silence is productive or problematic. This prevents false positives while catching real failures.
Why These Four Together
Each insight enables the others. Remove one and the system degrades.
THE GAS TOWN COMPOSITION
Self-propelling work → No orchestrator bottleneck
+
Ephemeral sessions → Context limits don't matter
+
Observable state → Crashes don't corrupt
+
AI patrol → Intelligent recovery, no false positives
════════════════════════════════════════════
│
▼
Agents that run for days without human intervention.
20-30 agents working on a shared codebase, cycling
through sessions, self-healing from failures, for
as long as there's work to do.
The Deeper Pattern
What's actually happening here is simple: the system externalizes everything fragile and automates only what can be made durable.
- Context is fragile → externalize it to git and beads
- Sessions are fragile → make them disposable
- State files are fragile → observe reality directly
- Mechanical health checks are fragile → put AI where judgment is required
That is the pattern. Not agent orchestration. Not prompt engineering. System design that assumes LLMs and processes will fail, then routes around those failures by construction.
This is why Gas Town feels qualitatively different from most multi-agent demos. It's not more complicated. It's more honest about where reality breaks.