Quickstart
1. API key
Section titled “1. API key”Create an API key in the console: chat.waibee.com/api-keys. You don’t have to save it in advance: the first time you run waibee without a key, it asks you to paste one.
To save the key from the shell:
waibee auth loginThe command stores the key in the system keychain. If the keychain is unavailable, it uses a file on disk.
You can also pass the key in an environment variable. It takes precedence over the saved key:
export WAIBEE_API_KEY="sk_live_..."2. Interactive mode
Section titled “2. Interactive mode”Run waibee with no arguments in your project directory. The TUI opens: describe the task in plain language, and the agent reads files, proposes edits, and runs commands.
cd my-projectwaibeeIf no key is saved yet, the TUI asks for one first and then shows a short tour of the interface. Open the tour again at any time with /guide.
If the project has its own hooks, MCP servers, or plugins, the first run in that folder asks whether you trust it. Until you agree, they don’t run; see Folder trust.
3. What to set up first
Section titled “3. What to set up first”These are all commands inside the TUI. /help lists every command, and typing / opens the command menu.
| Command | What it’s for |
|---|---|
/guide | A tour of the interface. Come back to it whenever you forget something |
/model | Choose a model; see Choosing a model |
/effort | Reasoning level, from none to max. The available levels depend on the model; see Choosing a model |
/sandbox | Limit where the agent’s commands can write; see Permissions |
/settings | The main settings: model, interface language, permission mode, sandbox, domain filter, limits, interface appearance, audit log, and storage cleanup. Set the other keys in settings.json; see the Settings reference. The language comes from LC_ALL, or from LANG if LC_ALL is not set: a value starting with ru turns on Russian, anything else gives English |
/status | Session state: model, context window, and tokens used |
These keys and commands help from the start:
- Shift+Tab cycles through the four approval modes. The bottom bar shows the current mode; for details, see Permissions.
@opens a list of project files and inserts a path into your prompt; the agent reads the contents itself.Ctrl+V(Cmd+Von macOS) attaches an image from the clipboard or from a copied file path.- ↑ scrolls through your earlier messages. If a message is still waiting in the queue, ↑ brings it back into the input field to edit.
- Esc first closes a dialog or the suggestion list, or clears the selection. If none of those is open, it interrupts the current turn.
/compactrequests compaction of the conversation; a short history stays as it is. See Context window.
All terminal keys are listed under Keys.
Later, as you need them: /goal makes the agent keep working until a condition is met, and /sessions and /resume take you back to earlier conversations. The full reference is in Commands.
4. The same in the browser
Section titled “4. The same in the browser”Waibee Code has a local web interface: the agent runs on your computer, and you talk to it in the browser. To continue your current chats there, type /web in the open TUI:
/webOpen the link it prints. In the browser you can review the diff, send the agent comments on specific lines, and work with several sessions. The Open on your phone button shows a QR code for your phone.
For a standalone server, run waibee serve from the shell. It does not connect to the chats of a TUI that is already running. More in Local web interface.
5. Headless mode
Section titled “5. Headless mode”A one-off run with a prompt and no interface:
waibee run "add tests for the auth module"A run like this asks no questions. The mode comes from your settings, and without a setting it is trust; see Permissions in headless mode. --mode default rejects actions that need approval, but explicitly allowed actions, including writes, still go through.
The result goes to stdout, so you can call the agent from scripts, git hooks, CI, and other programs. Output formats, exit codes, and ready-made recipes are in Headless mode and automation.
6. IDEs and terminal clients
Section titled “6. IDEs and terminal clients”Waibee Code connects to editors over the Agent Client Protocol (Zed, JetBrains, and others); see IDEs (ACP). The same protocol works from the command line through acpx, with sessions that persist between calls and JSON output for scripts; see ACP in the terminal.