bifrost
Bifrost 是一个用 Rust 编写的高性能、AI 友好的代理服务器,它提供强大的请求拦截、修改和规则配置能力,支持 TLS 解密、脚本扩展等高级功能,支持强大的模糊搜索,支持导
What is bifrost?
Bifrost 是一个用 Rust 编写的高性能、AI 友好的代理服务器,它提供强大的请求拦截、修改和规则配置能力,支持 TLS 解密、脚本扩展等高级功能,支持强大的模糊搜索,支持导入导出分享,支持一键重放请求,支持Coding Agent 自主管理。提供类似 postman 的请求管理和验证能力,无缝和代理能力集成。
Overview of bifrost
What it is
Bifrost is a high-performance HTTP/HTTPS/SOCKS5 proxy server written in Rust. It provides request interception, rule modification, TLS interception, script extension, traffic viewing, request replay, and Web UI management capabilities. It is AI-friendly and inspired by Whistle.
Key features
- High-performance proxy core based on Tokio + Hyper, supporting high concurrency and connection reuse.
- Multi-protocol support: HTTP/1.1, HTTP/2, HTTP/3, HTTPS, SOCKS5, WebSocket, SSE, gRPC.
- TLS interception: supports CA certificate generation, dynamic certificate issuance by domain, selective interception/passthrough by rules, and explicit allowance of unsafe certificates for upstream HTTPS rules.
- Rule engine: supports routing, request/response rewriting, injection, delay, rate limiting, mock, and script processing.
- Built-in Web UI for rule editing, traffic viewing, script management, and request replay.
- Script sandbox based on QuickJS, supporting reqScript, resScript, and decode.
- Breakpoint support: pause HTTP request/response matching breakpoint rules in Web UI, edit headers/body, and continue.
Use cases
- Debugging and intercepting HTTP/HTTPS traffic for development and testing.
- Modifying requests and responses on the fly with custom rules and scripts.
- Replaying captured requests for API testing and verification.
- Integrating with AI coding agents (e.g., Codex, Traex, Claude Code) for automated rule management and traffic analysis.
- Managing proxy settings for mobile devices and other computers via Web UI availability check.
Getting started
Install CLI (and optionally desktop app) via script: macOS / Linux / Git Bash: bash curl -fsSL https://raw.githubusercontent.com/bifrost-proxy/bifrost/main/install-binary.sh | bash Windows PowerShell: powershell irm https://raw.githubusercontent.com/bifrost-proxy/bifrost/main/install-binary.ps1 | iex Or via npm: bash npm i -g @bifrost-proxy/bifrost Check status: bash bifrost status Access Web UI at: http://127.0.0.1:9900/_bifrost/
License and pricing
License: MIT. Pricing: open source (free).
Based on the project's public README and repository metadata.