r/opencode • u/SeeRay11_Main • Aug 22 '26
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!
1
u/Dangerous-Task5504 Aug 22 '26
Cool project. But i still like creating the architecture myself and debate with AI than letting him cook garbage
1
1
u/Kaalnashak Aug 23 '26
Waste of tokens... every time you change models.. all cache hits miss.
1
u/SeeRay11_Main Aug 23 '26
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 Aug 23 '26
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 Aug 23 '26
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 Aug 23 '26
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 Aug 22 '26
Why ? Orca, open chambers, paseo, code no and and a lot more already exists.
2
u/SeeRay11_Main Aug 22 '26
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.
9
2
u/TermBudget8901 Aug 23 '26
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
Aug 22 '26
[removed] — view removed comment
1
u/SeeRay11_Main Aug 22 '26
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
Aug 22 '26
[removed] — view removed comment
1
u/SeeRay11_Main Aug 22 '26
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 Aug 22 '26
What about Sol 5.6?
1
u/SeeRay11_Main Aug 22 '26
Idk
1
u/DuckDatum Aug 22 '26
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 Aug 22 '26
AI models always 1 up each other. Might want to stick with one provider or use openrouter or smth.
6
u/Hurricane31337 Aug 22 '26
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!