██████╗ ██████╗ ███████╗██╗  ██╗
██╔══██╗██╔══██╗██╔════╝╚██╗██╔╝
██████╔╝██████╔╝█████╗   ╚███╔╝
██╔══██╗██╔══██╗██╔══╝   ██╔██╗
██████╔╝██║  ██║███████╗██╔╝ ██╗
╚═════╝ ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝

in your terminal.

brew install brex/brex/brex
zsh
$

Built for real workflows.

cards · transactions · accounts · users · expenses
01
Cards, on demand.
brex cards create --name "Stripe Atlas" --type VIRTUAL --limit 50000
✓ Card created: Stripe Atlas ID ncard_cmndy74stas8h… Type ⬡ VIRTUAL Status ● ACTIVE Limit $500.00 / monthly Last4 ••••7823
02
Pipe it anywhere.
brex cards list --json \ | jq '.[] | select( .status == "ACTIVE")'
{ "card_name": "AWS Infrastructure", "last_four": "8812", "card_type": "VIRTUAL", "status": "ACTIVE", "limit": 2000000 }
03
Let Claude do it.
you › "finish my expenses using inbox and calendar"
claude › on it. ├─ brex expenses list --json ├─ gmail.search "receipt" └─ calendar.events this_week ✓ 4 expenses matched ✓ $847.20 submitted ! 1 receipt needed

For humans. For agents.

$ brex [cmd] ├── default ── color tables, badges, readable └── --json ──── { } structured data for scripts + agents
zsh
Human-readable
$ brex cards list
  ⬡  Cards

  ──────────┼──────────────────────┼────────────┼──────────
   Last4     │  Name                  │  Type        │  Status
  ──────────┼──────────────────────┼────────────┼──────────
   ••••8812AWS Infrastructure⬡ VIRTUAL● ACTIVE
   ••••7099T-Mobile⬡ VIRTUAL● ACTIVE
   ••••1703AWS⬡ VIRTUALTERMINATED
   ••••8006Artificial Intel…⬡ VIRTUAL● ACTIVE
  ──────────┼──────────────────────┼────────────┼──────────
  4 result(s)
Agent / JSON
$ brex cards list --json
[
  {
    "card_name": "AWS Infrastructure",
    "type":      "VIRTUAL",
    "status":    "ACTIVE",
    "last_four": "8812"
  },
  {
    "card_name": "T-Mobile",
    "type":      "VIRTUAL",
    "status":    "ACTIVE",
    "last_four": "7099"
  }
]

Up in 30 seconds.

One binary.
No dependencies.

Homebrewbrew tap brex/brex && brew install brex
curlcurl -fsSL https://brex.sh/install | bash
Gogo install github.com/brex/brex-cli@latest