Skip to main content

Concepts and architecture

Gas Town organizes multi-agent work into a hierarchy of workspace objects and workflows.

Architecture overview

Key roles

RoleDescriptionPrimary interface
MayorAI coordinatorgt mayor attach
Human (you)Crew memberYour crew directory
PolecatWorker agentSpawned by the Mayor
HookPersistent storageGit worktree
ConvoyWork trackergt convoy commands

Beads integration

Gas Town stores work state as Beads (a git-backed issue tracker). Beads are referenced by IDs with a prefix and 5-character alphanumeric suffix, like gt-abc12 or hq-x7k2m. You can pass those IDs to commands like gt sling or gt convoy to assign or track work.

Propulsion principle

Hooks act as a propulsion mechanism:

  1. Persistent state — work survives agent restarts.
  2. Version control — changes are tracked in git.
  3. Rollback capability — revert to any previous state.
  4. Multi-agent coordination — shared through git.

Hook lifecycle