Slash commands

Every command is a single line starting with /. Type /help in any pane to dump this list inline. Commands target the focused pane's agent unless they take an explicit <agent> argument.

Plain text (no leading /) is treated as a message to the focused pane's current agent.

Conversation

CommandEffect
<text>Send <text> to the focused pane's current agent.
/send <agent> <msg>Send <msg> to a specific agent (regardless of which pane is focused). The reply renders in the focused pane.
/ask <query>Shorthand for /send index <query> — the built-in master agent.
/use <agent>Switch the focused pane's current agent. Subsequent plain-text input goes to this agent.

Agents

CommandEffect
/agentsList loaded agents (id, model, color, role line).
/statusSystem status: focused pane, in-flight turn, queue depth, loops.
/tokensFull token + cost breakdown: per-agent and total since process start.
/create <id>Create an agent with default config; opens ~/.arbiter/agents/<id>.json for edit.
/remove <id>Remove an agent (deletes the JSON; history in memory is dropped).
/reset [id]Clear an agent's conversation history and compaction state. Default target is the focused pane's agent.
/compact [id]Force context compaction: summarize older turns, keep a recent window for the next model request. Full history stays on disk.
/model <agent> <model-id>Change an agent's model at runtime without editing the JSON.

Panes

Each pane is an independent conversation view. See Panes for the full layout model.

Command / chordEffect
/pane <agent> <msg>Spawn a child pane running <agent> with <msg> as its first input. The result flows back to the spawner pane as a [PANE RESULT] message when the child completes.
Ctrl-w vSplit the focused pane vertically (children side-by-side).
Ctrl-w hSplit the focused pane horizontally (children stacked).
Ctrl-w sToggle the session sidebar (wide terminals).
Ctrl-w w / Ctrl-w Ctrl-wCycle focus to the next pane (pre-order traversal).
Ctrl-w cClose the focused pane. The pane's exec thread is joined cleanly; in-flight turn is cancelled.
Ctrl-w tToggle the conversation-history sidebar (left rail).
Ctrl-w bEnter the sidebar to pick a prior conversation or start a new one.

Background loops

A loop runs an agent repeatedly with its own buffered output, decoupled from any pane. See Streaming and turn lifecycle for how loop output reaches the foreground.

CommandEffect
/loop <agent> <prompt>Start a background loop. Returns a loop id immediately.
/loopsTable of running / suspended loops with their last activity.
/log <loop-id> [last-N]Print the buffered output from a loop. Default: last 50 lines.
/watch <loop-id>Tail a loop's output live in the focused pane. Press Enter to detach.
/kill <loop-id>Stop a loop; its exec thread is joined.
/suspend <loop-id>Pause a loop after its current iteration finishes.
/resume <loop-id>Resume a suspended loop.
/inject <loop-id> <msg>Insert <msg> into a running loop's input as the next iteration's prompt.

Fetch + memory

CommandEffect
/fetch <url>TUI shortcut: fetch the URL, strip to readable text, and send the result to the focused agent as context.
`/mem write\read\show\clear`Per-agent scratchpad in tenants.db (same store the API uses).
`/mem shared write\read\clear`Tenant-wide shared scratchpad.
`/mem search\entries\entry\expand\density\add entry\add link\invalidate`Structured memory graph — FTS-ranked search, typed entries, relations. Block form: /mem add entry … then body then /endmem. See Structured memory.

Tools (API parity)

These commands use the same dispatch path as agent tool calls during /v1/orchestrate turns. Type /help <topic> (e.g. /help search) for detailed syntax.

CommandEffect
/search <query> [top=N]Web search via Brave (BRAVE_SEARCH_API_KEY or ARBITER_SEARCH_API_KEY).
/browse <url>Fetch and extract readable text (tool form; does not auto-send to agent).
`/todo list\add\start\done\…`Conversation-scoped task list (~/.arbiter/tenants.db).
`/schedule list\<phrase>: <msg>`Create or list scheduled tasks; background scheduler fires them while the TUI runs.
`/schedule cancel\pause\resume <id>`Manage scheduled tasks.
/exec <cmd>Host shell (confirm gate; on by default in the TUI). Disable with --no-exec. Not Docker-sandboxed — see Phase 2 roadmap.
/diff \review [N]Interactive review of pending patches: [a]pply / [r]eject / [A]llow all (session accept-edits) / Esc cancel. Streamed ``diff fences auto-enqueue review cards. Bare /diff walks remaining pending/failed proposals; N reviews one. Apply writes under the process cwd and **creates missing files**; apply is the permission grant (no /write` confirm).
/diff list \apply \reject \undo [N]List proposals, or non-interactively apply/reject/undo. Patches register as Patch #N when the agent emits a fence (also on transcript replay). Apply uses exact hunk-header matching and preserves the file’s final-newline convention; omit N to target the latest pending (apply/reject) or applied (undo) proposal. Undo refuses if the file changed after apply.
/write <path>Write via the shared tool path (/write --persist stores in the conversation artifact store).
/read <path> \/listRead or list conversation artifacts.
`/mcp tools\call`MCP servers from ~/.arbiter/mcp_servers.json.
`/a2a list\call`Remote A2A agents from ~/.arbiter/a2a_agents.json.
`/lesson list\add`Agent-scoped lessons persisted in tenants.db.
/agent <id> <msg>Delegate to another agent (same as when an agent emits /agent during a turn).

Plans

CommandEffect
/plan execute <path>Execute a planner-produced plan file (sequence of /cmd lines). Each step's output streams into the focused pane.

Session

CommandEffect
/themeBrowse themes with ↑↓ live preview; Enter selects, Esc cancels. /theme list, /theme <name>, /theme save <name>, /theme file <path> also supported. See TUI theme JSON.
`/verbose [on\off]`Toggle raw /cmd line streaming. Off (default): tool-call lines are swallowed and replaced by the spinner on the mid-separator. On: every /fetch, /exec, /agent, /mem line lands in the scroll region as the agent emits it.
`/chat list\new\switch\title\search\delete\purge\folder …`Manage global conversations from the REPL (sidebar is the visual twin). `/chat folder list\new\rename\delete\move` for folders on narrow terminals.
/find <text> \next \prevSearch the focused pane's scrollback.
/helpPrint this command reference.
/help <topic>Detailed reference for one slash command (same text agents see).
/quit / /exit / /qDrain autosave, save open conversations, and exit.

Notes on argument parsing

  • Commands are line-oriented: a slash command and its arguments are everything between the leading / and the next newline.
  • There's no quoting layer above whitespace splitting. /send research analyze the q3 report works; /send research "analyze the report" would pass the literal quotes through to the agent.
  • Tab completion is enabled for the leading slash command word and common subcommands.
  • Unknown commands print Unknown command. /help for list. and don't consume the line as a message — type it again without the slash if you meant it as input.