r/PiCodingAgent • u/behopkinsj • 18h ago
Plugin I Built an Orchestration Plugin That's Been Saving Me Costs
I built an orchestration plugin for Pi, with the goal of optimizing costs and making Pi more precise.
I've been wanting to build this for a while; it uses LangGraph to link agents together so that they focus on a single task, while Pi acts as the orchestrator. Once an orchestration flow is created, it can be reused later. So once you have an automation that works well, you can use it however many times you'd like.
So far, it's been saving me cost with long-running tasks. What do you all think?
Website: https://leafi.app/pi/
GitHub: https://github.com/Bruce-Hopkins/Leafi
5
u/invin10001 14h ago
Wait, how does putting multiple agents on the same task save costs? Shouldn't you break down the task so each is byte-sized for the right agent to pick up and implement? Maybe I'm missing the bigger picture, can you elaborate with an example?
1
u/fingerthief 13h ago
Are there any numbers or measurements on cost?
All the studies and papers I’ve read on orchestration along with my own evals show it’s basically never actually cheaper. Certainly useful for other reason but not for cost.
2
u/swagonflyyyy 11h ago
I was using a different one and noticed my orchestrator agent ranting:
Guess it worked lmao.
-1
u/No-Sandwich1809 4h ago
Low key would you built this, props. Saving real money is a flex too. Most devs just chase cool features, but cost-cutting? That’s the real upgrade. Gonna give it a spin soon!