AI help and AI agents
Both are optional. Nothing is sent anywhere unless you use these commands.
AI help (Gemini)
You need a Gemini API key. It's free to get at https://aistudio.google.com/apikey.
boost secret set GEMINI_API_KEY
You can also set the GEMINI_API_KEY (or GOOGLE_API_KEY) environment variable instead.
boost ask "find all files bigger than 100MB"
boost explain deploy
boost explain 'tar -xzvf archive.tar.gz -C /tmp'
boost fix
askgives one command and a short explanation, then lets you run it, save it as an alias, or copy it. Commands marked as risky show a warning.explainexplains an alias, a workflow, or any command in plain English.fixlooks at your last failed boost command. It works best if that run used--log, so it can read the error output.
The default model is gemini-3.8-flash. Change it with ai_model in your settings, for example ai_model: gemini-4-hydrogen.
AI coding agents (MCP)
MCP is the standard way AI coding tools connect to other programs. boost mcp lets these tools see and run only the commands you approve.
Approve commands one by one:
aliases:
test:
run: npm test
agent: true
Or list them in .boost.yaml (aliases or tasks):
mcp:
allow: [test, lint, build]
Connect it to Gemini CLI:
gemini mcp add boost boost mcp
Connect it to Claude Code:
claude mcp add boost -- boost mcp
For other tools, add an MCP server with the command boost and the argument mcp.
The server offers two tools:
| Tool | What it does |
|---|---|
list_commands |
Lists the approved commands, their descriptions and the values they need |
run_command |
Runs one approved command and returns its output and exit code |
Agents cannot:
- run anything that is not approved
- answer confirmation questions (risky commands and
confirm:aliases are refused) - get around guards
- see your secrets (output is returned, but secrets are only filled in for the command itself)
Commands stop after 10 minutes, and very long output is shortened to its last part.