Kolbo.AIKolbo.AI Docs
Kolbo Code

Commands

Reference for every top-level Kolbo Code CLI command

Kolbo Code exposes a handful of top-level subcommands. Running kolbo with no arguments launches the interactive TUI in the current directory.

Launching the TUI

kolbo               # open TUI in the current directory
kolbo <path>        # open TUI with a different working directory

Authentication

kolbo auth login    # device-code OAuth login
kolbo auth list     # show the active Kolbo account
kolbo auth logout   # remove stored credentials

See Authentication for the full flow.

Headless run

Run a one-shot prompt without entering the TUI:

kolbo run "explain the architecture of this repo"

Useful for scripting and CI usage.

Serve

Start Kolbo Code as an HTTP server so you can drive it from another client (the web UI, the VS Code extension, etc.):

kolbo serve

Models & providers

kolbo models        # list available chat / coding models
kolbo providers     # show configured inference providers

All models are served through api.kolbo.ai — you do not need to set any provider keys locally.

Sessions

kolbo session list  # list past sessions stored locally
kolbo session ...   # additional session management

Upgrade

kolbo upgrade       # self-upgrade to the latest published version

Uninstall

kolbo uninstall

See Uninstall for all options (keep config, keep data, dry run, force).

Miscellaneous

CommandPurpose
kolbo mcpManage MCP servers
kolbo githubGitHub integration helpers
kolbo prOpen a pull request from the current branch
kolbo exportExport a session transcript
kolbo statsShow local usage stats
kolbo accountInspect / manage the linked Kolbo account
kolbo agentManage custom agents

Run kolbo <command> --help for the full option list of any subcommand.


TUI Slash Commands

Inside the interactive TUI, type / followed by a command name to run it.

/rewind

Open the rewind panel to restore code and/or conversation to any earlier point in the session. Shows a timeline of all past messages with their code changes.

Trigger: double-tap Esc on an empty prompt, or type /rewind.

When you select a message, you get five restore options:

  1. Restore code and conversation — revert both files and chat history
  2. Restore conversation — only rewind the chat, keep current code
  3. Restore code — only revert file changes, keep the conversation
  4. Summarize from here — compact the session from that point
  5. Never mind — cancel

Rewinding does not affect files edited manually or via bash — only changes made through the agent's edit tools are tracked.

Requires a Git repository (file changes are tracked with Git snapshots).

/undo

Undo the last message and all associated file changes. Equivalent to stepping back one turn. Use /redo to restore.

Keybind: Ctrl+X U

/redo

Redo a previously undone message. Only available after /undo.

Keybind: Ctrl+X R

/compact

Summarize the conversation so far using AI compaction to free up context while preserving key information.

Keybind: Ctrl+X C

Other TUI commands

CommandPurpose
/modelsSwitch between available AI models
/themesSwitch between built-in themes
/sessionsList and switch between sessions
/shareShare current session as a public link
/editorCompose messages in your external editor
/initAuto-generate project rules based on your codebase
/clearStart a fresh conversation session
/helpShow available commands