lattice.
what if an LLM call behaved more like a network connection?
a transport layer for the space between your application and a model.
the starting point
An LLM request looks simple from the outside. Underneath, there are reusable connections, repeated context, queued tokens and stalled responses. I wanted to play with that layer, not wrap another SDK.
the experiment
An OpenAI-compatible proxy with HTTP/2 pooling, token-aware congestion control, stall detection, batching and speculative execution. Session-aware delta encoding and caching try to avoid sending the same things again.
where it is
Built and published. An experiment in applying transport thinking to a different kind of traffic. The model and provider stay unchanged; the interesting bit is what happens in between.
