Pinned Tweet
People of Pi: We've shipped Pi 1.0 with Pi Durable. Go make them yours.

earendil.com/posts/pi-1-0/
180
498
4,759
883,230
Thanks @joelniklaus for burning this compute for all of us and sharing the learnings openly. Cost per task is a critical metric for our team so your results make us feel warm and fuzzy
I burned a shitload of compute so you don't have to. Releasing the Harness Leaderboard.

Which harness should you run your open model in? I ran 28,849 trials to find out.

The leaderboard compares nine coding-agent harnesses on open models. In each comparison only the harness vider and reasoning effort stay fixed, and every task gets three attempts.

The trials ran GLM-5.3-Flash, DeepSeek-V4.1-Flash and Flint on Terminal-Bench 2.1 and DeepSWE, for $4,746 of inference.

Averaged over the three models, mini-swe-agent (@KLieret), a bash-only agent, solves 51.4% of tasks and @openclaw 27.3%. Four others are statistically tied with mini-swe-agent.

One of them is Pi (@pidotdev), at 49.4% for $0.29 per solved task, about 45% less than mini-swe-agent's $0.53.

The best harness depends on the model: mini-swe-agent on GLM-5.3-Flash, Hermes Agent (@NousResearch) on DeepSeek-V4.1-Flash and Kimi Code (@Kimi_Moonshot) on Flint.

@opencode costs $3.35 per solved task, 11.7 times as much as Pi.

See Harness Hub's Harness Lens for what the nine harnesses do differently. It documents the prompts, tools and compaction of 34 coding-agent harnesses and links every claim to its source.

Leaderboard: huggingface.co/spaces/joelnik…
Harness Lens: huggingface.co/spaces/harness…
10
50
781
46,181
What have you built so far with Pi Durable? How can we make the experience of building with it better?
66
8
413
44,883
Interns at Earendil also cookin’
cool work by @mitsuhiko here! new code mode runtime

github.com/earendil-works…
1
3
255
28,701
Watch out dependancies, Gramps is unleashing
people of pi. typebox is no longer a pi dependency. you can still use it for tool args etc., but there's really no good reason. updated benchmarks.
3
5
193
16,000
“Machines are tools, not persons”. - Pope Leo
11
42
555
26,322
People of Pi: Happy Halloween 🎃 and think of us if you’re having some pumpkin pie
4
3
322
18,759
Pi retweeted
people of pi (durable). i did a round of performance optimizations in pi-durable.

quick primer. every step of an agent run is saved to a db before the agent moves on. 1 save = 1 commit. thats what makes it durable, crash mid run, resume from the last commit. ~12 commits per run
51
42
792
58,702
🤩
We are proud to be working alongside David to help to steer Agent Skills into an open and collaborative future
4
3
224
23,505
Thanks for spreading the good word about Pi Durable @superlinear_fm
4 things worth building with @pidotdev's Pi Durable + @CloudflareDev Durable Objects:

#1 Durable agents for high-stakes workflows

Pi Durable can identify interrupted operations and avoid automatically replaying unsafe calls. Imagine an agent refunding a customer, then crashing tion. You don't want it refunding the customer twice.
Pi Durable checkpoints each step, recording the intent to execute a tool call and whether it completed. After a crash, it knows which operations were interrupted. Unsafe calls aren't blindly retried, so your app can check whether the payment went through before proceeding.

#2 Shared team agents

Pi Durable + Cloudflare Durable Objects are a great foundation for multiplayer agentic coding.
A Durable Object holds the persistent agent state. Multiple clients can connect to the same session, incoming messages are queued or used to steer the agent, and updates are streamed to everyone.
Imagine an agent picking up a GitHub issue and working on a PR while teammates watch or steer the same conversation from their phones, browsers, or terminals. @pidotdev's shared-chat tutorial demonstrates this.

#3 Agents that run anywhere

@badlogicgames built a Pi Durable Android app that runs the agent harness and stores its state locally on his phone, while model calls happen remotely.
Pi Durable separates agent state from execution, with pluggable storage and execution backends. The harness can run anywhere there's a compatible JavaScript runtime, and its tools can execute on another machine. Your durable agent doesn't need an always-running terminal or cloud server just to preserve the agent's state, the harness can run locally, on a phone, or in the cloud.

#4 Build new tools on top of agent state

This is the one we're most excited about.
Pi Durable persists structured tasks, checkpoints, and interrupted operations. That means you can inspect an agent's execution state without asking the model to reconstruct what happened.
We experimented with putting Pi Durable inside a Cloudflare Durable Object and visualizing its stored state without waking the agent.
Imagine using that data to build:
- Debugging dashboards showing exactly where an agent crashed.
- Reliability metrics showing which tool calls repeatedly fail or need recovery.
- Multiplayer dashboards showing pending tasks, who steered an agent, and when.
The interesting part is that durable execution state becomes a new primitive you can build tools on top of, not just something used for crash recovery.

00:00 What is Pi Durable?
07:06 Idea 1: Durability for high-stake workflows
13:16 How to build with Pi Durable
16:31 Durable storage: local vs. cloud
19:46 Pi Durable + Cloudflare Durable Objects
32:20 Idea 2: Multiplayer agents with shared state
35:01 Idea 3: Running the harness on a phone
37:45 Idea 4: Inspecting persistent agent state

🧵👇 Links to YouTube, Apple Podcasts, and Spotify below.
1
12
172
16,717
Replying to @Recursive_SI
@Recursive_SI shipped its first model, Flint! Exciting to see they did extensive RL training on the Pi harness, so it works well out of the box.
40B MoE (2.5B active) for fast local coding. Apache 2.0.

Available now for free in Pi via Radius.
Introducing Flint, @Recursive_SI’s first model: a fast local coding model built with our automated research system, the Eureka Machine.

• Best-in-class fast local coding
• Up to 2x faster than comparable models: 125+ tokens/sec on a MacBook Pro, 150+ on RTX Spark
• Built from hs

Private, unmetered intelligence on your own machine. Open weights available now on @huggingface, run it locally on your favorite framework or try it for free on @opencode or @pidotdev.
24
38
640
42,736
Replying to @pidotdev
You can start coding with Flint in Pi for free

/login radius
3
0
23
2,707
We have huge respect for the engineering at Vercel and are excited they are building with Pi-Durable
Introducing 𝚍𝚞𝚛𝚊𝚋𝚕𝚎-𝚑𝚊𝚛𝚗𝚎𝚜𝚜. Run Pi, OpenCode, Codex, Claude Code, eve, fx, or your own harness durably on Vercel.

With 𝚍𝚞𝚛𝚊𝚋𝚕𝚎-𝚑𝚊𝚛𝚗𝚎𝚜𝚜, agents automatically resume work after failures and run for hours, days, or months. vercel.com/blog/making-ev…
15
30
1,065
142,448
Thanks @_alejandroao for all the effort you put into helping others understand what we build
i had opus 5.5 distill this 30 min lecture about pi-durable into a 7 min vid with my voice.

> qwen3 tts could do a better job cloning my voice
> the video looks great. i'm working on industrializing these kind of explanation videos.

good starting point, but i still recommend watchia more detailed explainer.
3
26
576
39,595
Today's Monday Meditations is a photo of a rock sculpture someone at Earendil built in Austria
10
1
146
21,278
Pi retweeted
I'm using Pi Durable for everything rn. I even added a self healing feature that fixes my code automatically.

youtube.com/watch?v=BLRReT…
9
23
398
67,795
For your weekend reading: Build with Pi Durable on Cloudflare, a walkthrough of how to create a multiplayer chat agent, including subagents, on Durable Objects.

earendil.com/posts/pi-durab…
41
132
1,615
116,098
Replying to @pidotdev
Check out the sample repo for full details

github.com/earendil-works…
1
4
38
12,247
I’m glad Radius and I are on speaking terms again
radius.earendil.com
Radius gives you inference, built for Pi. Radius speaks the pi-messages protocol. Why does that matter? 👇🏼
3
3
164
20,820
It's an exciting day for local AI builders. You can now use local models in Pi on your RTX Spark laptop.

We’ve worked with @NVIDIARTXSpark on a guide to getting set up with llama.cpp and NVIDIA’s optimized recipes.

Here’s how to get started ↓
6
13
391
26,342
Replying to @pidotdev
Run Pi locally on RTX Spark with llama.cpp: pi.dev/docs/latest/nv…
0
3
32
5,767
Welcome to our Monday Meditations! 🌞

@badlogicgames and @mitsuhiko are chatting about self modifying software and harnesses.
12
26
394
38,849
Replying to @pidotdev
2
1
27
8,598