派 1.0
Pi 1.0

原始链接: https://earendil.com/posts/pi-1-0/

Earendil 宣布推出 **Pi 1.0**。这是一套强化、轻量且可扩展的智能体运行框架,目前每周已有数十万人使用。其理念是只采用经过验证的技术,在功能与复杂性之间谨慎取舍。 Pi 1.0 新增 Codemode,并原生支持 MCP 和非 LLM 模型,同时加入虚拟模型扩展、工具延迟加载、Anthropic 缓存预热、基于对话记录的系统消息、全新的 TUI 主题,并默认启用全屏模式。 Earendil 还推出了 **Pi Durable**,这是一套采用 MIT 许可证、用于构建长期运行智能体应用的实验性基础层。它延续 Pi 的极简与灵活设计,以支持更长的对话、多种交互界面和用户引导的智能能力。 Pi 1.0 可通过 pi.dev/install.sh 或 Windows 安装程序获取。Pi Durable 软件包可通过 npm 获取。文档位于 **pi.dev**,源代码托管在 GitHub 的 **earendil-works/pi** 仓库中。

The Hacker News 的讨论集中在 Pi 1.0 上。这是一款轻量级、厂商中立的 AI 智能体框架,面向编程、本地模型以及定制化智能体工作流而设计。 支持者看重 Pi 的小型系统提示词、使用本地模型时的快速启动、透明可查看的会话状态、较低的 Token 消耗,以及可扩展性。常见用途包括个人自动化、文档管理、远程访问、CI 审查、子智能体,以及针对特定行业的定制集成。Pi 可以运行按订阅提供的模型和 API 模型,而 Oh My Pi 等轻量级替代方案则提供开箱即用的完整体验。 这次发布存在争议许多人认为,内置的 MCP、Code Mode 和全屏 TUI,是对 increasingly trained around code-based tool use 的模型所作的合理适配。另一些人则觉得,这些功能削弱了 Pi 最初极简、原生终端的定位,尤其是放弃原生终端滚动回溯的做法。 其他争论还涉及插件质量和安全性、沙箱机制、TypeScript 的资源开销、不同框架下的模型表现、命名,以及定制究竟是有成效的 tinkering,还是不必要的“框架园艺”。总体而言,用户仍然分为两派:一方面称赞 Pi 的灵活性,另一方面担心它正在变成又一个臃肿的智能体平台。
相关文章

原文

Today we are proudly shipping Pi 1.0: a hardened, minimal, extensible agent harness that you can make your own. Hundreds of thousands of people around the world use Pi every week. Many of you submit issues and pull requests. Over the course of many months, we have used that feedback to improve, harden and evolve Pi into a stable piece of software that people and businesses can depend on.

Pi is known for being minimal. We care about holding that line. While agentic tooling changes every week, many of the changes do not last. Pi does not work that way. We wait until something has proven itself, and only then do we consider adopting it; weighing its true functionality against its inherent added complexity. We spoke more about that process and how it relates to Codemode and MCP earlier this week here.

The Pi 1.0 we are shipping today is a result of that process. Pi already ran the latest models from every major provider, became a daily driver coding agent for people around the world, and provided a supermalleable substrate on which to build agentic applications. With Pi 1.0 we are adding the following into Pi:

  • Codemode (native support for MCP, and non-LLM models like Jev and image models)
  • Extension support for virtual models
  • Deferred tool loading
  • Cache warming for anthropic models
  • Mid-conversation system messages (transcript-aware prompt and tool changes)
  • A new TUI theme
  • Full-screen mode by default

We have thought about many of these features for months. They were thrown up against the wall and stuck. The list of things that fell off the wall is much longer. When we use Pi with all these new features it feels like a major step forward, but it also still feels simple, like Pi.

Alongside this work of continually refining and evolving Pi, we also began to understand that there were aspects of Pi that did not fit the shape of how many people wanted to use it. At Earendil, we want to bring Pi's minimalism and the way it allows you to wield AI outside of the coding agent and outside of the terminal. It needs to be reachable from different surfaces and support longer-running conversations and tasks. In short, Pi must become more durable. Rather than stray from our minimal roots and try to make Pi something it wasn't, we combined that work into a new experimental package that we are shipping today, Pi Durable. Pi Durable is a new substrate for building long-running agentic applications that lets the builders and the users of those applications wield and steer the underlying intelligence with tremendous dexterity. It shares Pi's key principles, minimalism and supermalleability, but it extends those principles into new dimensions. Mario writes in more detail about how we crafted Pi Durable here.

Earendil was formed to craft software and open protocols that strengthen human agency. Today we are shipping tools to you all to help do just that. We're eager to hear feedback from you and to harness the future out in the open together.

Pi 1.0 is available today:

curl -fsSL https://pi.dev/install.sh | sh

or on Windows

powershell -c "irm https://pi.dev/install.ps1 | iex"

Pi Durable is available today as an experimental package:

npm install @earendil-works/pi-durable @earendil-works/pi-ai @earendil-works/chord

Both are MIT licensed. Documentation is at pi.dev. Code is at github.com/earendil-works/pi.

  1. Codemode: Pi writes a script that boils a week of commits down to a short summary
  2. Pi writes itself an extension: a virtual model that plans with Claude Opus and implements with GPT, with Jev deciding when to switch
  3. Reload, start a new session, and pick the new router/auto model
  4. Planning runs on Claude Opus
  5. Jev spots the switch to implementation and hands over to GPT 6 Luna
  6. ! runs the finished script
  7. /session breaks down cost per model and cache use
联系我们 contact @ memedata.com