让智能体长时任务跨会话保持状态一致,提升成功率。
AstronOS: A Unified Execution Model and Runtime for Long-Horizon Agentic Systems
- 用版本化状态管理跨调用任务,确保每步输入输出可验证。
- 在三阶段任务中,AstronOS成功率达93%(14/15),远超其他方法。
- 适合需要高可靠长流程执行的AI系统开发者。
当前智能体系统常以单次对话或模型调用为单位组织执行与状态,难以应对跨越多轮、多阶段的真实任务。本文提出统一执行模型,通过持久化任务身份和版本化权威状态,实现跨调用的状态一致性。每个步骤接收特定状态版本的输入,结果仅在验证并记录后才推进状态。我们在AstronOS中实现了基于Cases、Tasks和Scenario Packs的多路径执行。对比五种将软件版本更新计划迁入新会话的策略:重读原始材料、重播完整历史、确定性文本摘要、确定性JSON,以及AstronOS运行时中介交接。在十项控制任务上各重复三次,共150次执行。单阶段基准下各策略表现相近;在主三阶段批次(A-C)中,AstronOS在15次中有14次通过冻结评分器,而重读为0/15,完整历史回放为2/15;后续非交错摘要与JSON批次均0/15通过。AstronOS每成功执行的尝试消耗更少模型令牌,但每次尝试耗时更长。结果表明,在该基准测试中,完整AstronOS配置显著提升新会话端到端通过率,代价是时间开销增加。
原文摘要 · Abstract (English)
Agentic systems often organize execution and state around a single conversation, model invocation, or agent instance, even when real work spans many calls and stages. We introduce a unified execution model that maintains a work item's persistent identity and versioned authoritative state across calls. Each step receives input scoped to a specific state version and new material; a result advances state only after validation and recording. We implement selected paths of this model in AstronOS using Cases, Tasks, and Scenario Packs across central and local execution. We compare five complete strategies for carrying an established software-version update plan into a fresh model session: rereading original materials, replaying full history, deterministic text summary, deterministic JSON, and the AstronOS runtime-mediated handoff. Ten controlled tasks are run under all five strategies with three repetitions, yielding 150 included executions. On the single-stage reference family, strategies perform similarly. In the primary three-stage A-C batch, AstronOS passes the frozen scorer in 14 of 15 executions, compared with 0 of 15 for rereading and 2 of 15 for full-history replay; later non-interleaved summary and JSON batches each pass 0 of 15. AstronOS has lower attempt-accounted model-token cost per passing execution, while requiring more execution-window time per attempt. These results associate the complete AstronOS condition with higher end-to-end pass rates across fresh sessions in this benchmark, at a measurable time cost.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。