Top
Best
New

Posted by rbanffy 1 day ago

OpenCode – Open source AI coding agent(opencode.ai)
1207 points | 595 commentspage 9
moron4hire 19 hours ago|
What is this pervasive use of yield*? I've been writing Typescript for quiet some time and I've never seen yield* used in this way: https://github.com/anomalyco/opencode/blob/dev/packages/open...
vexna 18 hours ago|
They are using effect-ts which uses yield as their equivalent to haskells Do notation.
fareesh 16 hours ago||
easily the best one
nullorigin 14 hours ago|
yep
awaseem 1 day ago||
Love opencode!
DeathArrow 1 day ago||
I see it uses massive resources for TUI interfaces like 1GB+ of RAM.

I wonder why did they use Typescript and not a more resource efficient language like C, C++, Rust, Zig?

Since their code is generated by AI human preferences shouldn't matter much and AI is happy to work with any language.

globular-toast 1 day ago||
I use this. I run it in a sandbox[0]. I run it inside Emacs vterm so it's really quick for me to jump back and forth between this and magit, which I use to review what it's done.

I really should look into more "native" Emacs options as I find using vterm a bit of a clunky hack. But I'm just not that excited about this stuff right now. I use it because I'm lazy, that's all. Right now I'm actually getting into woodwork.

[0] https://blog.gpkb.org/posts/ai-agent-sandbox/

villgax 1 day ago||
The fact that I wasn’t able to link llama.cpp server locally without fuss kinda beats the whole open point. Open for proprietary APIs only?
arunakt 1 day ago||
Does it support hybrid models, for e.g deep research by Model 1 vs faster response from Model2
convnet 1 day ago|
Yes
TZubiri 1 day ago||
I started with Codex, then switched to OpenCode, then switched to Codex.

OpenCode just has more bugs, it's incredibly derivative so it doesn't really do anything else than Codex.

The advantage of OpenCode is that it can use any underlying model, but that's a disadvantage because it breaks the native integration. If you use Opus + Claude Code, or Gpt-Codex + Codex App, you are using it the way it was designed to be used.

If you don't actually use different models, or plan to switch, or somehow value vendor neutrality strategically, you are paying a large cost without much reward.

This is in general a rule, vendor neutrality is often seen as a generic positive, but it is actually a tradeoff. If you just build on top of AWS for example, you make use of it's features and build much faster and simpler than if you use Terraform.

ftchd 1 day ago||
minus Claude login
ymaeda 1 day ago|
nice
More comments...