See what your AI agents
are really sending

A transparent proxy for auditing LLM traffic. Auto-detect PII, credentials, and sensitive data before it leaves your network.

pip install wiretaps
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                 β”‚      β”‚                  β”‚      β”‚                 β”‚
β”‚   AI Agent      │─────▢│    wiretaps      │─────▢│    LLM API     β”‚
β”‚  (any agent)    β”‚      β”‚                  β”‚      β”‚  (OpenAI, etc)  β”‚
β”‚                 β”‚      β”‚                  β”‚      β”‚                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                  β”‚
                                  β–Ό
                         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                         β”‚  πŸ“‹ Audit Log  β”‚
                         β”‚  🚨 PII Alerts β”‚
                         β”‚  πŸ“Š Dashboard  β”‚
                         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                

πŸ“Š Live Dashboard

wiretaps dashboard showing real-time traffic monitoring

Why wiretaps?

πŸ”

Full Visibility

Log every prompt, response, and tool call. Know exactly what your AI agents are sending to external APIs.

🚨

Auto PII Detection

45+ patterns for SSN, national IDs, credit cards, emails, addresses, passports, and more. Global coverage.

β‚Ώ

Crypto Detection

Flag Bitcoin/Ethereum addresses, private keys, and seed phrases before they reach external services.

πŸ”‘

Credential Scanning

Detect API keys (OpenAI, Anthropic, AWS, GitHub) and prevent accidental credential leaks.

πŸ”Œ

Zero Code Changes

Just set OPENAI_BASE_URL and go. Works with any OpenAI-compatible agent or SDK.

🚫

Block Mode

Reject requests containing PII with HTTP 400. Sensitive data never leaves your network.

🏠

Self-Hosted

Your data never leaves your machine. SQLite storage by default, zero dependencies.

πŸ“Š

Live Dashboard

Terminal UI for real-time monitoring. See requests, tokens, and PII alerts as they happen.

πŸ“€

Export & API

Export logs to JSON/CSV. REST API for integrations. Multi-tenant support with API key tracking.

Global PII Coverage

45+ detection patterns covering 20+ countries

πŸ‡ΊπŸ‡Έ Americas

  • US SSN, ITIN
  • Canadian SIN
  • Argentinian DNI/CUIT
  • Mexican CURP/RFC

πŸ‡ͺπŸ‡Ί Europe

  • UK NIN
  • Spanish DNI/NIE
  • Italian Codice Fiscale
  • French NIR, EU VAT

🌏 Asia-Pacific

  • Indian Aadhaar/PAN
  • Australian TFN
  • Korean RRN
  • Japanese My Number

πŸ’³ Financial

  • Credit Cards
  • IBAN / SWIFT
  • BTC/ETH Addresses
  • Private Keys

Quick Start

# Install
pip install wiretaps

# Start the proxy
wiretaps start
πŸ”Œ wiretaps v0.3.0
   Proxy:  http://127.0.0.1:8080
   Target: https://api.openai.com

# Point your agent to the proxy
export OPENAI_BASE_URL=http://localhost:8080/v1

# Run your agent normally - wiretaps logs everything
python my_agent.py

# Check for PII
wiretaps logs
12:14:02 β”‚ POST /chat/completions β”‚ 1,200 tk β”‚ ⚠️ PII: email, phone
12:14:01 β”‚ POST /chat/completions β”‚ 856 tk   β”‚ βœ“ clean

Ready to audit your AI agents?

Open source. Self-hosted. Free forever.