r/opencodeCLI • • Mar 29 '26

Why do you guys use opencode?

I've been building my own agent harness for the past few months, and I feel like its pretty dang good. I support a ton of oauths as well (if people are willing to help me test them all that would be great since i don't have them all). I'm wondering though if there is anything about opencode which is particularly good which I or other coding agents don't have? I don't really see the appeal, but I want to understand.

The above video is a chill coding session in my own harness.

https://github.com/1jehuang/jcode

225 Upvotes

190 comments sorted by

View all comments

1

u/gtrak Apr 02 '26

This is cool. I don't know what to build, so I'm also building my own harness in rust (early stages), trying for something a little different though. Do you have any tips for reusable ecosystem libraries for these primitives or do you just reinvent everything?

1

u/Medium_Anxiety_8143 Apr 02 '26

I would say for mostly anything that you are going to use, you could have one of your agents scan the ecosystem for you and see if there is something that fits what you want well, and if not then just invent it. Kinda depends on what part of the ecosystem you mean though. Like I use ratatui and crossterm, but the widget algorithm for example is in house, the fast mermaid rendering didn’t exist, and the memory system is hand designed. What are you going for in your harness?

1

u/Medium_Anxiety_8143 Apr 02 '26

I don’t wana be like the sellout final boss, but you could try building on top of mine

1

u/gtrak Apr 02 '26

I think it would be interesting to combine something like https://github.com/gsd-build/get-shit-done with a stacked diffs https://newsletter.pragmaticengineer.com/p/stacked-diffs workflow for larger projects. So it's more of a CI/CD and review-focused system and less of a terminal agent, but it still needs all that terminal agent stuff.

1

u/Medium_Anxiety_8143 Apr 02 '26

Gsd looks kinda like pure slop to me lol, but I bet you could just pass the repo link in to Jcode in selfdev and it would oneshot a native implementation

1

u/gtrak Apr 02 '26 edited Apr 02 '26

GSD2 (built as an incredibly complicated pi extension) went off the rails fast and inspired me to just try to build my own thing. /shrug

How would jcode handle breaking down a complex project, orchestrating, delegating, and integrating the work? I don't actually want to one-shot anything, I use a local qwen3.5-27b for codegen and kimi k2.5 for planning and review.

This is about just setting something up, going to sleep, and waking up to something workable, or just throwing away the terrible parts, refining the plan, and trying it again.

1

u/Medium_Anxiety_8143 Apr 02 '26

I’m thinking about making my own vcs which is jj adjacent, I think stacked diffs is not exactly the right idea, but the right direction and git does need to change for the age agents

1

u/gtrak Apr 02 '26

I think it's hard to beat git. Basically I have a sqlite DB tracking branches with patches. Each agent run gets a worktree. If something gets merged, I have hook system to rebase the rest and re-run CI.