CLI reference
The warp-agent binary runs side by side with Daniel's warp CLI. It quotes, books, and tracks freight from your terminal or CI pipeline.
Install
npm install -g @wearewarp/cli-agentAuthentication
Set WARP_API_KEY as an environment variable, or pass it with --key.
export WARP_API_KEY="wk_YOUR_KEY"
# Or pass it per command:
warp-agent --key wk_YOUR_KEY van quote 90001 10001 --pallets 2 --weight 800 --date 2026-04-14Commands
| Command | Description | Example |
|---|---|---|
| warp-agent van quote <origin> <dest> | Quote a cargo van (5 fields) | warp-agent van quote 90001 10001 --pallets 2 --weight 800 --date 2026-04-14 |
| warp-agent box-truck quote <origin> <dest> | Quote a box truck (5 fields) | warp-agent box-truck quote 90001 10001 --pallets 6 --weight 800 --date 2026-04-14 |
| warp-agent ftl quote <origin> <dest> | Quote FTL (3 fields) | warp-agent ftl quote 90001 10001 --date 2026-04-14 |
| warp-agent ltl quote <origin> <dest> | Quote LTL (7 fields, class optional) | warp-agent ltl quote 90001 10001 --pallets 2 --weight 600 --commodity "auto parts" --dims 48x40x48 --date 2026-04-14 |
| warp-agent book <quote_id> | Book a quoted shipment | warp-agent book wq_a3f8c1 |
| warp-agent track <booking_id> | Track a booked shipment | warp-agent track bk_7d2e91 |
| warp-agent cancel <booking_id> | Cancel before pickup | warp-agent cancel bk_7d2e91 |
| warp-agent lanes | List your active lanes | warp-agent lanes |
| warp-agent bookings | List recent bookings | warp-agent bookings --limit 10 |
| warp-agent status | Check API health and key | warp-agent status |
Output format
All commands output JSON by default. Use --format table for human readable output, or pipe JSON to jq for scripting.
warp-agent van quote 90001 10001 --pallets 2 --weight 800 --date 2026-04-14 | jq '.price_usd'