# 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.

View on GitHub 📦 PyPI Package
`pip install wiretaps`

    ┌─────────────────┐      ┌──────────────────┐      ┌─────────────────┐
    │                 │      │                  │      │                 │
    │   AI Agent      │─────▶│    wiretaps      │─────▶│    LLM API     │
    │  (any agent)    │      │                  │      │  (OpenAI, etc)  │
    │                 │      │                  │      │                 │
    └─────────────────┘      └────────┬─────────┘      └─────────────────┘
                                      │
                                      ▼
                             ┌────────────────┐
                             │  📋 Audit Log  │
                             │  🚨 PII Alerts │
                             │  📊 Dashboard  │
                             └────────────────┘

## 📊 Live Dashboard

## 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.

🏠

### 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.

## 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.

Get Started →