AgentScope Durable Brings Recoverable Execution to Long-Running Agents
掘金 · 人工智能 reports that AgentScope Durable is an open-source framework for enterprise agent tasks that may outlive a connection, request, or process. It provides automatic recovery after interruption, session replay, queued requests and mid-run steering, asynchronous tools in isolated sandboxes, and precise restoration of tool results. Its architecture separates the reasoning loop, context management, and durable execution while using persistent records, execution leases, and fencing to coordinate replacement instances.
The implementation gives developers a concrete way to preserve task identity, progress, tool state, and continuation conditions across process failures, which the source presents as essential for long-running and always-on agents.
作者:望宸
消耗 Token 的主体,正在从触发任务的人,变成自主运行的 Agent。
Agent 执行的任务环境越来越复杂,链路越来越长,任务执行时长也越来越久,从几分钟延长到几小时,甚至全天候运行、跨天完成。因此,Agent 任务的寿命,已经超出进程的寿命。本文将分享我们在这方面的思考和实践,相关实践已经开源。
大家对 Durable 持久化应该并不陌生。持久化提供的是一种承诺,信息一旦确认保存,就不应出现因进程故障导致的信息丢失。严格来说,Durable 强调的是持久性,持久化则是实现这一目标的过程。
持久化不是新概念
经典软件领域的计算持久化、存储持久化、数据持久化,都是从不同角度回答:什么需要保存,保存在哪里,中断后如何继续。
#AgentScope Durable#AgentScope#ReActAgent#HarnessAgent#DurableRuntime#RocketMQ#Vercel durable-harness