返回首页

对比阅读

对比阅读:AgentScope Goes Open Source With Durable, Resumable AI Agent Execution 与 AgentScope 开源持久化框架,让全天任务中断后可续

AEN
AgentScopeDurable HarnessAI Agents·

AgentScope Goes Open Source With Durable, Resumable AI Agent Execution

When an AI Agent’s tasks stretch from minutes to hours or even span multiple days, the scarce resource is no longer just model capability. What matters is a system that can continue executing after interruptions. AgentScope has made this capability open source, and it deserves our attention.

What this is

“Durable” is short for durable execution: a system continuously saves task progress and key results, separating the task lifecycle from any single program process. Even if the service restarts, the user closes the page, or an execution instance is replaced, a new instance can load confirmed state and resume the work.

AgentScope Durable divides this functionality into three layers: ReActAgent handles the reasoning-action loop, HarnessAgent manages context, memory, and the workspace, while Durable handles task intake, cross-instance recovery, asynchronous tool calls, event replay, and persistent waiting. Its focus is not on preserving chat history, but on retaining task identity, completed actions, results, and the conditions for continuing.

For example, after an R&D Agent completes fault investigation and code changes, it may need to wait 20 minutes for testing and until the next day for approval. Even if the service is deployed in the meantime, the original task can resume once its conditions are met, rather than requiring the user to submit it again.

Industry view

We believe the importance of this project lies in the shift from Agents that “answer as quickly as possible after receiving instructions” to Agents that continuously own workflows. The longer a task runs and the more tools it calls, the more it needs a recoverable, observable, and auditable execution foundation. An open-source implementation also lowers the barrier for enterprises embedding this capability into existing applications.

But the risks are equally clear: persistence can ensure that execution state is not lost, but it cannot guarantee that model judgments are correct, tool calls comply with policy, or business outcomes meet requirements. Mistaking the ability to resume for the ability to perform well will amplify the impact of erroneous actions. Long-running tasks may also accumulate higher inference costs and raise issues involving permissions, privacy, and log retention. Durable continues the task; it does not automatically correct it.

Impact on regular people

For enterprise IT: Businesses can gradually delegate workflows such as customer support, R&D testing, and report generation to recoverable Agents without first rewriting every business system. Permission approvals, operational auditing, and failure rollback, however, still need to be built separately.

For individual professionals: “Delegate it and leave, then return to review the results” may become a common usage pattern. What matters is not how much like an expert an Agent sounds, but whether it preserves context, respects boundaries, and explains where it stopped when something fails.

For the consumer market: Personal assistant applications may require users to remain on the page less often, while cross-day errands gradually become more common. At the same time, tool execution will reach deeper into real systems, making permission disclosures, fee explanations, and revocation capabilities more important for providers.

来源: juejin.cn
BZH
AgentScopeDurable HarnessAgent·

AgentScope 开源持久化框架,让全天任务中断后可续

当 AI Agent 的任务从几分钟拉长到数小时甚至跨天,真正稀缺的不再只是模型能力,而是任务中断后还能继续执行的系统能力。AgentScope 将这一能力开源,值得我们关心。

这是什么

Durable 是“持久化执行”的简称:系统持续保存任务进度和关键结果,把任务生命周期与单次程序进程分开。即使服务重启、用户关掉页面或执行实例被替换,新的实例也能读取已确认状态并接续工作。

AgentScope Durable 将其分成三层:ReActAgent 负责“推理—行动”循环,HarnessAgent 管理上下文、记忆和工作区,Durable 负责任务受理、跨实例恢复、异步工具调用、事件回放与持久等待。其重点不是保存聊天记录,而是保存任务身份、已执行动作、结果及继续条件。

例如,研发 Agent 完成故障调查和代码修改后需要等待二十分钟测试及次日审批,期间即使服务发布,原任务也能在条件满足后继续,而非要求用户重新提交。

行业怎么看

我们认为,这类项目的重要性在于,Agent 正从“收到指令后尽快给答案”,转向持续承担工作流。任务越长、调用工具越多,系统就越需要可恢复、可观察和可审计的执行基础。开源实现也降低了企业把这一能力嵌入现有应用的门槛。

但风险同样明确:持久化只能保证执行状态不丢,不能保证模型判断正确、工具调用合规或业务结果达标。把能续跑误当成能做好,会放大错误操作的影响;长任务还可能积累更高推理费用,并带来权限、隐私和日志留存问题。Durable 延续的是任务,不会自动修正任务。

对普通人的影响

对企业 IT:企业可逐步把客服处理、研发测试、报表生成等流程交给可恢复的 Agent,而不必先重写全部业务系统;但权限审批、操作审计与失败回滚仍需单独建设。

对个人职场:“交办后离开,回来查看结果”可能成为常见用法。值得关注的不是 Agent 能说得多像专家,而是它是否保留上下文、遵守边界,并能在失败时说明停在哪里。

对消费市场:个人助理类应用可能更少要求用户保持页面在线,跨天代办会逐渐增加。与此同时,工具执行将更深入真实系统,服务商的权限提示、费用说明与撤销能力也会更重要。

来源: juejin.cn