Show HN: LunaRoute – a high-performance local proxy for AI coding assistants

github.com

8 points by erans a day ago

LunaRoute is a high-performance local proxy for AI coding assistants like Claude Code, OpenAI Codex CLI, and OpenCode. Get complete visibility into every LLM interaction with zero-overhead passthrough, comprehensive session recording, and powerful debugging capabilities.

- See Everything Your AI Does - get full logs (JSONL), summary of sessions including tokens used (input/output) as well as tools usage and success rates.

- Privacy & Compliance Built-In - redact or tokenize any sensitive information (regex based).

- Speaks OpenAI and Anthropic dialects so you can route (and translate) when needed between models and providers.

- High performance - passthrough is 0.1ms - 0.2ms latency. Logging and summary is off loaded to a secondary thread to allow maximum performance.

Feedback is always appreciated as well as stars on the repo :)

erans a day ago

Summary data is in a sqlite database so its easily queryable by you or your friendly AI agent.

You can have a single proxy and have multiple team members use the same one so that you can easily track sessions, token usage, spend etc.