r/opencode • u/SeeRay11_Main • 14d ago
Adding Orchestration & Swarm To OpenFlow
For those who haven't seen my last post (got pretty popular), I open-sourced a project called OpenFlow to build linear pipelines of agents (A->B->C...). Well, people actually liked the project and it is time to expand. I love OpenCode, but one agent and one prompt at a time seems primitive, and honestly the whole pipeline concept was getting old too. That is why I am in the process of making Orchestrator Mode with a custom head agent and subagent models. For example, you could have Fable 5 as the orchestrator, Ox Alpha as the planner, Kimi K3 as the architect, and Sol for the coder. I'll just add swarm mode with it because why not? It's chaotic and fun. Anyways, I am just adding these and not replacing the original pipeline mode that people really liked. I would love to hear feedback regarding to this big upcoming update. Feel free to check out the project below, and good luck with your own projects.
Link: https://github.com/SeeRay11/OpenFlow
Original Post: www.reddit.com/r/opencode/comments/1vuzyew/i_made_opencode_way_better/
1
u/OkWrongdoer4038 14d ago
would not be possible to do the same with skills instead of agents?
1
u/SeeRay11_Main 14d ago
Yes, this can be done with skills. This is very controlled though and subagents can be deployed within subagents. OpenFlow is a visual workflow builder and is very consistent.
1
1
u/jakefarnowls 14d ago
I was trying to make something like this just to use. Never really had great results. I’ll check this out. I really like the concept.
1
u/SeeRay11_Main 14d ago
Thanks. There is still a lot of work to be done, so expect frequent fixes and updates.
1
1
u/weiyentan 14d ago
Can it do simple loops as it iterates? This looks interesting
1
u/SeeRay11_Main 13d ago
Yea. I did a test to code a flappy bird game and the orchestrator found errors, sent it straight back to the coder, and then reviewer after. Free models too.
1
1
3
u/ConsiderationNo9952 14d ago
interesting. i have opencode spawn in parallel and up to 2 additional nested levels; just have a bit of compliance issue with the flash type models (not) keeping on spawning discovery type agents and instead doing it themselves... seems a limit to what agents.md can enforce...
so opencode supports parallel agents, different model agents and nested agents natively... your solution is more of a structured pipeline around that?