ContextOS: Open-source token-budget-aware context orchestration for long-horizon agents

Whyrureadingthisz · reddit · 2026-08-23

The author released ContextOS, an open-source, token-budget-aware context orchestration layer for long-horizon LLM agents. It distinguishes between retrieval and context selection, utilizing hybrid retrieval (dense + BM25), RRF fusion, cross-encoder reranking, and deterministic planning to manage context budgets. The system logs execution traces for inspecting selection decisions, rankings, and token consumption. An evaluation harness and interactive demo are provided.

Related event: ContextOS Open-Sourced: Token-Budget-Aware Context Orchestration for Long-Horizon Agents(2 posts)→

Original post →

More from coding & agent

coding & agent channel →