Bruno CLI
$ bru Official Med RiskBruno CLI (bru) executes plain-text .bru API collections stored directly in Git repositories. Agents can pass --reporter-json and --reporter-skip-body to run API checks offline-first without Postman cloud syncing.
brew install bruno-cli Plain-text .bru files live directly in the repo so coding agents can read, edit, and run bru run natively without MCP.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --reporter-json, --reporter-skip-body, --bail, and plain-text .bru files that agents can diff and edit cleanly.
- Supports
--reporter-json,--reporter-skip-body, and--bail
Offline-first with no cloud sync; .bru test blocks execute Node JS assertions and HTTP calls defined in the collection.
- Zero cloud dependency; runs local
.brufiles
Installed via @usebruno/cli on npm/npx or brew install bruno-cli.
- Distributed via npm (
@usebruno/cli) and Homebrew
Plain-text .bru files are drastically easier for LLMs to author and review than Postman JSON exports.
- Git-friendly
.bruDSL with--reporter-skip-body
Official usebruno/bruno CLI under MIT license with fast community growth.
- Official
usebruno/brunorepository
Good official CLI docs at docs.usebruno.com.
- Official CLI reference at docs.usebruno.com/bru-cli/overview
Security, Auth & Guardrails
Reads local environments/*.bru or .env files and --env-var flags; zero cloud credential sync.
Free, MIT open-source Node.js CLI.
# Bruno CLI Agent Rules - Run `bru run` from inside the collection root containing `bruno.json`, and prefer `--reporter-skip-body` to keep JSON reports compact. - Keep secrets in `.env` or `--env-var`, never committed inside `.bru` files.
Agent-Ready Command Recipes
Safe Read-Only Queries
bru run health --env local --reporter-json report.json --reporter-skip-body
Executes requests in health/ and writes a token-lean JSON report omitting large response bodies (--reporter-skip-body).
Controlled Writes & Previews
bru run --env staging --env-var apiKey="$API_KEY" --reporter-json results.json --bail
Injects --env-var secrets transiently, stops on first failure (--bail), and writes results.json.
Strengths for Agents
- +
--reporter-skip-bodykeeps JSON test reports compact and token-friendly. - + Plain-text
.brufiles live in Git and avoid Postman's cloud-synced JSON blobs.
Caveats & Pitfalls
- ! Must be invoked from a directory containing
bruno.json(or target path inside it). - ! Node.js runtime startup is heavier than native Rust tools like
hurl.