Live data from Hacker News

OpenCode – Open source AI coding agent

opencode.ai

581–590 of 700 posts

Re: OpenCode – Open source AI coding agent

#581
post #282

Earlier quoted context omitted.

> AI can be used to do either fast releases or well designed code I have yet to actually see a single example of the latter, though. OpenCode isn't an isolated case - every project with heavy AI involvement that I've personally examined or used suffers from serious architectural issues, tons of obvious bugs and quirks, or both. And these are mostly independent open source projects, where corporate interests are (hope…

> It's easy to say "just mindlessly follow X principle and your software will be good", where X is usually some variation of "just add more tests", "just add more agents", "just spend more time planning" etc That's a complete strawman of what I — or others trying to learn how to use coding agents to increase quality, like Simon Willison or the Oxide team — am saying. > but I choose to believe that good software canno…

Show me an example then. I want to see an example of quality software that makes heavy use of AI generated code (as in, basically written entirely by AI similar to OpenCode), led by developer(s) who care deeply about software quality but still choose to not write code themselves.

Re: OpenCode – Open source AI coding agent

#582

Earlier quoted context omitted.

It might well be a mixture, but 95% of that mixture is vendor lock in. Same reason they don't support AGENTS.md, they want to add friction in switching.

If it was lock in they wouldn't make it absolutely trivial to change inference providers in Claude Code.

The goal is to use Anthropic subscriptions outside of Claude Code!! That is the lock in.

Re: OpenCode – Open source AI coding agent

#584

I love OpenCode! I wrote a plugin that adds two tools: prune and retrieve. Prune lets the LLM select messages to remove from the conversation and replace with a summary and key terms. The retrieve tool lets it get those original messages back in case they're needed. I've been livestreaming the development and using it on side projects to make sure it's actually effective... And it turns out it really is! It feels lik…

That borks the cache and costs you more.

Re: OpenCode – Open source AI coding agent

#585

[flagged]

It’s both! The core is implemented as a server and any UI (the TUI being one) can connect to it.

It’s actually “dumber” than any of your suggestions - they just let the agent explore to build up context on its own. “ls” and “grep” are among the most used discovery tools. This works extraordinarily well and is pretty much the standard nowadays because it lets the agent be pretty smart about what context it pulls in.

Re: OpenCode – Open source AI coding agent

#586

Stupid question, but are there models worth using that specialize in a particular programming language? For instance, I'd love to be able to run a local model on my GPU that is specific to C/C++ or Python. If such a thing exists, is it worth it vs one of the cloud-based frontier models? I'm guessing that a model which only covers a single language might be more compact and efficient vs a model trained across many lan…

Months ago I tested a concept revolving this issue and made a weird MCP-LSP-LocalLLM hybrid thing that attempts to enhance unlucky, fast changing, or unpopular languages (mine attempts with Zig)

Give it a look, maybe it could inspire you: https://github.com/fulgidus/zignet

Bottom-line: fine-tuning looks like the best option atm

Re: OpenCode – Open source AI coding agent

#588

OpenCode was the first open source agent I used, and my main workhorse after experimenting briefly with Claude Code and realizing the potential of agentic coding. Due to that, and because it's a popular an open source alternative, I want to be able to recommend it and be enthusiastic about it. The problem for me is that the development practices of the people that are working on it are suboptimal at best; they're con…

[dead]

Re: OpenCode – Open source AI coding agent

#589
I've used both. I stuck with Claude Code, the ergonomics are better and the internals are clearly optimized for Opus which I use daily, you can feel it. That said OpenCode is still a very good alternative, well above Codex, Gemini CLI or Mistral Vibe in my experience.
Post reply on HN