Skip to Content

Quickstart

From nothing to a running agent in about five minutes.

1. Install

npm install -g botbandit

See Installation for platforms and where BotBandit keeps its files.

2. Run it

boba

With no config on disk, the first run opens a setup wizard in three steps.

Pick the model. The wizard looks for agent CLIs already installed on your PATH — claude (Claude Code) and codex — and offers to build a starter config around them, so if you already have one you need no API key at all.

No agent CLI, or you’d rather use something else? Pick Other provider… and the wizard walks you through:

ChoiceWhat it needs
ChatGPT subscriptionAn OAuth login — no API key (gpt-6.1-sol, gpt-6-astra, …)
OpenAI APIOPENAI_API_KEY
OpenRouterOPENROUTER_API_KEY
Alibaba Model StudioALIBABA_API_KEY (Qwen, GLM, Kimi)
OllamaA running server — the wizard probes it and lists your local models

Pick how BotBandit runs. Background service (recommended) hands your sessions to a local daemon, so they outlive the terminal and the web UI can attach. In-process runs them inside the CLI; they end when you quit.

Connect a web UI — or don’t. As a background service, the wizard offers to Skip, to Run it on this machine (macOS 14+ on Apple silicon, and Linux with glibc 2.35+), or to Connect to a web app you already run. See Self-host. Skipping is fine; you can add it later.

The wizard writes ~/.botbandit/botbandit.config.yaml and drops you into your first session. It never overwrites an existing config.

To re-run it later, move the config aside and run boba init.

3. Drive the agent

You’re now in the TUI, a complete agent client on its own.

  • Type a prompt and press Enter.
  • Esc interrupts a running turn.
  • Tool calls that need your sign-off appear inline — approve or deny without leaving the transcript.
  • /exit leaves; on a running turn it interrupts first. Ctrl+C does the same, and pressed twice it force-quits.
  • /detach (background service only) closes the TUI and leaves the turn running in the daemon.

As a background service, your sessions belong to the daemon, not to the terminal window: reattach with boba resume.

4. One-shot prompts

For scripting and pipelines, skip the TUI:

boba run "Summarize what this repo does."

A run session is disposable: it is stored but kept out of listings, and pruned after a week. Add --keep to keep it as a normal session.

Next steps

  • Self-host the web UI — the next step up: every session on every machine in one place, and your crew in your pocket.
  • Concepts — sessions, profiles, the crew, approvals.
  • Operate — running BotBandit day to day.
Last updated on