PrismCat – Local transparent proxy and debugging console for LLM APIs
PrismCat – Local transparent proxy and debugging console for LLM APIs
Hi HN, I built PrismCat because I got tired of not knowing what LLM SDKs (like LangChain or various OpenAI/Anthropic wrappers) were silently injecting into my prompts behind the scenes. It's often hard to debug why a streaming request froze, or why a function-calling agent returned malformed JSON, without diving deep into SDK code. PrismCat is a single-binary, self-hosted proxy and UI designed to run silently 24/7 as an LLM "black box" logger. How it works: It uses subdomain routing to achieve transparent proxying. For example, if you add an upstream named `openai`, PrismCat exposes ` http://openai.localhost:8080 `. Modern operating systems and browsers resolve `*.localhost` to `127.0.0.1` automatically, so you don't even need to edit your `/etc/hosts` file. You just change one line in your code—the `base_url`—and everything gets captured transparently (including Server-Sent Events/streaming). Key features: - Fully local-first: written in Go, stores data in SQLite, never sends your keys or prompts to a third party. - Interactive Playground: Tweak and replay failed requests in the UI without re-running your scripts. - SSE capture: Captures and reconstructs SSE chunks so you can inspect the raw flow. - Request Override (Opt-in): Intercept and rewrite outgoing requests/headers without code changes. I'd love to hear your feedback on the implementation (especially the subdomain routing approach) and what features you'd like to see next!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Keyfence is a local proxy that stops secrets from reaching LLM APIs
TrackLLM: Are the LLM APIs you rely on stable?
Mitmproxy 3.0 released, an open-source console-based proxy
Zero dependency LLM standby, rollouts, no proxy
A minimalist proxy for your local LLM cluster (~1100 lines)
Console Walkimation
Darknet.py – A TOR Transparent Proxy Written in Python
Transparent proxy that secures AI agents with guardrails
Wiretap – Transparent WireGuard proxy server without root
Stateless, system-wide Transparent Tor Proxy for Linux (v0.1.0)