---
title: "fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration"
source: "arXiv AI/CL/LG（论文）"
source_tier: "t2"
url: "https://arxiv.org/abs/2611.31727v1"
permalink: "https://feed.astralor.com/items/itm_7a0405dbb14dc744ff037cb4"
published: "2026-11-24T00:33:20.000Z"
score: 57
channel: "ai"
tags: ["LLM","AI Agent","推理效率","Agents","Agent Kernel","Non-blocking LLM Orchestration","LLM-based","Subgraph-selective"]
---

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

## At a glance

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 i…

## Key points

- 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, Atom…
- 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 pl…

## Full text

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\%.

---

Verify against the original before citing; curated by Astral Feed: https://feed.astralor.com/items/itm_7a0405dbb14dc744ff037cb4
