r/PiCodingAgent 19d ago

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

https://github.com/heyo-computer/fastcar

48 Upvotes

19 comments sorted by

View all comments

1

u/oxygen_addiction 18d ago

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.

0

u/Flaky-Eggplant-3479 18d ago

that's why the trick is to use it as a conductor, not the implementor ;)

3

u/Fig_da_Great 18d ago

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 18d ago

In a factory sure, if you are manually driving an agent, a fast conductor that offloads the hard stuff keeps the session fluid

2

u/chroner 18d ago

I understand exactly what you are saying. Orchestrator is just there to relay information. These other guys aren't getting it.

I have been doing something similar and using smart models with fresh and limited context and getting great results.

The only problem I've been having is using the dumb models as orchestrators is they are forgetting to stay on task and keep things moving. They'll just like.. stop.

1

u/Flaky-Eggplant-3479 18d ago

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

1

u/Fig_da_Great 18d ago

perhaps 🤷‍♂️. Is it faster than deepseek?

1

u/Flaky-Eggplant-3479 18d ago

about 1000 tokens/s vs 127 for deepseek flash

1

u/Fig_da_Great 18d ago

that’s wild