▲ 16 today383 starsPythonNew · 23d old
FlashStates speeds up 48 LLM agents on a single GPU
What is FlashStates?
FlashStates adds flexible checkpointing to vLLM so hybrid LLMs can reuse cached attention and state across many agent turns. It also offers an optional host-memory store (Mooncake) to keep completed request states without filling GPU cache.
Who it is for
If you run many interactive LLM agents on limited GPU resources, FlashStates lets you keep them fast and cheap.
How FlashStates works
FlashStates is a fork of vLLM version 0.33.0 that adds support for arbitrary state checkpointing and cost-aware hybrid state management. It stores a recurrent checkpoint at any token position and evicts the associated KV cache blocks together with that checkpoint. An optional Mooncake store tier writes finished request states to host memory and evicts whole states by priority. The system runs inside Docker images that include the modified vLLM and Mooncake components.
What you can do with it
- Serve a hybrid model with the standard OpenAI-compatible vLLM API.
- Run many coding-agent sessions that resend growing prompts while reusing cached states.
- Replay closed-loop benchmark traces of public coding-agent workloads.
- Deploy the provided Docker images on B200 or GB300 GPU servers.
Good to know
- The code is research-grade and its options may change.
- It is built for specific GPU hardware such as B200 and GB300, and requires host memory for the Mooncake store.
- It is released under the Apache 2.0 license and depends on vLLM and Mooncake submodules.
Written from the project's own README.
Try it in 60 seconds
You need: Two NVIDIA B200 GPUs per engine (or compatible high-memory GPUs)
No one-line install. The README has the setup steps.
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted FutureMLS-Lab/FlashStates on December 2, 2026, when it had 383 GitHub stars. It now has 383. On its busiest day it gained 16 stars. The project is 23 days old and written mainly in Python. Early Signal files it under Agents, Inference, LLMs.
Questions about FlashStates
- What do I need to run FlashStates?
- Two NVIDIA B200 GPUs per engine (or compatible high-memory GPUs)