Skip to main content
The TUI is your command center for running and monitoring workflows. Launch it by running codemachine without subcommands. From here you can start workflows, monitor agents, and control execution.

Slash Commands

Type / to see autocomplete suggestions. Use ↑↓ to navigate and Tab to complete.
CommandDescription
/startStart workflow with current template
/templatesSelect and configure workflow templates
/loginAuthenticate with AI providers
/logoutSign out of AI providers
/importImport templates from GitHub (owner/repo) or local path
/exportShow imports folder location
/exitExit the application

Keyboard Shortcuts

The main workflow monitoring screen.
KeyAction
↑/↓Navigate timeline
EnterExpand agent / Open log viewer
SpaceToggle expand sub-agents
TabToggle timeline panel
HOpen history view
PPause workflow
RReturn to controller (if available)
Ctrl+SSkip current agent/prompts
Shift+TabToggle autonomous mode
Focus prompt input
EscapeShow stop confirmation

Chained Prompts

Chained prompts are multi-step workflows where you confirm each step before proceeding.

Prompt Line States

SymbolStateMeaning
·DisabledWorkflow not running
PassiveAgent working (watch only)
Active (paused)Waiting for your input
ChainedReady for next step confirmation

How to Proceed

1

See the prompt

The prompt shows: Next: "Validation" (2/4) with hint Step 2/4: Validation
2

Confirm or steer

  • Press Enter with empty input → Confirmation modal appears
  • Or type a message then Enter → Sends steering input (no confirmation needed)
3

Confirm the modal

Press Y or select “Yes, Proceed” to continue to the next step.
▲ Confirm Step Transition

Are you sure you want to proceed to step 2/4?
Validation - Validate the output

You cannot return to the previous step once you proceed.

[Yes, Proceed]  [Cancel]
Press Ctrl+S to skip all remaining chained prompts.

Screen Elements

Telemetry Bar

The bottom bar shows workflow status:
Runtime: 00:05:23                    My Workflow • Awaiting • AUTO
ElementDescription
Runtime: HH:MM:SSActive execution time (only counts while agents run)
Workflow NameCurrent workflow
AwaitingWaiting for input (yellow)
PausedWorkflow paused (yellow)
StoppedWorkflow stopped (red)
AUTOAutonomous mode enabled (blue)

Agent Status Icons

IconStatusColor
◐◓◑◒RunningBlue (animated)
PendingWhite
CompletedGreen
FailedRed
SkippedGray
RetryingWhite
AwaitingYellow
DelegatedBlue
PausedYellow

Timeline Display

Workflow Pipeline (5 items)

> ● Agent Name (claude) • 00:01:23
    ▶ Sub-agents: 3 done, 1 running
  ○ Next Agent (gpt-4) • pending
SymbolMeaning
>Selected agent
Collapsed sub-agents (press Space or Enter to expand)
Expanded sub-agents

Output Window Header

╭─
│  [emoji] Agent Name     claude claude-3-5-sonnet ● running
│  ↳ Analyzing code structure...     context: 12.5K
╰─
ElementDescription
Face/emojiAgent character
Agent NameCurrent agent (bold)
EngineAI provider (e.g., claude)
ModelSpecific model
StatusRunning state with icon
PhraseCurrent activity (animated)
context: 12.5KToken usage
Token display format: Under 1000 shows exact number (123), 1K-999K shows decimal (1.2K), 1M+ shows millions (1.2M).

Toast Notifications

Appear in the top-right corner.
VariantIconColor
SuccessGreen
ErrorRed
InfoBlue
WarningYellow

Quick Reference

CommandsWorkflowNavigation
/startP = Pause↑↓ = Move
/templatesH = HistoryEnter = Select
/loginR = ControllerSpace = Expand
/logoutCtrl+S = SkipTab = Toggle panel
/importShift+Tab = AutoEsc = Stop/Back
/exitCtrl+T = Theme = Focus input
Chained Prompts: Enter = Confirm step | Type + Enter = Steer Modals: Y/N = Quick select | ←→ = Navigate | Enter = Confirm