Graph-of-Context (GoC) is introduced as a split between a recoverable storage graph and a budget-constrained active context for instrumented single-session workflows with available or constructible dependency traces, and scoped fork adds dependency-aware projection with provenance-preserving rejoin within that trace graph.
Abstract
Large language model (LLM) agents still tend to run long-horizon workflows as a single linear transcript. This representation is straightforward to implement, but it becomes brittle once a task spans many turns, tool outputs, updates, and late-binding pivots. We examine context management for an instrumented, single-session, long-horizon, multi-turn agentic workflow in which dependency links are available from workflow metadata, tool logs, citations, or controller annotations, and introduce Graph-of-Context (GoC) as a split between a recoverable storage graph and a budget-constrained active context. GoC is built around three recoverable operators: fold, which compresses inactive episodes into proxy nodes in the active view while preserving the original subgraph in storage; unfold, which restores a budget-feasible dependency-supporting subgraph at expensive checkpoints; and scoped fork, which creates a temporary least-privilege view for a specialist sub-agent and rejoins the result with explicit provenance edges. We formalize the storage graph, active-context construction, dependency closure, fork-time projection, and rejoin procedure. In LLM-based TraceOps experiments with gpt-4.1-mini, the validated fold/unfold core raises delayed-activation decision accuracy from 25.0% to 42.5%, cuts mean prompt tokens by 54%, and reduces over-commitment from 0.625 to 0.340. A deterministic selector study then isolates fork scope quality: in the mismatch setting ( $d=6$ ), dependency-scoped fork reaches the full-context performance upper bound at roughly one-third of the token cost and surpasses similarity-scoped fork under a matched token budget. A limited end-to-end workflow validation further shows that fork alone is not sufficient, but that a mixed graph-native policy can match full-history prompting accuracy (0.396) while reducing mean prompt tokens from 49.1k to 38.1k and median prompt tokens from 69.2k to 35.6k. Workflow-level comparisons show that graph-native policies improve over similarity-only retrieval and proxy summarization in long-horizon support restoration, and failure/sensitivity analyses identify remaining error sources. In a six-seed dependency perturbation study, closure-only restoration changes from 0.368 at baseline to 0.340 under 30% edge removal and 0.347 under 20% noisy-edge injection; the Mixed-Heuristic policy retains higher absolute accuracy across the same conditions (0.493, 0.493, and 0.465, respectively). Overall, the results support a focused claim: GoC introduces recoverable, graph-native context management for instrumented single-session workflows with available or constructible dependency traces, and scoped fork adds dependency-aware projection with provenance-preserving rejoin within that trace graph.
This paper is a practitioner guide to graph-based workflow pathways for long-running, stateful, multi-step generative AI systems in business processes and presents three executable recipes to show how typed state, conditional routing, deterministic tools, retries, interrupts, checkpoints, and traces fit together.
Daniel Pearson, Sidney Shapiro, Emiliano Sebastian Gonzalez Venegas et al.· 0 citations
It is argued that context assembly in ContextPipe is structurally isomorphic to query execution in a relational database: both execute under a hard budget, exploit a tiered cache, and leverage statistics.
Peng Xu, Zuyu Zhang, Yu-Ze Sun et al.· 0 citations
Multi-agent large language model (LLM) workflows have emerged as a powerful paradigm for solving complex, open-ended tasks through collaborative reasoning among specialized LLM agents, but they incur substantial operating costs due to repeated LLM invocations and long-horizon context accumulation. Existing cascade routing methods make one-shot, query-level decisions and cannot adapt to the dynamic, state-dependent nature of multi-step workflows, in which the right LLM at each step depends on evolving task progress, remaining task difficulty, and cost-efficiency requirements. We present ProgRouter, an online progress-guided routing framework that adaptively selects LLM agents across workflow steps to preserve task-solving quality while adhering to time and cost budgets. ProgRouter introduces a multi-view task progress scorer that combines coarse workflow outcome regimes with fine-grained signals on subtask completion, progress trends, and workflow state quality. Then, a dual-path task progress predictor and an adaptive meta-gating mechanism estimate the progress gain for each candidate routed LLM. ProgRouter makes online step-wise routing decisions that balance progress gain, task time budgets, and long-term operating cost efficiency. Experiments on HumanEval Plus, MBPP, MATH-500, and ASQA, spanning agentic code generation, mathematical reasoning, and retrieval-augmented long-form question answering, demonstrate that ProgRouter reduces the operating cost relative to key baselines while maintaining strong task-solving performance.
Somgyuan Li, Ahmed M. Abdelmoniem, Shi-Qiang Wang· 0 citations
As CG productions scale, teams depend on timely metadata to understand how work propagates across assets, shots, and files. Production data evolves continuously—new fields emerge mid-show, workflows change, and dependencies deepen—yet traditional relational systems struggle with costly schema changes and opaque transitive reasoning. This work addresses these challenges at the data-model level rather than through tools or interfaces. We present two complementary approaches: schema-flexible production metadata using JSONB within a validated relational database, and projection of relational state into a live dependency graph via Change Data Capture (CDC). Together, these enable near–real-time propagation, resilience to partial failure, and scalability within a Proactive Pipeline architecture. JSONB enables schema evolution without migrations or consumer breakage while supporting metadata exchange. In parallel, CDC streams relational state into a graph model, where dependency queries such as downstream impact and version reachability become natural traversals, enabling responsive, dependency-aware workflows.
Alok Gandhi· Proceedings of the Special I...· 0 citations
TGMS is a bi-temporal property graph management system that exposes thirteen verified temporal operators as agent tools that can answer belief-state questions such as ``as of transaction time $T$, what did the system believe?''
BatchDAG is a general-purpose orchestration layer that replaces multiple hand-engineered workflows with a single system that generates the appropriate execution strategy from natural language, and is not primarily an accuracy improvement over hand-optimized pipelines.