Earendil公司和Pi社区发布了Pi 1.0版本,同时推出了一个名为Pi Durable的实验性框架1。Pi Durable专为长期运行、耐久且灵活的AI Agent应用设计,标志着Pi编码Agent在经过大量硬化、维护和开发后成为可靠基础1。
该框架基于TypeScript构建,包含约15000行源代码1,支持多项关键功能。Pi Durable提供进程崩溃后的自动恢复功能,通过检查点机制从中断处继续执行1。框架支持多个会话并发运行,每个会话可拥有独立的Agent配置和工具集1,并允许多个客户端同时连接同一会话,实时观看和控制Agent工作1。框架代码可在运行时更新,无需停止现有会话1。
在存储和部署方面,Pi Durable支持SQLite、JSONL和内存存储后端,可在任何JavaScript运行时运行1。其扩展系统支持可插拔的系统提示、工具、钩子和任务1。开发者可通过npm安装@earendil-works/pi-durable、@earendil-works/pi-ai和@earendil-works/chord开始使用该框架1。
Earendil and the Pi community have released Pi 1.0 alongside an experimental framework called Pi Durable, designed to support long-running, durable, and flexible AI agents 1. The framework, built on TypeScript and comprising approximately 15,000 lines of source code, provides essential infrastructure for constructing agent applications with capabilities including multi-session concurrency, process crash recovery, distributed execution, and extensible tooling 1.
Pi 1.0 represents a major milestone, marking the Pi coding agent as a reliable foundation following extensive hardening, maintenance, and development efforts 1. Pi Durable enables agents to automatically recover from process crashes using checkpoint mechanisms that allow execution to resume from the point of interruption 1. The framework supports multiple storage backends—including SQLite, JSONL, and in-memory options—and can run on any JavaScript runtime 1. Additionally, it allows multiple clients to connect simultaneously to a single session, enabling real-time observation and control of agent operations 1.
The framework's extensibility features include pluggable system prompts, tools, hooks, and tasks, while its architecture permits framework code updates at runtime without halting existing sessions 1. Developers can begin using the framework by installing packages via npm: @earendil-works/pi-durable, @earendil-works/pi-ai, and @earendil-works/chord 1.
评论
还没有评论,欢迎留下第一条。