Metraipolis › archive › dc_ebf89b3c6c48
ContextPipe: Database-Inspired Context Assembly for Long-Horizon Agents — arXiv:2609.00749
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.00749
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T06:32:04.784Z
- SHA-256 of the archived text
77f835de3c19fbbf5994d3ff2042db9089651484c43e7a55191e42808b2dbce7- Stable URL of this page
https://metraipolis.com/documento/dc_ebf89b3c6c48
How to cite
ContextPipe: Database-Inspired Context Assembly for Long-Horizon Agents — arXiv:2609.00749 — arXiv (en), https://arxiv.org/abs/2609.00749 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ebf89b3c6c48 (Metraipolis archive dc_ebf89b3c6c48, sha256 77f835de3c19fbbf5994d3ff2042db9089651484c43e7a55191e42808b2dbce7)
BibTeX
@misc{dcebf89b3c6c48,
title = {ContextPipe: Database-Inspired Context Assembly for Long-Horizon Agents — arXiv:2609.00749},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.00749},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ebf89b3c6c48; sha256 77f835de3c19fbbf5994d3ff2042db9089651484c43e7a55191e42808b2dbce7},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.00749. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Long-horizon large language model (LLM) agents require context assembly: the runtime must decide what to include in each prompt, in what order, and when to compact history under a hard context-window budget and a byte-sensitive prompt cache. In production agentic systems, this logic is scattered across prompt builders, ad hoc compaction routines, cache-break workarounds, and per-provider shims. We argue that context assembly is structurally isomorphic to query execution in a relational database: both execute under a hard budget, exploit a tiered cache, and leverage statistics. We adopt this discipline in ContextPipe: a five-phase pipeline (Plan Bind Optimize Execute Feedback) backed by a structured data-source catalog, a deterministic cache-aware optimizer, and an EXPLAIN ANALYZE trace. We show that context in ContextPipe is auditable, replayable, and failure-isolated. A preliminary evaluation using the SWE-bench Pro Qutebrowser subset shows that, compared with the append-only context construction policy, ContextPipe reduces total token volume by 31%, LLM calls by 23%, and response time by 9%, at the cost of a lower KV cache-hit ratio. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-02 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI) ; Databases (cs.DB). Pagina del lavoro: https://arxiv.org/abs/2609.00749 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T06:15:12.637Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).