Quickstart
From nothing to a running agent in about five minutes.
1. Install
npm install -g botbanditSee Installation for platforms and where BotBandit keeps its files.
2. Run it
bobaWith 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:
| Choice | What it needs |
|---|---|
| ChatGPT subscription | An OAuth login — no API key (gpt-6.1-sol, gpt-6-astra, …) |
| OpenAI API | OPENAI_API_KEY |
| OpenRouter | OPENROUTER_API_KEY |
| Alibaba Model Studio | ALIBABA_API_KEY (Qwen, GLM, Kimi) |
| Ollama | A 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.
Escinterrupts a running turn.- Tool calls that need your sign-off appear inline — approve or deny without leaving the transcript.
/exitleaves; on a running turn it interrupts first.Ctrl+Cdoes 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.