Docs · Use

TUI commands

The Ink (React) terminal UI. Plus ! <cmd> for shell passthrough and @agent <msg> for personas. Ctrl+X opens the leader-key menu; Ctrl+S toggles the session panel.

  • /help

    Show all commands.

  • /model [id]

    Switch model. No arg opens the picker.

  • /models

    List registry + live-discovered models.

  • /session [list|switch|delete]

    Manage JSON sessions on disk.

  • /commit

    Commit pending changes.

  • /diff

    Show working-tree diff.

  • /undo · /redo

    Step through write checkpoints.

  • /export

    Export the session transcript.

  • /health

    Provider keys, models, connectivity.

  • /compact

    Summarize and trim context under budget.

  • /setup

    Write config file interactively.

  • /editor

    Open $EDITOR for long prompts.

  • /thinking · /details

    Toggle reasoning and tool detail rows.

  • /clear · /new

    Clear view or start a fresh session.