<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/pi-1-0-ships-mcp-and-codemode-and-theo-s-t3-code-piles-on-q0ayz3ljq" -->

---
title: Pi 1.0 ships MCP and codemode, and Theo&#x27;s T3 Code piles on
description: Pi, the open-source terminal coding agent from Earendil, reached its 1.0 release with MCP support (via pi mcp add, covering stdio and remote servers plus...
canonical: https://daily.dev/posts/pi-1-0-ships-mcp-and-codemode-and-theo-s-t3-code-piles-on-q0ayz3ljq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Pi 1.0 ships MCP and codemode, and Theo&#x27;s T3 Code piles on | daily.dev
og:description: Pi, the open-source terminal coding agent from Earendil, reached its 1.0 release with MCP support (via pi mcp add, covering stdio and remote servers plus...
og:url: https://daily.dev/posts/pi-1-0-ships-mcp-and-codemode-and-theo-s-t3-code-piles-on-q0ayz3ljq
og:image: https://api.daily.dev/og/posts/q0AYZ3ljQ.png
og:image:alt: Pi 1.0 ships MCP and codemode, and Theo&#x27;s T3 Code piles on
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Pi 1.0 ships MCP and codemode, and Theo's T3 Code piles on

**[Trends](https://daily.dev/sources/trends)** · 3 min read · 4 upvotes · 0 comments

## Summary

Pi, the open-source terminal coding agent from Earendil, reached its 1.0 release with MCP support (via pi mcp add, covering stdio and remote servers plus OAuth) and a new codemode feature where the model writes JavaScript executed in a QuickJS sandbox to call tools in parallel, reducing token overhead versus one-at-a-time tool calls. A setup guide covers installation and recommends running Pi in a container for untrusted work. The same week, Theo merged a large PR into T3 Code adding Pi support, a delegate_task feature for spawning child agents on any provider, an ACP Registry for agents like Devin, Cline, Kimi and Droid, Cursor support via its official SDK (with a jab at Cursor's

## Content

The loudest reaction to Pi hitting 1.0 is @omarsar0's: "MCP won! I started to use Pi heavily for its customisations. This will take it to another new level of what's possible to build with it." That's a notable thing to say about a terminal coding agent whose whole pitch used to be "no MCP, bring your own tools." Now MCP support is a headline feature.

## What shipped

Pi is the open-source terminal coding agent from Earendil. The 1.0 release (one write-up lists the date as October 1, 2026) adds native MCP through `pi mcp add`, covering both stdio and remote/OAuth servers. The twist is codemode: the model writes JavaScript that runs in a QuickJS sandbox and calls tools in parallel, keeping intermediate results out of the context window. The pitch is fewer tokens spent shuttling tool output around.

Other additions include:

- Custom model routing via virtual models, where an extension picks the physical model per request
- Deferred tool loading to save context
- Cache warming for Anthropic workflows
- Mid-conversation system messages
- Full-screen mode by default and a new adaptive terminal theme

Both Pi and Pi Durable are MIT licensed. You still pay for the models.

## The real action is Pi Durable

Pi Durable is an experimental package for long-running, resumable agents with checkpointing, forking, and typed JSON document storage. Cloudflare's Agents SDK now supports the harness for agents that survive crashes. @mitsuhiko and @stolinski both amplified that announcement.

@omarsar0 went the furthest, building an OpenAI dots clone on it: "Own your personal agent, folks." His version is proactive, runs scheduled jobs, waits for approval, and gives each Space a full Linux desktop it drives with screenshots, mouse, and keyboard. His favorite party trick: "I can kill the process mid-task, and My Pi picks up right where it left off." Memory lives in durable documents and carries across Spaces. Models run through OpenRouter, so swapping is trivial. He plans to open-source it after more testing.

## Pi is becoming a plug-in target

@theo's giant T3 Code PR lists Pi support alongside Cursor's official SDK (he calls the CLI "broken"), OpenCode 2, and an ACP Registry for Devin, Cline, Kimi, and Droid. Add thread forking, mid-thread model switching, and a `delegate_task` tool that spawns child agents on any provider. He's "pumped this landed" but warns of "a lot of cleanup" ahead.

The pattern is hard to miss. Harnesses are turning into interchangeable parts, and the fight is moving to durability, orchestration, and who owns the loop. A guide for Pi's setup also recommends running it in a container for untrusted work, which is sensible advice for anything executing model-written JavaScript.

## Questions this post answers

### What is codemode in Pi 1.0 and how does it reduce token usage with MCP tools?

Codemode is Pi 1.0's approach to MCP where instead of injecting every tool definition and result directly into the model's context, the model writes JavaScript that runs in a QuickJS sandbox. That script calls Pi's tools, combines results, and keeps intermediate data out of the prompt, reducing tokens spent on plumbing compared to standard tool-calling MCP implementations.

_Teams weighing codemode against plain tool calling can track real-world comparisons on daily.dev._

### How do I add an MCP server to Pi using the pi mcp add command?

The pi mcp add command handles both stdio servers and remote or OAuth-based MCP servers. Pi itself installs via npm or an installer script, and running it inside a container is recommended for untrusted work since the model writes code that calls your tools directly, which carries risk if the code is untrusted.

_Developers setting up MCP servers can follow agent-tooling updates like this on daily.dev._

### What is Pi Durable and what features does it offer for building agent applications?

Pi Durable is an experimental MIT-licensed package from the Pi team for building long-running, resumable, multi-conversation agent applications. It provides checkpointing, forking, and typed JSON document storage, letting developers build agent apps that can pause and resume across multiple conversation threads.

_Builders evaluating durable agent infrastructure can keep tabs on releases like this via daily.dev._

## Community take

How the wider developer community reacted, aggregated from 1 discussion and 100 comments across x (as of 2026-10-05).

**TL;DR:** Reaction to Pi support and the big T3 Code PR (delegate_task, MCP, ACP registry, Cursor SDK) is overwhelmingly enthusiastic, with developers calling out delegate_task, auto-resume, and mid-thread provider switching as the standout features, alongside scattered bug reports and feature requests.

**Sentiment:** 78% positive · 17% mixed · 5% skeptical

**The case for**

- delegate_task's ability to spawn child agents on any provider is widely seen as the standout feature for multi-agent workflows.
- Auto-resume when rate limits reset is praised as something people will rely on daily.
- Mid-thread provider/model switching is called a major convenience that removes the need for separate worktree tabs.
- MCP support is welcomed as filling a real gap in agent management.
- Moving Cursor integration to its official SDK is seen as a relief over the previous broken CLI approach.

**The pushback**

- Some report bugs after updating, including commit generation failing with OpenCode and a broken connection on the mobile app.
- Requests to gate delegate_task more carefully so parent agents retain scope and final checks over child agents.
- Switching providers mid-thread reportedly doesn't carry over old tool results or attachments, which concerns some for benchmarking use.
- A few users can't find or use the new Pi provider even on the latest nightly build.
- Frustration that the git worktree/branch prefix still can't be customized.

**By community**

- x (positive): Replies are dominated by excitement and congratulations for the Pi support and the large T3 Code feature PR, with a handful of bug reports and feature requests mixed in.

**Open questions**

- Will the child-agent delegate_task system get a true stop mechanism and auditable receipts rather than just status lines?
- How will context (tool results, attachments) be preserved when switching providers mid-thread?
- Will branch/worktree naming become customizable beyond the default prefix?

**Highlights**

> @theo delegate_task spawning child agents on any provider is the sleeper feature. Combined with mid-thread provider switching, your thread outlives any single model's failure mode. The lineage view is what makes it debuggable in practice.
> — [Genwise17907 on x](https://x.com/Genwise17907/status/2106194020099907994)

> @theo The delegate_task bit is the one I care about. Starting child agents is easy. The hard part is a stop that actually stops them, and a receipt that is a file you can open, not just a status line.
> — [dannysun85 on x](https://x.com/dannysun85/status/2106246242993164659)

> @theo The delegate_task piece is the one I would gate hardest. Child agents help, but only when the parent owns scope and a final check.
> — [themccodes on x](https://x.com/themccodes/status/2106255507141144819)

> @theo I checked the V2 notes: switching provider doesn't carry old tool results or attachments. For my benchmark work, that handoff needs its own test. Otherwise I could blame the next model for context it never received.
> — [sawani\_sid94949 on x](https://x.com/sawani_sid94949/status/2106415520685998093)

> @theo Commit generation is failing when using OpenCode. I’m not sure if it’s just me. Btw, it’s my first day using T3 Code, and I’m loving it so far. I didn’t expect it to be this good. I’d just really like to see commit generation working.
> — [maxbbls on x](https://x.com/maxbbls/status/2106210783852179525)

**Source threads**

- [x](https://x.com/theo/status/2106123856759120317) · 0 points · 100 comments

## Similar posts on daily.dev

- [Bytes \#526](https://daily.dev/posts/bytes-526-ij6r3zq4b) · Bytes by ui.dev · 0 upvotes · 0 comments
- [Alternative Coding Agents: Pi](https://daily.dev/posts/alternative-coding-agents-pi-isvyl3rz6) · Scott Logic · 15 upvotes · 0 comments
- [Pi: The Minimal Agent Within OpenClaw](https://daily.dev/posts/pi-the-minimal-agent-within-openclaw-tiq1vwnxw) · Armin Ronacher · 7 upvotes · 0 comments
- [pi.dev](https://daily.dev/posts/pi-dev-m8ldx0c1j) · Hacker News · 16 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#mcp](https://daily.dev/tags/mcp)

[View this post on daily.dev](https://daily.dev/posts/pi-1-0-ships-mcp-and-codemode-and-theo-s-t3-code-piles-on-q0ayz3ljq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Pi 1.0 ships MCP and codemode, and Theo's T3 Code piles on","url":"https://daily.dev/posts/pi-1-0-ships-mcp-and-codemode-and-theo-s-t3-code-piles-on-q0ayz3ljq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/pi-1-0-ships-mcp-and-codemode-and-theo-s-t3-code-piles-on-q0ayz3ljq"},"datePublished":"2026-10-03T19:16:46.663Z","dateModified":"2026-10-05T22:12:19.497Z","description":"Pi, the open-source terminal coding agent from Earendil, reached its 1.0 release with MCP support (via pi mcp add, covering stdio and remote servers plus...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/05f2d6bd577015bbba270fced0baebbd?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/05f2d6bd577015bbba270fced0baebbd?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Trends","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Trends","logo":"https://media.daily.dev/image/upload/s--ZfSp3asX--/f_auto,q_auto/v1780996004/logos/trends?_a=BAMAMiWQ0","url":"https://daily.dev/sources/trends"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/pi-1-0-ships-mcp-and-codemode-and-theo-s-t3-code-piles-on-q0ayz3ljq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai-agents,mcp","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Trends","item":"https://daily.dev/sources/trends"},{"@type":"ListItem","position":3,"name":"Pi 1.0 ships MCP and codemode, and Theo's T3 Code piles on"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/pi-1-0-ships-mcp-and-codemode-and-theo-s-t3-code-piles-on-q0ayz3ljq#faq","mainEntity":[{"@type":"Question","name":"What is codemode in Pi 1.0 and how does it reduce token usage with MCP tools?","acceptedAnswer":{"@type":"Answer","text":"Codemode is Pi 1.0's approach to MCP where instead of injecting every tool definition and result directly into the model's context, the model writes JavaScript that runs in a QuickJS sandbox. That script calls Pi's tools, combines results, and keeps intermediate data out of the prompt, reducing tokens spent on plumbing compared to standard tool-calling MCP implementations. Teams weighing codemode against plain tool calling can track real-world comparisons on daily.dev."}},{"@type":"Question","name":"How do I add an MCP server to Pi using the pi mcp add command?","acceptedAnswer":{"@type":"Answer","text":"The pi mcp add command handles both stdio servers and remote or OAuth-based MCP servers. Pi itself installs via npm or an installer script, and running it inside a container is recommended for untrusted work since the model writes code that calls your tools directly, which carries risk if the code is untrusted. Developers setting up MCP servers can follow agent-tooling updates like this on daily.dev."}},{"@type":"Question","name":"What is Pi Durable and what features does it offer for building agent applications?","acceptedAnswer":{"@type":"Answer","text":"Pi Durable is an experimental MIT-licensed package from the Pi team for building long-running, resumable, multi-conversation agent applications. It provides checkpointing, forking, and typed JSON document storage, letting developers build agent apps that can pause and resume across multiple conversation threads. Builders evaluating durable agent infrastructure can keep tabs on releases like this via daily.dev."}}]}
```

