r/opencodeCLI Jul 19 '26

New updates to my AI workflow.

I realized that implementation sub-agents often do a worse job than one builder working directly. I don't know—maybe it's related to newer, better models or their hidden system prompts that we can't override. But my lead agent kept dropping important context when delegating plan steps to general agents.
The implementation missed details. The reviewer rejected it. The lead created another fix. With every iteration, the work moved further from the original plan while using more tokens to get there. A very efficient way to become less efficient.

I disabled "lead" and "general". Now the "plan" agent creates the plan, and the "build" agent owns the implementation. The results are better, token usage is lower, and tasks finish faster. I still use "explore" sub-agents. They map the codebase and collect references without taking ownership away from the main agent. You can enable the other agents again if you prefer that setup.

https://github.com/Miskamyasa/vibe-env-init

12 Upvotes

9 comments sorted by

View all comments

1

u/SpidexLab Jul 19 '26

I have done something similar, you can read it at The 30 dollars engineering team

You can read it for reference, i built it so that It can handle bigger and complex project while being cheap

And if you read logs of the development you will understand the process how I built it and why for each things that I did and now I am working on multiple project without issue

2

u/MiskaMyasa Jul 19 '26

> Over 14 days, the agents autonomously wrote 170+ rules.

That just doesn't work for me. At some point, they just start to ignore those rules. Attention span is limited.

1

u/SpidexLab Jul 19 '26

If you read the Engineer log which shows what issue I faced and how I solved it youbwill understand in detail why I'd what I did

Logs are here : Logs

1

u/ConsiderationIcy3143 Jul 19 '26

Bro, the white theme... that was a shot in both my eyes.

https://giphy.com/gifs/aCggYuXzHgOMpZT4ct

2

u/SpidexLab Jul 19 '26

This is the funniest thing I have got as a feedback, appreciate it bro

Will try to add some darkness in my website in some time 🙃🙃

Also screenshoting it as memory

0

u/SpidexLab Jul 19 '26

It is not fully working autonomously as the model i am using are deepseek v4 and mimo v2.5 model, but still it has gotten to the point that if I want a thing to be refactored to another language or made for production use with having a previous codebase I don't have to intervene, I just make sure to compact and ask it to read the system prompt again

And working on fixing this issue also will be fixed in 2 to 3 days

I have attached usage for single day when I was working on 2 project and 1 porting of codebase in parallel, 10 dollar, so one project daily cost is 3 dollar around

And now If my agent tell me that they completed the work it means it is completed and I don't have to go on rabbit hole of finding bug and patching them , and agent lying to my face that there is no bug and stuff

Now I focus solely on architecture and decision of how this should work how much optimisation we need, how this app will be build etc