Gas Town by Kilo

Gastown by Kilo is an autonomous agent orchestration platform that manages teams of AI agents working on your codebase. Built on Gastown — the open protocol for agent orchestration — Kilo's implementation coordinates coding agents, a code review agent, and a conversational coordinator to ship features, fix bugs, and maintain your projects with minimal human intervention.

You describe the work. Agents figure out how to do it, write the code, review each other's output, and land clean PRs — while you stay in control of what ships.

app.kilo.ai/gastown/town
Gas Town overview showing active work and Mayor chat
A Gas Town with active agents, convoy progress, and Mayor chat

What Makes Gastown Different

Unlike single-agent coding tools that handle one task at a time, Gastown orchestrates multiple specialized agents working in parallel:

AgentRoleWhat it does
PolecatsCodingWrite code, run tests, push branches. Multiple can work simultaneously on different tasks.
RefineryCode ReviewReviews polecat output, runs quality checks, merges approved work.
MayorCoordinationYour conversational interface. Plans work, answers questions, triages issues, keeps things moving.

These agents operate within a town — a persistent workspace connected to your repository. The town maintains state across sessions: work history, agent configuration, and institutional knowledge about your codebase.

app.kilo.ai/gastown/town/rigs/main
Gas Town rig page with a staged convoy
A staged convoy ready to be kicked off

How It Works

1. Create a town

Connect a GitHub repository to a new town. Gastown provisions a dedicated environment with agents ready to work.

2. Sling work

Describe what needs to be done — a bug to fix, a feature to build, a refactor to execute. You can sling a single task or a convoy (a multi-step plan where tasks depend on each other).

app.kilo.ai/gastown/town/rigs/main
Gas Town rig page with convoy in progress
Agents working on a convoy — beads flowing through the pipeline

3. Agents pick it up

The reconciler assigns open work to available polecats. Each agent gets its own git worktree, writes code, runs commands, and pushes a branch when done.

4. Code gets reviewed

Completed work flows to the refinery for automated code review. Depending on your merge strategy, the refinery either merges directly or creates a PR for your approval.

5. You stay in control

Monitor progress from the town dashboard. Chat with the mayor. Review PRs. Adjust priorities. Intervene when agents need guidance. Everything the agents do is visible — branches, commits, review comments, and decision reasoning.

app.kilo.ai/gastown/town/beads
Gas Town beads page showing beads in various states
The beads page — all work items with status, type, and history

Core Concepts

ConceptWhat it is
TownA persistent workspace connecting your repo to a team of agents. Maintains configuration, history, and state.
BeadA unit of work — an issue to fix, a task to complete, a review to perform. Beads have a lifecycle: open, in progress, in review, closed.
ConvoyA multi-bead workflow. Beads within a convoy can depend on each other, forming a DAG that agents execute in order.
RigA repository connection within a town. Each rig has its own branch configuration, agents, and settings. A town can have multiple rigs.
MayorThe coordination agent. Your primary interface for interacting with the town through natural language.
PolecatA coding agent. Works on individual beads — reads code, makes changes, runs tests, pushes branches.
RefineryThe review agent. Checks polecat output for quality, performs merges, and gates what lands in your codebase.

For a deeper dive, see Concepts.

The Mayor — Your Interface to the Town

The mayor is how you interact with Gastown conversationally. Think of it as a technical lead that knows your codebase, tracks what all agents are doing, and can take action on your behalf.

You can ask the mayor to:

  • Plan and create convoys from high-level descriptions
  • Check on the status of in-progress work
  • Investigate failures and stuck agents
  • Update town settings and configuration
  • Triage incoming issues or bug reports

The mayor runs persistently in your town — it's always available, even when no coding agents are active.

app.kilo.ai/gastown/town/rigs/main
Gas Town staged convoy detail view
Staged convoy detail — review the plan before agents start

What You Can Build With Gastown

  • Feature development — Describe a feature, get back a PR with tests
  • Bug fixes — Point agents at an issue, they investigate and fix it
  • Refactoring — Large-scale codebase changes executed methodically across convoys
  • Maintenance — Dependency updates, lint fixes, documentation generation
  • Code review — Automated first-pass review on all agent and human PRs

Getting Started

  • Quick Start — Create your first town and see agents work in under 5 minutes
  • Concepts — Detailed explanation of towns, beads, convoys, and the agent lifecycle
  • The Mayor — How to interact with the coordination agent effectively

Guides

  • Sling Work — Creating tasks, convoys, and staged workflows
  • Code Review — Merge strategies, review gates, and the refinery pipeline
  • Settings — Model configuration, agent limits, custom instructions, and environment variables
  • Troubleshooting — Common issues and how to resolve them