Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Bruno CLI

$ bru Official Med Risk
Bruno (usebruno) · Browser & Web · MIT · macos / linux / windows

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

FCRS-1.0 Score
86 /100
Good
Medium Confidence
Zero-Friction Install
brew install bruno-cli
CLI vs MCP Decision CLI Only

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

✓ JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

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
Trust & Safety 20 / 25

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 .bru files
Setup & Portability 13 / 15

Installed via @usebruno/cli on npm/npx or brew install bruno-cli.

  • Distributed via npm (@usebruno/cli) and Homebrew
Utility & Efficiency 14 / 15

Plain-text .bru files are drastically easier for LLMs to author and review than Postman JSON exports.

  • Git-friendly .bru DSL with --reporter-skip-body
Maintenance & Lineage 9 / 10

Official usebruno/bruno CLI under MIT license with fast community growth.

  • Official usebruno/bruno repository
Docs & Verifiability 8 / 10

Good official CLI docs at docs.usebruno.com.

  • Official CLI reference at docs.usebruno.com/bru-cli/overview

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key Config File
Credential Storage

Reads local environments/*.bru or .env files and --env-var flags; zero cloud credential sync.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

Free, MIT open-source Node.js CLI.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Run a Bruno folder with compact JSON reporting
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

Run API tests with a runtime environment override
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-body keeps JSON test reports compact and token-friendly.
  • + Plain-text .bru files 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.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI