Pi Durable updates: persistence and stability for long-running agents
Pi Durable shipped several releases with SQLite table/index prefix isolation, a fix for System Message ordering after compaction, configurable progress commit intervals, and a new sleep mode to cut idle resource use in cloud deployments.
Pi Durable 更新频繁,都是解决 Agent 长期运行问题🔥 最近几个版本有几个细节挺值得关注,不只是加功能,而是在打磨持久化和稳定性,如果总结起来的话 都是为了怎么让 Agent 长期更加稳定 最新的还增加了休眠的功能,可以在待机状态下不消耗额外的资源 这样对云部署的服务会非常友好 1、SQLite 存储隔离 v1.3.0 支持给表和索引加 prefix,多个 Pi Durable 实例可以更方便地共享数据库,Cloudflare Durable Objects 的存储适配也有改进 2、上下文恢复更可靠 修复 Compaction 后 System Message 的顺序问题,避免上下文整理后出现不符合预期的情况 3、远端存储可以省成本 进度提交间隔现在可以配置,默认 100ms。使用远端 Storage 时,适当调大间隔就能减少写入次数,但也要权衡异常退出时的进度损失 我觉得 Pi Durable 真正值得研究的,不只是让 Agent 长期在线,而是进程中断、上下文压缩、存储写入这些细节,怎么一起做可靠
This post quotes another post: x.com/xiaomovps/status/2109089837097853220