The palette

The palette is the command interface behind every mode key. It's a hierarchical, filterable tree — start typing to filter, use space to descend into a group, Tab to autocomplete, Enter to confirm. A breadcrumb at the top shows where you are.

TUI command palette open showing the full top-level command list with no filter applied

Commands (:)

: opens the command palette. Commands are grouped by domain.

App

CommandWhat it does
:helpOpen keyboard reference
:newStart a fresh session
:reloadReload the TUI
:docsOpen Axon documentation in browser
:logoutLog out
:exitQuit

Agent

CommandWhat it does
:agent new <name>Create a new agent
:agent selectSwitch to a different agent
:agent openOpen the agent folder in $EDITOR
:agent deployDeploy the active agent to Axon Cloud

Modules

CommandWhat it does
:module installInstall a module from the registry
:module removeRemove an installed module
:module upgradeUpgrade installed modules
:module listList modules on the active agent

Policy

CommandWhat it does
:policy showPrint the current capsule policy
:policy resetRestore the default policy
:policy openOpen policy config in $EDITOR
:policy fsFilesystem access rules
:policy network fetchNetwork fetch rules
:policy procProcess spawning rules

Keys

CommandWhat it does
:keys set openaiConnect an OpenAI API key
:keys set openrouterConnect an OpenRouter API key
:keys showShow configured keys (masked)
:keys clearRemove all saved keys

Session

CommandWhat it does
:session openOpen the active session file in $EDITOR
:clear sessionEnd the current session and start fresh
:clear sessionsDelete all session data for the active agent
:clear historyWipe input history
:clear dataWipe all local data and log out

Ollama

CommandWhat it does
:ollama psShow models loaded in VRAM
:ollama unload <model>Unload a model from VRAM
:ollama remove <model>Delete a model from disk
:ollama updateRe-pull all installed models to latest
:ollama stopStop the Ollama server

Settings and theme

CommandWhat it does
:settings openOpen settings in $EDITOR
:theme set <theme>Apply a colour theme
:theme resetReset to default theme
:header set <header>Switch header art
:header resetRestore built-in Axon logo

Scripts (!)

! lists every script in the active agent's src/scripts/. Select one to run it immediately. Output streams into the chat as it arrives.

TUI script palette showing available scripts from the active agent with descriptions

Scripts run non-blocking — the TUI returns to normal mode immediately and output appears as capsule stdout entries in the chat. You can send messages while a script runs.

Prompts (>)

> lists every prompt in the active agent's src/prompts/. Selecting one renders the prompt server-side and inserts the result into the input bar. You can edit it before sending.

TUI prompt palette showing available prompts from the active agent

Dynamic prompts (.vue) with typed props show a form for filling in arguments before rendering.

Sessions (@)

@ lists all sessions for the active agent. Sessions are scoped per agent — switching agents shows that agent's sessions only. Select one to resume it.

Theme (")

" opens the theme switcher. Themes apply live as you move through the list — no need to confirm before seeing the result. Escape reverts to the previous theme if you change your mind.

TUI theme palette open with the github-light theme active, showing live preview applied to the interface

Keyboard reference (?)

? opens the full keyboard reference — every mode key, every shortcut, in one view.

TUI keyboard reference showing all keybindings organised by category

Keyboard shortcuts

KeyAction
EscapeReturn to normal mode, abort a running stream, or deny a policy escalation
Escape EscapeClear the input (double-tap within 400ms)
Shift+EnterInsert a newline
(empty input)Open input history
TabAutocomplete or descend into a command group
↑ / ↓Move through palette items
EnterConfirm palette selection or send message

Policy escalations

When a tool call requires approval — because it matches an escalate rule in the agent's policy — the TUI automatically switches to escalation mode. The input bar shows and the palette presents the call details with allow and deny options.

TUI in escalation mode showing a pending capsule policy escalation with allow and deny options

Approving updates the policy for future calls of the same kind. Denying sends a rejection back to the agent. Escape always denies.