An AI coding agent that lives in your terminal
Auto-Memory, Auto-Skills, subagents and MCP — out of the box. Powered by the Broodle Studio API with your own bk_live_ key, and your token balance on screen the moment you connect.
Installs into ~/.broodle-cli and adds broodle-cli to your PATH. Re-run to update.
Agentic out of the box
Not a chat box with a shell bolted on. Memory that survives sessions, skills it writes itself, agents that fan out, and every edit reversible.
Auto-Memory
Remembers your stack, conventions and corrections across sessions. /remember, /forget and /dream keep it honest.
Auto-Skills
Turns a doc, repo, URL or video into a reusable skill with /learn, then invokes it by name when the task fits.
SubAgents & Agent Teams
Fan work out to parallel agents with /agents and /fork — reviews, migrations and sweeps that one context cannot hold.
MCP built in
Connect any MCP server — including the Broodle MCP — and the CLI gets your cPanel, VPS and DNS tools in the terminal.
Approval modes
plan → default → auto-edit → auto → yolo, cycled with Shift+Tab. Per-folder trust and permission rules keep edits scoped.
Checkpoints & rewind
/restore rolls files back to the checkpoint before any tool call; /rewind, /branch and /resume move through the conversation.
Headless & scriptable
broodle-cli -p "…" for CI, cron and pipes. Structured output, hooks and exit codes make it safe to automate.
IDE-friendly
Companion integrations for VS Code, Zed and JetBrains, plus a daemon mode that serves one shared agent over HTTP+SSE.
Every command, one search away
53 slash commands grouped the way you actually use them — the same list /help prints inside the CLI.
Start, save, fork and rewind the conversation.
/initAnalyse the current directory and write an initial context file
/resume/resume · /continueResume a previous session
/branchFork the current conversation into a new session
/fork/fork write the migrationSpawn a background agent that inherits the full conversation
/rewind/rewind · /rollbackRewind the conversation to an earlier turn
/restore/restore <id>Revert project files to the checkpoint before a tool call ran
/compress/compress-fast for a no-AI stripReplace chat history with a summary to save tokens
/summary/summary docs/summary.mdGenerate a project summary from the conversation
/export/export md · html · json · jsonlExport session history to a file
/rename/rename Payments refactorRename or tag the current session
/clear/clear · /reset · /newClear history and free the context window
Four characters do most of the work
Files, shell, commands and scripting — each one prefix away, with completion the moment you type it.
Pull files into context
Reference any file or folder and the CLI reads it in before answering. Completion opens as soon as you type @.
@src/server.ts explain the retry logicRun a shell command
Prefix with ! to execute directly in your shell, or press ! on an empty prompt to stay in shell mode.
!npm test -- --watch=falseCustom commands
Drop a Markdown file in ~/.broodle/commands/ and it becomes a slash command — with {{args}}, !{shell} and @{file} injection.
~/.broodle/commands/refactor.md → /refactorShell subcommands
Run the CLI non-interactively from your shell for scripting, CI and session management.
broodle-cli sessions list --json --limit 50Shortcuts worth learning
Press ? on an empty prompt for the full sheet.
- Shift+Tab
- Cycle approval modes: plan → default → auto-edit → auto → yolo
- Esc
- Cancel the running request; press twice when idle to open the rewind selector
- Ctrl+C
- Cancel and clear the input; twice to exit
- Ctrl+O
- Expand or collapse all thinking blocks and tool output
- Ctrl+Q
- Queue a prompt for the next turn instead of steering this one
- Ctrl+L
- Clear the screen
- ?
- Show the shortcut sheet when the input is empty
- Ctrl+Enter
- Insert a newline instead of submitting
- Ctrl+T
- Toggle tool descriptions in the transcript
- Alt+M
- Switch Markdown between rendered and raw source
- Ctrl+S
- Stash the current input for the next launch; with an empty prompt, print long output in full
- Tab
- Accept the current completion
The AI engines behind it
Six Broodle tiers on one key, switchable mid-session — and underneath, a separate engine for each job the agent does. The free tier is never charged, so you can leave it on and escalate only when the task earns it.
Model tiers
broodle-freeFreeQuick questions and light edits. Never charged.
broodle-flash-v2Flash V2More capacity, still cheap — 0.1× the Pro rate.
broodle-proProHigh-capacity model for complex reasoning and coding.
broodle-pro-v2Pro V2Advanced coding model for long, hard changes.
broodle-ultraUltraMaximum power for the hardest tasks.
Billed from your Broodle Studio token balance — top up in the console.
One engine per role
- /model Main engine
- The model that plans, reasons and writes the code.
- /model --fast Suggestions
- A lighter engine for prompt suggestions, so hints stay cheap.
- /model --vision Vision bridge
- Transcribes images for a text-only main engine — screenshots still work.
- /model --voice Transcription
- Turns voice dictation into prompts for hands-free input.
- /model --compaction Compression
- Summarises history when the context fills, without spending the main engine.
- /model --image Image generation
- An image-only engine behind the built-in generation tool.
- /effort Reasoning depth
- low → medium → high → xhigh → max, mapped and clamped per provider.
Reasoning effort you control
/effort moves the engine between low, medium, high, xhigh and max — mapped and clamped per provider, so the same setting means something sane everywhere.
A different engine per job
Suggestions, image transcription, voice, compression and image generation each take their own model, so the expensive engine is only spent on the hard part.
Caching built into the loop
System instructions and conversation history are cached automatically on API-key auth, so repeated turns re-send far fewer tokens than they otherwise would.
Work that keeps going without you
The agent does not stop at the prompt. Hook into its lifecycle, put prompts on a schedule, drive it from a chat app, fan work out to background agents, or let it run your desktop — all under the same approval rules.
Lifecycle hooks
Run your own scripts at fixed points in the agent loop — before and after any tool call, at session start and end. Gate risky commands, log everything, or fix up files automatically.
PreToolUse · PostToolUse · session start/endScheduled prompts
/loop turns any prompt into a cron job that fires in the background while you keep working — poll a deploy, babysit a PR, or check a long build. It runs once immediately, so you never wait for the first tick.
/loop 5m check if the deploy finishedChat channels
Drive the same agent from Telegram, WeChat, QQ, DingTalk, WeCom or Feishu — or let it watch GitHub and GitLab and answer @mentions on issues and pull requests. Channel loops persist and push results back to the chat.
broodle-cli channel startSubagents & forks
Delegate focused work to agents with their own context and tool allowlist. A fork inherits the whole conversation and runs detached in the background, reporting back when it finishes.
/agents create · /fork <directive>Computer use
Built-in desktop control — click, type, scroll, launch apps, read windows and take screenshots. Actions still go through the approval flow, so nothing moves without your say-so.
computer_use__* · disable in settings.jsonCI-grade headless
Run non-interactively and constrain the answer to a JSON Schema you supply — the model must call a synthetic tool, and the validated payload lands on stdout. Safe to pipe into other jobs.
broodle-cli -p "…" --json-schema '{…}'Worktree isolation
Send wide-ranging edits into a temporary git worktree instead of your checkout, so an experiment never contaminates the branch you are on.
--worktree · per-subagent sandboxesAgent Arena
Put several models on the same task at once, each in its own isolated worktree, then compare the results side by side and merge the winner. Experimental, and genuinely useful for hard problems.
/arena start · /arena selectGoal mode: name the outcome, not the steps
Most agents stop at the end of a turn. Give the CLI a Goal and it keeps working toward it across turns — re-planning, running tools and checking itself until the objective is met or you pause it. The Goal is stored with the session, so it survives the process: start it in your terminal, inspect it later from a script.
- Pause and resume without spending a model call
- State persists with the session — pick it up from a later process
- Wall-time and tool-call budgets pause the work before it overruns
- /goal <objective>
- Set the objective and start work toward it
- /goal
- Report the stored state without spending a model call
- /goal edit <objective>
- Revise the objective; work resumes immediately
- /goal pause
- Pause an active Goal, no model call
- /goal resume
- Resume an eligible Goal and continue working
- /goal clear
- Drop the Goal entirely
Running in under a minute
One command pulls a prebuilt bundle straight from broodle.host and puts broodle-cli on your PATH. No git, no npm install, no compile step, no sudo.
Install
macOS and Linux:
Windows PowerShell:
Launch
From any project directory:
Connect
Run /auth and paste your key — or set it in the environment first:
Before you start
- Node.js 22 or later
- curl or PowerShell
- about 120MB of disk
- A Broodle Studio API key
Update & uninstall
Re-run the install command — it reads the manifest and exits untouched if you already have that build. To remove it:
Settings, skills and memory in ~/.broodle are left untouched. Pin a build with --version, or relocate it with --dir / --bin.
Where things live
- ~/.broodle/settings.json
- — global settings
- ~/.broodle/commands/
- — custom slash commands
- ~/.broodle/skills/
- — agent skills
- ~/.broodle/memory.md
- — persistent memory
- ~/.broodle-cli/
- — the install itself
Prefer to inspect first? Read the script at /broodle-cli or /broodle-cli.ps1 before piping it anywhere.
Questions, answered
One line, and it’s in your terminal
Install it, run /auth, and start on the free tier — no card, no separate subscription. Your Broodle token balance covers everything above it.