Complete reference for the xbot CLI terminal interface.
| Shortcut | Action |
|---|
Ctrl+K | Open command palette (fuzzy search all commands) |
Ctrl+C | Cancel current generation / interrupt |
Ctrl+N | Cycle through available models |
Ctrl+P | Switch LLM subscription |
Ctrl+L | Switch model (per-session, persists) |
Ctrl+T | Toggle SubAgent progress panel |
| Shortcut | Action |
|---|
Enter | Send message |
Shift+Enter | New line |
↑ / ↓ | Navigate input history |
Tab | Autocomplete |
| Shortcut | Action |
|---|
/ | Start typing a slash command |
Esc | Close palette / cancel action |
| Mouse click | Click sidebar to switch sessions, scroll messages, click settings |
Type / in the input box to see all commands. Here’s the complete list:
| Command | Description |
|---|
/setup | Open the Setup wizard (LLM, sandbox, theme) |
/settings | Open settings panels (appearance, sessions, LLM, etc.) |
/config | View/edit config (alias for settings) |
/context | Show current token usage and context bar |
/usage | Show token usage details |
| Command | Description |
|---|
/new | Start a new session |
/sessions | List and switch sessions |
/su | Switch session (quick) |
/chat | Chat management |
/ss | Session status |
/rewind | Rewind to a previous message in the conversation |
| Command | Description |
|---|
/clear | Clear the conversation history |
/compress | Manually compress the context |
/cancel | Cancel the current generation |
/search | Search message history |
| Command | Description |
|---|
/help | Show all available commands |
/commands | List all commands |
/version | Show version information |
/update | Check for and install updates |
/debug | Toggle debug mode |
/tasks | View background tasks |
/channel | Open channel configuration panel |
/plugin | Manage plugins |
/palette | Open command palette |
/user | User management |
| Command | Description |
|---|
/exit | Exit xbot-cli |
/quit | Quit xbot-cli (alias) |
The TUI supports full mouse interaction:
- Sidebar: click any session to switch, scroll to see all sessions
- Messages: scroll to navigate conversation history
- Settings: click settings items, use dropdowns, toggle switches
- Palette: click results to select
- Progress panel: click to expand/collapse sub-agent details
Switch themes via Ctrl+K → Theme or /palette theme. xbot includes 9 built-in
themes and supports custom themes (JSON files in ~/.xbot/themes/).
Tip
The agent can change themes for you — just ask “switch to dark theme” and it
uses the tui_control tool.
xbot uses three model tiers for different complexity levels. Configure via
/settings:
| Tier | Use case |
|---|
| Vanguard | Strongest reasoning — complex tasks, architecture decisions |
| Balance | Balanced — general-purpose work |
| Swift | Fast/small — quick lookups, simple operations |
SubAgents automatically select the appropriate tier. Unconfigured tiers fall
back: vanguard → balance → swift.