Show HN: Wiretuple – Cut LLM structured-output tokens with positional tuples
Category: devtools
Tags: llm, token-optimization, proxy, structured-output, go
Score: 7.0/10 (Innovation: 7, Technical: 8, Documentation: 7, Utility: 6)
Wiretuple is a Go HTTP reverse proxy that losslessly reduces LLM structured-output token usage by converting repeated JSON keys into positional tuples on the wire. It intercepts OpenAI and Anthropic API calls, rewrites schemas to use prefixItems, and rehydrates responses in real time, including streaming SSE. The project is notable for its zero-dependency implementation, break-even gate, and passive audit mode.
Target audience: backend devs, AI engineers
Repository: https://github.com/Dimoncelli/wiretuple · Go · MIT
View on Hacker News