Skip to content

CLI Reference

The helix CLI is a compatibility shell orchestrator that sits on top of DDx primitives. It delegates work-item storage to ddx bead and agent dispatch to ddx agent, adding HELIX artifact discipline around runtime execution. New workflows should prefer helix input for intake and ddx agent execute-loop for queue drain.

Commands

Execution

CommandPurpose
helix input "request"Preferred sparse-intent intake surface
ddx agent execute-loopPrimary queue-drain surface for execution-ready work
helix runCompatibility autopilot wrapper over DDx queue drain
helix build [issue]Compatibility wrapper for one bounded implementation pass
helix check [scope]Decide what action should happen next
helix statusStructured lifecycle snapshot

Steering

CommandPurpose
helix frame [scope]Create vision, PRD, feature specs
helix design [scope]Create or extend design documents
helix evolve "requirement"Thread a change through the artifact stack
helix review [scope]Fresh-eyes review of recent work
helix align [scope]Top-down reconciliation audit
helix polish [scope]Iterative issue refinement
helix triage "Title"Create well-structured tracker issues
helix experiment [issue]Metric-driven optimization
helix nextShow recommended next issue
helix commit [issue-id]Commit with build gate and tracker update

Aliases

  • helix implement is an alias for helix build
  • helix plan is an alias for helix design

helix run

Compatibility wrapper for operators who still want a HELIX-owned autopilot entrypoint. The durable queue-drain contract is ddx agent execute-loop.

helix run [options]

Prefer this default path for new automation:

helix input "Build a bookmarks API"
ddx agent execute-loop

Options

FlagDefaultDescription
--agent codex|claudecodexWhich agent to dispatch
--model MODELautoExplicit model override passed through to DDx or the harness
--effort LEVELaction defaultExplicit reasoning-effort override passed through to DDx or the harness
--max-cycles NunlimitedStop after N completed builds
--review-every N15Periodic alignment interval
--review-threshold N100Skip review below N changed lines
--review-agent AGENTautoAgent for cross-model review
--no-auto-alignSkip periodic alignment
--no-auto-reviewSkip post-build reviews
--summary, -sConcise output with log pointers
--quiet, -qSuppress progress output
--dry-runPrint agent commands, don’t execute

Environment Variables

VariableDefaultDescription
HELIX_AGENTcodexDefault primary agent
HELIX_ALT_AGENTauto-detectedAlternate agent for adversarial rotation
HELIX_AGENT_TIMEOUT2700Per-agent-call timeout (seconds)
HELIX_MODELautoExplicit model override passed through to DDx or the harness
HELIX_EFFORTaction defaultExplicit effort override passed through to DDx or the harness
HELIX_LIBRARY_ROOTautoOverride workflows/ location
HELIX_BACKOFF_SLEEPformulaOverride backoff delay
HELIX_ORPHAN_THRESHOLD7200Stale claim threshold (seconds)

NEXT_ACTION Contract

When the ready queue drains, helix check returns one of:

ActionBehavior
BUILDRe-enter ready-work selection
DESIGNRun one bounded design pass, then re-check
POLISHRun one issue-refinement pass, then re-check
ALIGNRun alignment once if auto-align enabled
BACKFILLStop and surface the backfill command
WAITStop — blocked by external dependency
GUIDANCEStop — human decision required
STOPStop — no actionable work remains

helix status

Reports the current run-controller state:

helix status

Shows: current claimed issue, focused epic, completed cycles, token usage, blocked work, and stop reason.

helix commit

Commit with HELIX conventions:

helix commit [issue-id]
  1. Auto-stages modified files if nothing staged
  2. Runs the build gate (lefthook, cargo check, npm test)
  3. Commits with the issue title as summary
  4. Pushes with rebase
  5. Closes the tracker issue