Pi 1.0Pi 1.0

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 1.0:一个稳健、极简且可扩展的智能体框架,你可以根据自己的需要对其进行定制。每周有成千上万的人在使用 Pi,你们中的许多人也提交了问题和拉取请求。在过去的几个月里,我们利用这些反馈不断改进、强化 Pi,使其成为一个个人和企业都能信赖的稳定软件。

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.Pi 以极简主义著称。我们非常在意保持这一点。虽然智能体工具每周都在变化,但许多变化并不能持久。Pi 的运作方式并非如此。我们会在某项技术经过验证后才考虑采用它,并权衡其真实功能与随之而来的复杂性。本周早些时候,我们在这里详细讨论了这一过程以及它与 Codemode 和 MCP 的关系。

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:我们今天发布的 Pi 1.0 正是这一过程的成果。Pi 已经能够运行来自各大主流提供商的最新模型,成为全球用户日常使用的编程智能体,并提供了一个构建智能体应用的超灵活基底。在 Pi 1.0 中,我们增加了以下功能:

  • Codemode (native support for MCP, and non-LLM models like Jev and image models)Codemode(原生支持 MCP,以及 Jev 和图像模型等非 LLM 模型)
  • Extension support for virtual models虚拟模型扩展支持
  • Deferred tool loading延迟工具加载
  • Cache warming for anthropic modelsAnthropic 模型缓存预热
  • Mid-conversation system messages (transcript-aware prompt and tool changes)对话中途系统消息(感知对话记录的提示词和工具变更)
  • A new TUI theme全新的 TUI 主题
  • 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.我们对其中许多功能已经思考了数月。它们经受住了考验并得以保留。而那些被淘汰的功能清单则要长得多。当我们使用带有所有这些新功能的 Pi 时,感觉它迈出了一大步,但同时也依然保持着简洁,依然是那个 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.在不断打磨和演进 Pi 的过程中,我们也开始意识到,Pi 的某些方面并不符合许多人想要使用它的方式。在 Earendil,我们希望将 Pi 的极简主义以及它允许你驾驭 AI 的方式带到编程智能体和终端之外。它需要能够从不同的界面访问,并支持更长时间的对话和任务。简而言之,Pi 必须变得更加持久。我们没有背离极简的初衷去试图把 Pi 变成它本不该成为的样子,而是将这些工作整合到了一个新的实验性包中,即今天发布的 Pi Durable。Pi Durable 是一个构建长时运行智能体应用的新基底,它让构建者和用户能够极其灵活地驾驭和引导底层的智能。它共享了 Pi 的核心原则——极简主义和超灵活性,但将这些原则扩展到了新的维度。Mario 在这里更详细地介绍了我们是如何打造 Pi Durable 的。

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.Earendil 的成立旨在打造能够增强人类能动性的软件和开放协议。今天,我们向大家发布这些工具,以帮助实现这一目标。我们期待收到你们的反馈,并共同在开源领域驾驭未来。

Pi 1.0 is available today:Pi 1.0 现已发布:

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

or on Windows或在 Windows 上使用

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

Pi Durable is available today as an experimental package:Pi Durable 现已作为实验性包发布:

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.两者均采用 MIT 许可证。文档位于 pi.dev。代码位于 github.com/earendil-works/pi。

00:0000:00-01:5900:00-01:5900:25 - Pi writes itself an extension: a virtual model that plans with Claude Opus and implements with GPT, with Jev deciding when to switch00:25 - Pi 为自己编写了一个扩展:一个使用 Claude Opus 进行规划并使用 GPT 进行实现的虚拟模型,由 Jev 决定何时切换01:01 - Reload, start a new session, and pick the new router/auto model01:01 - 重新加载,开启新会话,并选择新的路由/自动模型01:14 - Planning runs on Claude Opus01:14 - 规划在 Claude Opus 上运行01:27 - Jev spots the switch to implementation and hands over to GPT 6 Luna01:27 - Jev 检测到切换至实现阶段并移交给 GPT 6 Luna01:44 - ! runs the finished script01:44 - ! 运行完成的脚本01:50 - /session breaks down cost per model and cache use01:50 - /session 分解每个模型的成本和缓存使用情况00:25 - Pi 为自己编写了一个扩展:一个使用 Claude Opus 进行规划并使用 GPT 进行实现的虚拟模型,由 Jev 决定何时切换;01:01 - 重新加载,开启新会话,并选择新的路由/自动模型;01:14 - 规划在 Claude Opus 上运行;01:27 - Jev 检测到切换至实现阶段并移交给 GPT 6 Luna;01:44 - ! 运行完成的脚本;01:50 - /session 分解每个模型的成本和缓存使用情况
  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
Codemode: Pi writes a script that boils a week of commits down to a short summaryCodemode:Pi 编写了一个脚本,将一周的提交汇总为简短的摘要