AI Aulis

AI NEWS IN ENGLISH · 17 October 2026

The most important AI news every morning. AI writes and checks the stories against the original sources – check important facts in the sources.

← Issue 17 October 2026Paper

Pi coding agent builds MCP into its core and releases Pi Durable harness

AI-generated contentWritten by AI

infoq.cn, juejin.cn, briefsum.com, aiexpress.news · 4 sources · Sources published: 14–16 October 2026

The coding agent Pi has reached version 1.0 with MCP support and Code Mode, even though its creators spent a year criticising MCP. The new Pi Durable harness is designed to resume the agent’s work after its process crashes.

The open-source coding agent Pi has reached version 1.0. According to InfoQ China, the stable release adds Code Mode and built-in support for MCP, the protocol that connects an AI agent to external tools. On the same day, the team released Pi Durable. It is a new harness, the program that steers the agent: it gives the model its tools and runs its steps.

The details come from an article that InfoQ China published on 14 October. The article is an edited Chinese translation of a podcast in which the host, 0xSero, interviewed Mario Zechner, who created Pi, and Armin Ronacher, who created Flask. Pi is now a project of the company Earendil, and Ronacher speaks for the company in the conversation.

For a year, Zechner and Ronacher criticised MCP as heavy and wasteful with tokens, and Pi’s website used to state that it did not support MCP. Zechner explains the change of mind by saying that models have now been trained to use MCP, and that the servers and the standard have improved. According to InfoQ, Pi does not load the descriptions of every tool into the context window at once. Instead, it fetches them through tool search when it needs them. Some users fear that Pi will become bloated. Ronacher’s answer is that by default Pi loads no more than it did before.

In Code Mode, the agent writes a JavaScript program that runs in a QuickJS sandbox. The program can call tools in parallel, filter and calculate, and only the final result goes back to the model. According to InfoQ, this saves tokens. The program can also call a fast classification model such as Jevi in a loop. Ronacher says this is exactly why MCP ended up in Pi: he needed Code Mode for Jevi, and from there MCP support took only five minutes of work.

According to Zechner, Pi Durable is built for cases where the agent’s process crashes in the middle of a tool call. After a restart, the agent must carry on from exactly the same point without a separate instruction to continue. Many similar systems rebuild their state from an event log (event sourcing), but Zechner says this approach causes problems. In Pi Durable, every LLM call and tool call is a task: the system first records the intent and its parameters, then performs the action and finally records the result. A task can start subtasks. If the process crashes mid-execution, the external service can be called again with an identifier saved in advance. This means that a GitHub Actions run, for example, does not start twice.

Zechner says, however, that not everything can be repeated safely. A deleted file usually cannot be restored, and a credit card must not be charged twice. That is why every action has to fit into this system.

The application stores its state in versioned JSON documents, and each change is tied to a point in the conversation history. When you go back, you can choose either the version of a document from that point or its latest version. JavaScript Proxy objects record the changes. Zechner admits that the method is a slow hack, but one that still works well for what the harness needs.

Pi Durable has about 12,000 lines of code. According to Zechner, it can run on Vercel, Cloudflare Durable Objects, a laptop or a phone, among others. InfoQ reports that an unnamed developer estimated it would replace half of their own code. Zechner says that Earendil will next build a lot with Pi Durable for its own use and then decide what to release.

Report an error in this story