mlsanityData to 7 Oct 2026

Context: Proactive Goal-Directed Intelligence via Composable Sandboxed Programs, Declarative Wiring, and Structured Interaction

arXiv 2605.23928 ↗First posted 21 Apr 2026cs.AI cs.CL cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

We present Context, the intelligence layer of the Magarshak Architecture, which replaces reactive query-response chatbots with proactive goal-directed agents that advance shared tasks without waiting for user prompts. The architecture rests on three mutually reinforcing mechanisms. Write-time context assembly precomputes enriched typed attributes via Groker agents, assembling interaction context as a deterministic pure function of graph state; context blocks are byte-identical across turns between semantic changes, enabling near-100% KV-cache reuse. Composable sandboxed wisdom programs form a governed library of LM-generated imperative programs declaratively wired to goal types via typed stream relations, composed via phase ordering, and executed at interaction time without further LM calls. Proactive goal stream state machines drive conversations toward terminal states by inspecting graph state and emitting structured interaction content (option arrays, governance affordances, clarification prompts) without awaiting user input. We prove six formal results: the Context Stability Theorem, bounding per-turn LM cost as a function of semantic change rate; a Program Composition Correctness Theorem; a Declarative Wiring Soundness Theorem; the Proactive Dominance Theorem, proving proactive agents weakly dominate reactive agents on expected turns-to-terminal-state; Coordination Overhead Elimination and Quality Preservation, establishing Pareto improvements in multi-participant goal chats; and a Cross-Platform Vote Consistency Theorem. Implemented in the open-source Qbix / Safebox / Safebots stack.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 5 of its 23 references that are in the map. First posted on arXiv 21 Apr 2026.

Builds on

5 of 23 references.

References · 5

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  4. 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,411
  5. 2023A Survey on Proactive Dialogue Systems: Problems, Methods, and Prospectscited by 66

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026ContextPilot: Teaching Agents for Proactive Context Management via Fine-grained RL
  2. 2026Long-term Task-oriented Agent: Proactive Long-term Intent Maintenance in Dynamic Environments
  3. 2026The Log is the Agent: Event-Sourced Reactive Graphs for Auditable, Forkable Agentic Systems
  4. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains
  5. 2026From Chatbot to Digital Colleague: The Paradigm Shift Toward Persistent Autonomous AI
  6. 2026ESAA-Conversational: An Event-Sourced Memory Layer for Continuity, Handoff, and Curation Across Heterogeneous LLM Coding Agents
  7. 2026From Question Answering to Task Completion: A Survey on Agent System and Harness Design
  8. 2024MARCO: Multi-Agent Real-time Chat Orchestration