See Through the AI Black Box
A purpose-built HTTP proxy for AI agents. Inspect every request, response, token, and tool call — in real time.
Everything Your AI Agent Hides
AI agents send complex HTTP payloads you can't see. Conflux Lens exposes the full picture — from raw JSON to token counts.
System Prompt Visibility
See the exact system prompt being constructed and sent — not just the final response.
Real-Time Streaming
Watch streaming responses (SSE) render live as tokens arrive from the API.
Cost & Token Tracking
Track per-call and cumulative token usage with cost estimation per model.
Tool Call Visualization
See every tool call, function signature, and result in a structured tree view.
Multi-Step Loop Tracking
Follow agent reasoning chains across multi-turn conversations and tool loops.
Dashboard UI
Beautiful real-time dashboard with request feed, filters, and detailed inspectors.
Quick Start Guide
From zero to seeing every AI API call in under a minute.
Clone & Install
Get the project and install dependencies with npm.
▋Set Up HTTPS Trust
Generate and trust the CA certificate for HTTPS interception.
▋Start the Proxy
Launch the proxy server and dashboard.
▋Configure Your Client
Point your AI agent or Node.js app to the proxy.
▋Open Dashboard
Watch your AI traffic in real-time.
▋Works on macOS, Linux, and Windows. Full platform-specific instructions in the docs.
Powerful SDK
Programmatic control with a clean TypeScript API. Start the proxy, intercept requests, or stream events — all from code.
import { createProxyServer } from '@conflux/sdk';
const proxy = createProxyServer({
port: 9876,
https: true
});
proxy.on('request', (ctx) => {
console.log('→', ctx.request.url);
console.log('Tokens:', ctx.usage?.total_tokens);
});
await proxy.start();
console.log('Proxy running at localhost:9876');Built for AI Agents
BurpSuite was built for web security. We built Lens for AI agent debugging.
