arXiv:2605.21997cs.AIcs.MA2026-05被引 2

用事件日志驱动智能体,实现可审计、可分叉的确定性运行。

The Log is the Agent: Event-Sourced Reactive Graphs for Auditable, Forkable Agentic Systems

  • 以追加式事件日志为唯一真相,图谱是日志的确定性投影。
  • 支持任意时刻分叉,无需重跑共享前缀,且能回溯每一步决策来源。
  • 适合需要可验证、可自进化智能体的研究者和系统开发者。

现有智能体框架以语言模型为中心:先对话,再工具,后规则,最后附加日志层用于可观测性,状态通过可检索的“记忆”持久化。本文提出ActiveGraph,颠覆这一结构:追加式事件日志是唯一真相;工作图谱是日志的确定性投影;行为(普通函数、类、基于LLM的流程或绑定到有类型边的逻辑)响应图谱变化并生成新事件。无组件直接指令其他组件;协调完全通过共享图谱实现。这一设计带来三大特性:从日志中可确定性重现任意运行过程;可在任意事件处低成本分叉,无需重执行共享前缀;从高层目标到每个模型调用产生的具体成果具备端到端因果溯源。我们展示架构、确保重放正确的确定性契约,并给出一个尽职调查示例,其完整因果结构仅凭日志即可重建。讨论该基础架构为何特别适合自改进智能体,并延伸了BabyAGI与先前图记忆研究的脉络。

原文摘要 · Abstract (English)

Most agent frameworks are built around the language model: a conversation loop comes first, then tools, then rules, and finally a logging layer bolted on for observability, with state persisted as retrievable "memory." We describe ActiveGraph, a runtime that inverts this arrangement. The append-only event log is the source of truth; the working graph is a deterministic projection of that log; and behaviors--ordinary functions, classes, LLM-backed routines, or logic attached to typed edges--react to changes in the graph and emit new events. No component instructs another; coordination happens entirely through the shared graph. This single design decision yields three properties that retrieval-and-summarization memory systems do not provide: deterministic replay of any run from its log, cheap forking that branches a run at any event without re-executing the shared prefix, and end-to-end lineage from a high-level goal down to the individual model call that produced each artifact. We present the architecture, a determinism contract that makes replay sound, and a worked diligence example whose full causal structure is reconstructable from the log alone. We discuss--without claiming to demonstrate--why this substrate is unusually well suited to self-improving agents, and how it extends the BabyAGI lineage and prior graph-memory research.

智能体系统事件溯源可审计性图结构

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。