r/PiCodingAgent • u/Flaky-Eggplant-3479 • Aug 24 '26
Use-case Fastcar: Pi + Diffusion LLM
If you haven't tried using a diffusion based model before, they are lightning fast. I've used InceptionLabs Mercury 2 for a bit, and my complaint is largely that its not the best at coding tasks or tool usage. But my god is it fast.
So I took the Pi SDK, made a harness in which Mercury 2 is the orchestrator of subagents, including a coding subagent for difficult tasks that calls out to openrouter for inference, plus a cheap subagent for trivial stuff. Bolted on a handful of tools and such useful for me, and wrapped it in a basic web UI so I could use it from my phone.
Aside from being extremely fast, fastcar:
Can generate public "artifacts" - HTML and MD files served from the API
Intended to ran entirely inside a VM so that it has root access and can install its own tools
Give it a github token and let it clone repos and make PRs
"Prompt threads" - there's probably a better name for this but its a dedicated prompt that gets invoked via webhook; I actually made this so that I could generate text files to read the news from my Xteink 4
Send emails to notify you
1
u/Flaky-Eggplant-3479 Oct 06 '26

really enjoying building on top of Pi - updated fastcar with inbox-style layout, "create agents" workflow, integrated email and updated model settings to allow for OMLX support.
Also Mercury 2.5 is really good at tool use and as a dispatcher to more robust coding models, but also tiny dirt cheap models.
This is my default for personal stuff and coding on mobile. I just deploy to a firecracker VM on Heyo Computer and expose the mobile ui behind a Google auth login ✨
1
u/oxygen_addiction Aug 24 '26
Meecury 2 is dumb as shit. Worse than Qwen 27B. I've tried using it as a subagent for fast boiler plate implementation and it always fucked up.
3
u/Heavy-Positive5957 Aug 25 '26
But look how good it was at making that single page of plain text!
1
u/Flaky-Eggplant-3479 Aug 25 '26
That would have been GLM 5.2 - its using mercury 2 to coordinate subagents, help plan, and manage the vm
1
u/AllNamesAreTaken92 Aug 26 '26
Let me get this straight, in case I misunderstand: you are handing off planning to a dumber model?
1
u/Flaky-Eggplant-3479 Aug 27 '26
The coordinating model is mercury 2, it will spawn a subagent to create the plan for complex tasks and for minor tasks it will just make it and then hand it off
0
u/Flaky-Eggplant-3479 Aug 24 '26
that's why the trick is to use it as a conductor, not the implementor ;)
3
u/Fig_da_Great Aug 24 '26
bro, i feel like you want to do the opposite, smart orchestrator, dumber sub agents which are given specialized tasks.
1
u/Flaky-Eggplant-3479 Aug 24 '26
In a factory sure, if you are manually driving an agent, a fast conductor that offloads the hard stuff keeps the session fluid
1
u/Fig_da_Great Aug 25 '26
perhaps 🤷♂️. Is it faster than deepseek?
1
0
Aug 25 '26
[deleted]
1
u/Flaky-Eggplant-3479 Aug 25 '26
haven't really ran into that yet with mercury 2 - this project uses Pi under the hood and postgres for memory and metadata and compaction was the first tool I built for it
0
5
u/Tinominor Aug 24 '26
> that calls out to openrouter for inference
Does this work with my personal model.jsons?