StateBridge lets AI agents send hidden states and beat text handoffs
With no more training, StateBridge was 2.4 to 2.9 percentage points better than the best alternative for each model that researchers tested.
Researchers at the University of Sheffield, led by Yanwen Peng, made StateBridge. It lets AI agents that use the same large language model (LLM) give hidden states (the numbers in a model before it writes a token) to each other, not text. The code is free with the Apache 2.0 license, also for commercial use.
How it works
A hidden state holds more than the token, but the model of the receiver cannot read it as it is. StateBridge keeps the last 64 hidden states of a message, rotates and scales them, and mixes each with its closest word vector. It puts them before the input of the receiver.
The numbers
Tests used Qwen3 and OLMo3 models on medical questions, coding and math. StateBridge was better than a single agent, agents that send text and an earlier method, LatentMAS, by 2.4 to 2.9 points. On GPQA-Diamond, a graduate level science test, Qwen3-8B solved 52.5 percent, against 45.5 percent for LatentMAS.
What is not known
The source tells of tests only with agents that share one model, in a chain of four roles. It does not tell if the method works across different models. The results are from the authors.
Insight: Faster agent messages may leave no record that a person can read
A study from October tells that the limit for large groups of agents is how many messages one agent can read. StateBridge cuts each message to 64 vectors, and a different toolkit, EvidenceBook, keeps signed records of work between agents. This reads as a cost of speed: the more agents use hidden states, the less a person can check.
Sources
- Communicating Agents’ Thoughts: StateBridge Preserves Information In Text Messagescharonhub.deeplearning.ai
Posted