Skip to content
docs

Quickstart

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:

Terminal window
waibee auth login

The 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:

Terminal window
export WAIBEE_API_KEY="sk_live_..."

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.

Terminal window
cd my-project
waibee

If 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.

These are all commands inside the TUI. /help lists every command, and typing / opens the command menu.

CommandWhat it’s for
/guideA tour of the interface. Come back to it whenever you forget something
/modelChoose a model; see Choosing a model
/effortReasoning level, from none to max. The available levels depend on the model; see Choosing a model
/sandboxLimit where the agent’s commands can write; see Permissions
/settingsThe 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
/statusSession 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+V on 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.
  • /compact requests 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.

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:

Terminal window
/web

Open 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.

A one-off run with a prompt and no interface:

Terminal window
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.

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.