Pi, the open-source coding agent for the terminal, reached version 1.0 on October 1. Codemode has become leaner: in a call to GPT-5.6 with the default tools, the prompt drops from about 5,300 to 3,300 tokens.

In Codemode, Pi has the model write JavaScript that calls the tools. In version 1.0, the developers shortened the descriptions of those tools and the instructions that accompany them. According to heise, the token count is an example of the size of the context sent, not a measure of the quality of the answers. Error messages also now show the model, more concretely, how to fix a failing script.

Codemode scripts gain the models.generateImages() function, which generates images using the credentials of the current session. Usage counts toward the session's cost.

Full screen by default and revised login

The terminal interface now opens in full screen. Those who prefer the terminal's regular scrollback history can return to the previous mode with --tui-mode regular. In OAuth login for MCP servers (a protocol that connects the agent to external tools), Pi stores credentials by server name and address and keeps the permissions already granted, which avoids repeated login prompts.

Earendil's list also includes support for virtual models via extensions, deferred tool loading, cache warming for Anthropic models and a new terminal theme.

Pi Durable brings the agent to TypeScript

Alongside 1.0, Earendil released Pi Durable, an experimental package for long-running agent applications. It ports Pi to TypeScript and records each step as a task with a checkpoint: if the process crashes, the agent resumes from the last saved state. Both projects use the MIT license. Pi is installed via curl on macOS and Linux and via PowerShell on Windows; Pi Durable packages are published on npm.

Sources

  1. earendil.com
  2. Coding Agent Pi Mehr Platz im Prompt weniger Ballastheise.de
  3. Ainews pi 10 pi durable and aie nyclatent.space

Text written with AI from the sources listed and checked by the newsroom's automated rules. How we work

Want to see resumer first in Google searches?

Add to Google's preferred sources