Ankit Chadha

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

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.

PDF arXiv Cite

No public code or dataset is listed for this paper.

In one sentence

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

Every number above appears in the paper. Results that were null or went the wrong way are included and marked.

Original Figure 2 compares selective recovery and full replay: after node a fails, SGR retries a and dependent node s while preserving completed siblings b and c; full replay repeats all four nodes.
Figure 2: A failed task a feeds a dependent task s. Sub-Graph Recovery re-executes a and s while keeping the completed outputs of siblings b and c. FullReplan repeats a, b, c and s. Taken from the paper.

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

arXiv v1, posted November 24, 2026. The authors report acceptance to Findings of EACL 2027; proceedings are forthcoming.

← All publications