r/opencode • u/SeeRay11_Main • 10d ago
I Made OpenCode Way Better
Hey everyone,
I have been using OpenCode for a while now. It's pretty great, but there was this one thing that kept bugging me: I couldn't easily create custom reliable workflows and pipelines. For a while, Opencode was one prompt and one model at a time. So, I created OpenFlow, a very minimalist open-sourced project that allows you to orchestrate a pipeline of agents while still connecting your own API keys. I forked it from OpenCode, so you still have the harness, skills, and overall ability. I published it recently and am still often improving it. I would love to hear some feedback of what you guys thought of it and how I can improve it. Thanks!
6
u/Diligent-Loss-5460 10d ago
The only reason this exists is because opencode refuses to merge the countless PRs open for allowing primary session to dynamically select subagent model.
2
u/TermBudget8901 9d ago
Check out code-yeongyu/oh-my-openagent. Pretty good but ive been setting up since yesterday for my model selection list to be cost savings as much possible with open code go + zen free models + openrouter + gemini and ollama cloud free tiers.
1
u/TheMythicSorcerer 10d ago
Hmm. too many buttons / controls for me.
1
u/SeeRay11_Main 10d ago
Yeah, it’s a trade off. Tried keeping it as simple as possible but of course a single prompt will be a lot more simple than building pipelines. I recommend using OpenCode for small tasks and OpenFlow when you are trying to make something more complex. Thanks for the feedback.
1
u/ZER0-O 10d ago
Unrelated question, fable for architecture and opus for planning ? Can you elaborate
1
u/SeeRay11_Main 10d ago
I haven’t used Fable much cuz of limits, but Opus 5 lies and doesn’t follow specific directions well. Honestly, if you want to know what is going on especially when planning, I’d use Opus 4.8.
1
u/DuckDatum 10d ago
What about Sol 5.6?
1
u/SeeRay11_Main 10d ago
Idk
1
u/DuckDatum 10d ago
That seems to be the consensus.
I use it exclusively, deal with the limits. Curious how much better it really is, though.
1
u/SeeRay11_Main 10d ago
AI models always 1 up each other. Might want to stick with one provider or use openrouter or smth.
1
u/Dangerous-Task5504 10d ago
Cool project. But i still like creating the architecture myself and debate with AI than letting him cook garbage
1
1
u/Kaalnashak 9d ago
Waste of tokens... every time you change models.. all cache hits miss.
1
u/SeeRay11_Main 9d ago
I noticed that too. I am fixing a lot of stuff like prompt caching, making sure the run scripts have safety fallbacks, etc.
1
u/Kaalnashak 9d ago
still if you are using frontier models you don't need to use different models for planning, coding etc.. sonet 5 or opus 5 etc will work for most of tasks and it will also give you good chache hits if you don't keep changing models.. only do for cheap models like deepseek flash etc where you need better model for planning.
1
u/SeeRay11_Main 9d ago
Yeah. This project is about connecting agents from all providers to work together, and even these frontier models have big flaws which a lot of people have complained abt. I am just finding ways to make ai better.
1
u/npittas 9d ago
opencode uses the same session to continue an agent from where it was last time so the conversation just stops when an agent is finished, and re-used when an orchestrator recals the same agent with another question. So orchestrator session is kept, subagent sessions also are kept untill reuse. In that case, we are not talking about changing models, but simply opening 2-3 sessions of an orchestrator, an architect, an implementer and a reviewer, all with their own models and caches, that are been reused. Does this fall under the cache recreation/miss also? I get if there is a certain time limit for cache expiration, but in a single orchestration session, I would not think that as an issue. Am I wrong?
1
1
u/Aggressive-Habit-698 10d ago
Why ? Orca, open chambers, paseo, code no and and a lot more already exists.
2
u/SeeRay11_Main 10d ago
Yeah, I tried other things too. Always something that I didn’t like, so why not create my own. Feel free to fork it to fit your own needs.
6
u/Hurricane31337 10d ago
Really cool! I don’t understand the critics. Another tool and new concepts are always welcome and drive the innovation. And I also don’t think the UI is too complicated. It’s very well done for an initial version!