ContextOS: Open-Source Token-Budget-Aware Context Orchestration for Agents
Whyrureadingthisz · reddit · 2026-08-23
The author released ContextOS, an open-source, token-budget-aware context orchestration layer designed for long-horizon LLM agents.
Key Features:
- Differentiates between retrieval and context selection, using hybrid retrieval (Dense + BM25) and Reciprocal Rank Fusion (RRF).
- Implements cross-encoder reranking and deterministic token-budget-aware planning to select which memories enter the context.
- Observability: Records execution traces for each decision, allowing inspection of selection reasons, ranking stages, and context budget consumption.
The project includes an evaluation harness and an interactive demo to visualize the entire pipeline.
More from coding & agent
- Testing Multi-Agent Coding Tools: Do Coordination Costs Eat the Gains? — leena_xander · 2026-08-23
- From code to manufacturing: The real Agent story of the year — ProfBuehlerMIT · 2026-08-23
- DeepSeek V4 Vision vs OX-Alpha: Multimodal Agent Gaming Benchmark — karminski3 · 2026-08-23
- FDELINK: Open Source Tool for Cross-Device and Cross-Account AI Agent Sharing — aigclink · 2026-08-23
- If my agents were employees, they'd have quit or complained to HR — intellectronica · 2026-08-23
- Unswarm: Self-Hosted Runtime Manager and Proxy for Multi-Model LLM Setups — Atretador · 2026-08-23