RSIHub: a common foundation for self-improving agents
Researchers have a growing number of methods for agents that learn from their own mistakes, but everyone writes and measures them differently. RSIHub puts them in one framework with reusable components and a shared evaluation method, so the methods can be compared fairly.
If you're building a long-running agent, you can try ready-made self-improvement techniques here instead of inventing them from scratch.
AKV: the agent chooses what to forget from its cache
When an agent's context fills up, the old history is usually summarized by another model. AKV instead evicts selected parts of the KV cache (the memory a model keeps about text it has already read) and keeps using the rest. Across four agent benchmarks, average cost dropped 27.7% and success rate rose 1.7 points. The code is Apache 2.0 licensed and runs on SGLang.
Long agent sessions are the most expensive part of working with agents. This is a practical way to make them cheaper if you self-host your model, but it requires NVIDIA GPUs.
Researchers at NYU and the University of Texas at Austin showed that the strongest models overuse language patterns that people find hard to follow. They trace the cause to training on code and math, where accuracy is rewarded and clarity isn't. Smaller models write more naturally, closer to how humans do.
If your app shows users text written by a model, a smaller model or a well-tuned system prompt may give a more readable result than the most expensive model.