Skip to main content
Documents Stack 0.2.0-dev.20260703.2. Expanded in the 2026-07-03 changelog entry — Lights panel, slash commands, gardener core focus, and goal-mode chat availability.
Stack is a terminal cockpit: Agent input on the bottom, status rails on the sides, and a center pane that switches between goal views, transcripts, and ops panels.

Launch

stack          # open the cockpit
stack doctor   # verify harness, stackd, and config before a long session
Stack auto-starts stackd on 127.0.0.1:8792 when healthy. See stackd.

Agent input

KeyAction
EnterSend the prompt to Codex (or steer during an active turn)
Ctrl+EnterQueue the current input for the next turn
EscInterrupt the active turn, or clear input when idle
TabMove focus: Agent input → model → effort → environment → Local Research → hosted optimizers → remote SMR → session history
/exitQuit Stack explicitly
Codex is the default harness. Configure it in Quickstart § Configure with Codex.

Slash commands

Type / in the active input to open the slash menu. Current commands:
CommandAction
/help / /?Show commands
/exit / /quitQuit Stack
/goal ...Manage the current goal
/gardener [message] / /gFocus the gardener in the core panel or message it
/monitor ... / /mToggle, show, hide, focus, or message the monitor
`/lights onoff`Open or close the right Lights panel
/threads / /pOpen thread navigation; /threads new starts a worker thread
`/mode engresearch//work_mode`Record the future work-mode flag
`/env devstagingprod`Change environment
`/provider chatgptcursor//harness`Change worker provider
`/profile researchengineeringproduct`Change Stack profile
/model [filter]Select worker model
/effortCycle reasoning effort
/effortsOpen the Efforts workstream panel
`/subagents onoff`Toggle subagents
/experimentalOpen experimental controls
`/usage dailyweeklycumulative`Refresh account and plan usage
/opsOpen ops panel
/actorsToggle actor status
/agentFocus worker chat
/agent-view / /aToggle full agent event stream
/permissions / /permReview telemetry/privacy choices
/settings telemetryOpen telemetry settings
/configOpen editable Stack config
/details / /dToggle verbose transcript details
/rails / /bToggle side rails
/clear / /cClear the draft input

Lights panel

/lights on opens the right-panel cockpit without changing the active core panel. The Threads section is scrollable and filterable by status, role, viewed/unviewed state, id, or text. Selecting a worker thread opens the worker lane; selecting a gardener thread opens the gardener in the core panel. Lights also summarizes gardener inbox/target, active actor counts, hosted cloud state, local runtime state, and account usage.

Agent Bridge (x)

Press x to toggle local-only vs remote-only bridge mode.
ModeLeft rail shows
LocalLocal GEPA / optimizer jobs and local research state
RemoteAuth, hosted optimizers, live SMR runs, Factories, mediation target
Keep modes separate so Codex does not mix local service actions with remote owner-route actions. Start remote ops with the stack_status MCP tool (see Stack MCP).

Environment (dev / staging / prod)

When the environment control is focused:
KeyAction
j / kMove across dev, staging, and prod
rRefresh account, hosted optimizers, and remote SMR snapshot
Set API keys per environment in Configuration.

Local Research (GEPA)

When Local Research is focused:
KeyAction
EnterStart the local GEPA service (if installed)
rRefresh job list
j / kMove through recent optimizer jobs
See Optimizers for task setup.

Hosted optimizers

When hosted optimizers are focused:
KeyAction
rRefresh jobs from the selected environment
j / kSelect a job
oCycle artifact names for the selected job
v / d / cStage preview, download, or cancel
EnterConfirm the staged action

Remote SMR and Factory

When Remote SMR is focused:
KeyAction
rRefresh remote jobs
j / kSelect a run
fCycle Factories
tCycle mediation target (run → Factory → hosted optimizer)
mStage a message to the selected run or Factory project
oCycle WorkProduct / artifact outputs
v / d / lPreview output, download, or preview last saved download
EnterConfirm staged action
Downloads persist under .stack/downloads/<environment>/<run-id>/ and survive TUI restarts.

Ops panel modes

Press p on the ops panel to cycle Actors → Local → Synth Hosted. Actors shows Codex subagent policy, primary actor state, and transcript-derived workers. Press enter in Actors mode to toggle subagents for the next launch (when STACK_CODEX_ARGS is not locked).

Sessions and logs

Stack writes session logs under .stack/sessions/. Remote visibility includes SMR runs, WorkProducts, artifacts, Factories, and hosted optimizer jobs for the selected environment.

Next