Getting Started
Installation
Run directly without installing:
npx laurel-proxyOr install globally:
npm install -g laurel-proxy
laurel-proxyQuick Start
The fastest way to capture traffic:
# One command: starts proxy, enables system proxy, opens interactive TUI
laurel-proxy requests --tail
# Filter for a specific host
laurel-proxy requests --host api.example.com --tailThis auto-starts the proxy, routes macOS system traffic through it, and opens a live terminal UI. Press Ctrl+C to quit. The system proxy is automatically disabled.
Manual Setup
# Start the proxy (default: proxy on :8080, web UI on :8081)
laurel-proxy start
# Route traffic through it
curl -x http://127.0.0.1:8080 http://httpbin.org/get
# View captured traffic
laurel-proxy requests
# Open the web UI
open http://127.0.0.1:8081
# Stop
laurel-proxy stopHTTPS Interception
To capture HTTPS traffic, trust the CA certificate first:
laurel-proxy start
laurel-proxy trust-ca
curl -x http://127.0.0.1:8080 https://api.example.com/endpointAI-Assisted Debugging
Install the AI agent plugin to let your AI agent query captured traffic:
/plugin marketplace add rvanbaalen/laurelproxyOnce installed, just tell your AI agent what you need:"The Stripe webhook is failing. Debug it."Your agent will query Laurel Proxy, find the failing request, and fix your code.
Platform Support
Laurel Proxy works on macOS and Linux. Some features are macOS-only:
- System proxy (
proxy-on/proxy-off) uses macOSnetworksetup - CA trust (
trust-ca) uses macOS Keychain. Linux support exists but is less tested
Next Steps
- CLI Reference - All commands, flags, and output formats
- HTTPS Interception - Set up HTTPS traffic capture with local CA certificates
- AI Agent Plugin - AI-assisted HTTP debugging in your terminal
- Web UI Dashboard - Live traffic stream, filters, and request inspection
- Debugging Recipes - Step-by-step debugging workflows for common scenarios
- Configuration - Config file, auto-cleanup, and storage options