Conflux Lens
Open Source|MIT License

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.

terminal
$ git clone https://github.com/...
$ cd conflux-lens && npm install
$ npm start
Proxy: localhost:9876
Dashboard: localhost:3000
What Lens Does

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.

Get Running in 60 Seconds

Quick Start Guide

From zero to seeing every AI API call in under a minute.

01

Clone & Install

Get the project and install dependencies with npm.

clone-& install
02

Set Up HTTPS Trust

Generate and trust the CA certificate for HTTPS interception.

set-up https trust
03

Start the Proxy

Launch the proxy server and dashboard.

start-the proxy
04

Configure Your Client

Point your AI agent or Node.js app to the proxy.

configure-your client
05

Open Dashboard

Watch your AI traffic in real-time.

open-dashboard

Works on macOS, Linux, and Windows. Full platform-specific instructions in the docs.

For Developers

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');
npm install@conflux/sdk ws
Why Conflux Lens

Built for AI Agents

BurpSuite was built for web security. We built Lens for AI agent debugging.

Feature
Conflux Lens
BurpSuite Pro
Price
Free (MIT)
$449/year
HTTP Proxy
HTTPS Intercept
LLM Token Display
Cost Tracking
Tool Call View
System Prompt View
Streaming Support
No Browser Extension
Open Source