IDEs (ACP)
Waibee Code speaks the Agent Client Protocol and runs in any ACP client with the waibee acp command. The editor runs this command itself; you don’t need to run it by hand. To make the agent appear in the editor, add it to the editor’s ACP agent config. The first step differs between Zed and JetBrains, but the entry is the same (an agent_servers block). It’s best to set up your API key beforehand.
-
Run
agent: open settings→ Add Agent → Add Custom Agent (this opens~/.config/zed/settings.json). -
Add the entry:
~/.config/zed/settings.json {"agent_servers": {"Waibee Code": {"type": "custom","command": "waibee","args": ["acp"]}}} -
Open the agent panel and choose Waibee Code.
-
API key. Not set yet? Use the agent’s Reauthenticate option (the ⋮ menu): Zed opens a terminal where
waibee auth loginasks for the key. Or put the key in the entry as"env": { "WAIBEE_API_KEY": "sk_live_..." }.
JetBrains (AI Assistant 2026.1+)
Section titled “JetBrains (AI Assistant 2026.1+)”- Open the AI Chat window.
- Open the ⋮ menu (top right) → Add Custom Agent (this opens
~/.jetbrains/acp.json). - Add the same entry as for Zed. If the IDE can’t find
waibee, setcommandto the full path:~/.local/bin/waibee(macOS/Linux) or%LOCALAPPDATA%\Programs\waibee\waibee.exe(Windows). - Save. Waibee Code appears in AI Chat (if it doesn’t, restart the IDE).
- API key. JetBrains has no sign-in from the chat, so set the key beforehand: run
waibee auth login, or add"env": { "WAIBEE_API_KEY": "sk_live_..." }to the entry.
What goes through the editor
Section titled “What goes through the editor”- Mode, model, and reasoning effort. The agent exposes these session settings to the editor (effort only for models that support it), and the editor decides which of them to show. The modes are the same as for the
--modeflag, see Switching modes. The--modelflag inargs(["acp", "--model", "opus"]) sets the model for new sessions; a reopened session continues on its own model, and the editor’s model picker changes it. - Commands. Of the built-in commands,
/compact,/reload, and/helpwork in the editor, along with your own commands and skills. The other built-in commands are available only in the terminal. - Files and commands. If the editor supports it, the agent reads and writes files through the editor. When a sandbox is in effect,
Bashcommands run locally under its restrictions; otherwise they may run in the editor’s terminal. Permission checks apply as usual. - The editor’s MCP servers. Servers the editor passes to the agent (Zed passes its own) connect for as long as the ACP server runs and are available to its sessions alongside the servers from settings. Their tools run at the
executelevel, see Permissions.
Subagents in the IDE
Section titled “Subagents in the IDE”JetBrains AIR shows each subagent as a separate session: its turn, tool calls, and permission requests appear there, and the main agent keeps an Agent call card. Zed and other ACP clients show only that card, with the result. In those clients, a permission request from a subagent arrives in the main session, labeled with the subagent’s name. You can’t write to a subagent from the IDE: do that in its window in the terminal or in its panel in the browser.
Other clients
Section titled “Other clients”Any ACP client connects the same way: the command waibee with the argument acp. That covers Neovim, Obsidian, and others. VS Code has no built-in ACP support, but an ACP extension adds it.
The same protocol works without an editor: the acpx client gives the agent JSON output and sessions that persist between calls, which is handy for scripts and CI.