fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration
Ankit Chadha, Pratyay Banerjee
Multi-agentAccepted, Findings of EACL 2027 · Amazon AGI, Sunnyvale, USA
The authors report acceptance to Findings of EACL 2027 in the arXiv comments, verified November 25, 2026. Proceedings are forthcoming; the available paper and citation refer to the November 24, 2026 arXiv release.
No public code or dataset is listed for this paper.
Agent-Kernel retries a failed branch and its dependents while preserving completed sibling work, and passes parent outputs into downstream prompts without blocking independent tasks.
Research contributionBrings exception-triggered selective recovery, budgeted inheritance of parent text and durable task state into one non-blocking LLM-agent runtime.
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 Agent-Kernel, a non-blocking runtime that ports this pattern to the LLM content plane: its primitive, 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× 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× speedup) where structure permits. Ablation isolates SGR: removing it collapses success to 39.4%.
Why it matters
A tool failure can make a whole-workflow retry repeat useful work that already succeeded. Agent-Kernel retains unaffected outputs and reruns only the affected dependency subgraph. This established distributed-systems pattern is paired with LLM-specific prompt composition, making recovery and concurrency available without a trained verifier or planner.
Key results
- On the synthetic failure-grid ablation with retry budget 3, Agent-Kernel reaches 100.0% success versus 56.2% for FullReplan, which restarts the whole task, and 39.4% without Sub-Graph Recovery (Table 6).
- On AutomationBench's 20 tasks using Sonnet 4.5, mean wall-clock time is 5.5 seconds for Agent-Kernel versus 24.8 seconds for ReAct-serial, a 4.5× speedup; on InterruptBench's 113 tasks it is 14.2 versus 38.1 seconds, a 2.7× speedup (Table 4). These are latency results, not accuracy gains.
- In the K=8, L=8 transient-failure recovery comparison, Agent-Kernel and the generous Sherlock rollback adaptation both reach 100.0% recovery, with mean wall-clock times of 21 and 149 seconds, respectively; the advantage is recovery speed rather than a unique ability to recover (Table 3).
- Null or negativeOn linear tau-bench and Gaia2 workloads, Agent-Kernel matches ReAct-serial task accuracy within noise and shows no speed gain: wall-clock times are 17.2 versus 17.1 seconds on tau-bench and 18.2 versus 18.0 seconds on Gaia2 (Table 4).
- Null or negativeIn the real-binary diamond-DAG test, both Agent-Kernel and LangGraph 1.2 with a custom retry filter recover 60/60 cases. The mean recovery times are 0.12 versus 0.52 seconds; LangGraph's default filter excludes the injected exceptions (Table 7).
- In the preliminary format-drift study, prompt mutation with error context and an expected schema recovers 14/18 cases (77.8%) versus 6/18 (33.3%) for blind re-execution; the small sample is a mechanism-level signal rather than a headline reliability result (Table 25).
Every number above appears in the paper. Results that were null or went the wrong way are included and marked.
Topics
Topics include LLM agent orchestration, non-blocking runtime, sub-graph recovery, dependency graphs, context inheritance, durable task state, selective retries, tool-use reliability, parallel agent execution.
Opportunities for future work
The results point to useful next questions: broaden the main transient-crash evaluation to semantic failures and additional model families; preserve external tool effects through idempotency or transactional boundaries; and test more real framework configurations. The guarantee covers stored task state, not external side effects. Linear tau-bench and Gaia2 workloads show no wall-clock benefit, and the reported multi-seed timing means do not characterize per-seed dispersion. The broad framework grid uses primitive re-implementations; real-binary tests cover one diamond topology. Format-drift recovery is preliminary at 18 scenarios.
How to cite
Ankit Chadha and Pratyay Banerjee. 2026. fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration. arXiv:2611.31727.
Download BibTeXRIS (Zotero / EndNote)CSL JSON
@misc{chadha2026agentkernel,
title = {fork() for Agents: Agent Kernel for Non-blocking LLM Orchestration},
author = {Chadha, Ankit and Banerjee, Pratyay},
year = {2026},
month = nov,
eprint = {2611.31727},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2611.31727},
note = {Accepted to Findings of EACL 2027; arXiv version}
}
Related work of mine
- Routed Graph Handoff: Adaptive Format Selection for Multi-Agent LLM DelegationFindings of EMNLP 2026
- APEX-EM: Non-Parametric Online Learning for Autonomous Agents via Structured Procedural-Episodic Experience ReplayFindings of EMNLP 2026
arXiv v1, posted November 24, 2026. The authors report acceptance to Findings of EACL 2027; proceedings are forthcoming.