跳到正文
arXiv (AI + Vision + Imaging)· Ankit Chadha, Pratyay Banerjee·· 1 天前AI 评分38

Agent-Kernel:面向LLM Agent非阻塞编排的Agent内核与Sub-Graph Recovery

fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration

AI 导读

Agent-Kernel是一个非阻塞LLM Agent运行时,其核心原语Sub-Graph Recovery(SGR)在原始异常触发时重置失败节点的后代、保留已完成兄弟节点,并通过上下文继承把父节点文本组合进子节点prompt。

正文 · 原文

arXiv:2611.31727v1 Announce Type: new Abstract: LLM-based agents typically execute tool calls synchronously and discard completed work upon failure. Subgraph-selective recovery, re-executing only a failed node's transitive descendants, is a well-established pattern in distributed systems (Spark, Erlang/OTP, Dryad), and recent agent runtimes (Sherlock, AgentGit, Atomix) preserve completed work through verifiers, version control, or transactional tool boundaries. We present \textbf{Agent-Kernel}, a non-blocking runtime that ports this pattern to the LLM \emph{content plane}: its primitive, \textbf{Sub-Graph Recovery (SGR)}, fires on a raw exception with no trained verifier or planner, resets a failed node's descendants while preserving completed siblings, and composes each parent's text into its children's prompts (context inheritance), all on a durable substrate with a formal state-preservation guarantee. Across 14{,}434 runs on synthetic and standard benchmarks (tau-bench, Gaia2, AutomationBench, InterruptBench), SGR reaches full recovery within budget=3 where whole-trajectory replay exhausts (100\% vs.\ 55\%), and is roughly 10$\times$ faster than an adapted Sherlock rollback that also recovers. It matches ReAct-serial accuracy within noise on linear workloads while adding recovery and parallelism (up to 12.7$\times$ speedup) where structure permits. Ablation isolates SGR: removing it collapses success to 39.4\%.

来源:arXiv (AI + Vision + Imaging) · arxiv.org