Skip to Content
DocsGuidesAutonomous ModePro

Aigon Pro feature. Autonomous launch commands — including feature-autonomous-start and research-autopilot — require Aigon Pro. You can create, list, and inspect workflow definitions in OSS, but launching a workflow is Pro-gated. Without Pro installed, launch commands print a gate message pointing you to the free alternative (feature-start + feature-do). Pro is coming soon; see aigon.build/pro for launch updates.

Autonomous mode lets you start a feature and walk away. The AutoConductor — a dedicated background tmux session — watches workflow state and triggers the next stage automatically.

How it works

The AutoConductor polls the workflow-core engine every 30 seconds. When a stage completes, it invokes the next command automatically, then kills itself cleanly when done.

It is deliberately lightweight — it holds no orchestration state. If it dies, the feature continues normally and can be completed manually.

Two autonomous modes

Autonomous mode behaves differently depending on how many implementation agents you provide:

Solo + reviewer (one agent)

One agent implements in an isolated worktree. Optionally, a second agent reviews the implementation before the feature closes.

feature-autonomous-start 42 cc [--review-agent=gg] AutoConductor spawns (auto tmux session) cc implements in worktree ↓ submits [gg reviews — optional] ↓ review-complete signal feature-close → done ✅

Without --review-agent, the feature closes immediately after the implementation agent submits.

Fleet + evaluator (multiple agents)

Multiple agents compete in parallel worktrees on the same spec. When all submit, a designated evaluator agent compares implementations and picks a winner.

feature-autonomous-start 42 cc gg [--eval-agent=cc] AutoConductor spawns (auto tmux session) cc and gg implement in parallel worktrees ↓ both submit cc evaluates — writes **Winner:** to eval file feature-close <winner> → done ✅

The evaluator reads both implementations and writes **Winner:** <agent> to the eval file. The AutoConductor parses this and calls feature-close directly — no LLM relay, no manual step.


Starting autonomously

From the dashboard

Click Start Autonomously on any backlog feature card. The modal adapts to the number of agents you select:

  • One agent selected → shows a Reviewer picker and offers stop-after: review or close
  • Multiple agents selected → shows an Evaluator picker and offers stop-after: eval or close

From the CLI

# Solo — implement then close, no review aigon feature-autonomous-start 42 cc # Solo + review — implement, review with gg, then close aigon feature-autonomous-start 42 cc --review-agent=gg # Solo + review — stop after review starts (review manually, close when ready) aigon feature-autonomous-start 42 cc --review-agent=gg --stop-after=review # Fleet — two agents, auto eval and close aigon feature-autonomous-start 42 cc gg --eval-agent=cc # Fleet — stop after eval (pick winner manually) aigon feature-autonomous-start 42 cc gg --eval-agent=cc --stop-after=eval # Stop after implement only aigon feature-autonomous-start 42 cc --stop-after=implement

Saved workflow definitions

If you run autonomous mode with a recurring shape — “cc implements, cx reviews, close when ready”, “three agents compete with cc as judge”, and so on — save it once as a workflow definition and re-invoke it by slug instead of retyping the flags every time.

# See what is available (built-ins + project + global) aigon workflow list # Launch with a saved workflow aigon feature-autonomous-start 42 --workflow=solo-cc-reviewed-cx # Override a field for this run (flags always win over workflow values) aigon feature-autonomous-start 42 --workflow=my-arena --eval-agent=gg

Workflows resolve to the same --agents, --eval-agent, --review-agent, and --stop-after inputs documented on this page — they are a UX layer on top of the autonomous conductor, not a second execution engine.

Workflows can live at three scopes: built-in (always available, read-only), global (~/.aigon/workflow-definitions/, personal across all repos), and project (<repo>/.aigon/workflow-definitions/, commit to share with your team). Higher scopes win on slug collision.

In the dashboard, the Start Autonomously modal exposes a Workflow dropdown that pre-fills every control and a Save as workflow… button to store the current configuration. See the workflow command reference for the full stage schema, validation rules, and CRUD examples.

Start Autonomously modal with the Workflow dropdown open, showing built-in and project workflows to choose from

Anatomy of a workflow definition

Every workflow is a JSON file with a slug, label, description, and ordered stages. The built-in solo-cc-reviewed-cx workflow is a good starting point — CC implements, CX reviews, CC addresses the review feedback, and the feature auto-closes when ready:

{ "slug": "solo-cc-reviewed-cx", "label": "Solo Reviewed", "description": "Implement with CC, review with CX, revision with CC, then close", "stages": [ { "type": "implement", "agents": ["cc"] }, { "type": "review", "agents": ["cx"] }, { "type": "revision", "agents": ["cc"] }, { "type": "close" } ] }

Copy one as a starting point with aigon workflow create my-reviewed --from=solo-cc-reviewed-cx, or write a JSON file and pass it with --file=<path>.


--stop-after options

The stop-after value controls where autonomy ends. Available values differ by mode:

Solo mode

ValueBehaviour
implementStop after the agent submits — hand back control
reviewStop when the review session starts — wait for it manually, then close
closeDefault. Implement → review (if set) → close automatically

Fleet mode

ValueBehaviour
implementStop after all agents submit — skip eval
evalStop after evaluation starts — pick winner and close manually
closeDefault. Implement → eval → auto-close the winner

Monitoring

While the AutoConductor is running, the dashboard shows a Running autonomously badge on the feature card.

From the moment the run starts, the dashboard also shows the full planned stage sequence for that autonomous workflow, not just the currently active stage. That makes it clear up front whether the run is expected to stop after implement, continue into review, branch into eval, or auto-close at the end.

# Check AutoConductor status and current workflow state aigon feature-autonomous-start status 42 # Attach to watch the poll log live tmux attach -t <repo>-f42-auto

Poll log output shows exactly what the AutoConductor sees on each cycle:

[09:15:17] state=implementing agents=[cc=running] allReady=false ... [09:16:47] state=implementing agents=[cc=ready] allReady=true ... 🚀 Spawning review session: brewboard-f42-review-gg-... ✅ Started review session: brewboard-f42-review-gg-... [review-start 1/10] running=true ✅ Review started. Waiting for review agent to complete... [review-close 1/120] reviewCompleted=false reviewState=in-progress [review-close 2/120] reviewCompleted=true reviewState=idle ✅ Review completion signaled. Proceeding to close. 🚀 Triggering: aigon feature-close 42 ✅ Feature closed. AutoConductor finished.

Lifecycle states & card badges

As the AutoConductor moves a feature through implement → review → revision → close, the dashboard card reflects the current lifecycle state with a coloured chip in the card header. The state is canonical — it lives on the workflow snapshot, not in frontend heuristics — and the badge maps one-to-one from the STATE_RENDER_META table the server attaches to every dashboard row.

The active states you’ll see during an autonomous run:

StateCard badgeMeaning
inbox / backlogPre-start. No badge.
spec_review_in_progress📋 Spec reviewA reviewer agent is reading the spec before implementation begins.
spec_revision_in_progress📋 Revising specThe author agent is addressing spec-review feedback.
implementing🔨 ImplementingImplementation agent is writing code in the worktree.
submitted— (agent row shows ✓ Complete)Implementation agent has signalled implementation-complete.
code_review_in_progress👀 Code reviewA reviewer agent is reading the diff and writing review notes.
code_revision_in_progress✍️ Addressing reviewThe implementer is addressing code-review feedback. Healthy productive state — not a warning.
evaluating⚖️ EvaluatingFleet mode only — the evaluator is comparing implementations and picking a winner.
closing🚀 Closingfeature-close is running.
close_recovery_in_progress🛠 Close recoveryAn earlier close failed and a recovery pass is underway.
done— (card moves to Done column)Feature merged and closed.

Why some states have no badge: states that are already obvious from the column the card sits in (inbox, backlog, done, paused) or from the per-agent status row (submitted, ready_for_review, the various *_complete states) skip the badge to avoid double-signalling. Active in-progress stages all carry a chip so it’s clear at a glance which sub-stage of an autonomous run is currently live.

Colour conventions: blue chips (📋, 👀, ✍️) mark productive review/revision passes; green chips (🔨, ⚖️, 🚀) mark the headline running stages (implement / evaluate / close). Amber 🛠 Close recovery is the one chip that intentionally signals “human attention may be needed.”


Resilience

If the AutoConductor dies mid-run, implementation, review, and eval sessions continue unaffected. Complete the feature manually from wherever it stopped:

aigon feature-code-review 42 # if review hasn't run aigon feature-eval 42 # if Fleet agents haven't been evaluated aigon feature-close 42 cc # merge (pass winning agent for Fleet)

No recovery state to clean up — the feature is in whatever stage it was when the AutoConductor stopped.


When to use

SituationRecommended
Routine feature, clear specSolo (cc)
Important feature, want a second opinionSolo + reviewer (cc --review-agent=gg)
Critical feature, want best implementationFleet + eval (cc gg --eval-agent=cc)
Maximum coverage, minimal supervisionFleet + eval + close (cc gg, default stop)

For features that need ongoing direction or spec refinement mid-stream, stick with manual Drive mode.


Next steps

Last updated on