Live data from Hacker News

OpenCode – Open source AI coding agent

opencode.ai

531–540 of 700 posts

Re: OpenCode – Open source AI coding agent

#531

This replaced Aider for me a couple months back. I use it with Qwen 3.5 running locally when my daily limits run out on my other subscriptions. The harness is great. Local models are just slow enough that the subscription models are easier to use. For most of my tasks these days, the model's capability is sufficient; it is just not as snappy.

Could you say more about the differences between Aider and OpenCode?

I briefly dabbled with Aider some months back but never got any real work done with it. Without installing each one of these new tools I'm having trouble grokking what is changing about them that moves the LLM-assisted software dev experience forward.

Re: OpenCode – Open source AI coding agent

#532

I found out about OpenCode through the Anthropic feud. I now spend most of my AI time in it, both at work and at home. It turns out to be pretty great for general chat too, with the ability to easily integrate various tools you might need (search being the top one of course). I have things to criticize about it, their approach to security and pulling in code being my main one, but over all it’s the most complete solu…

Try pi.dev+gpt-5, it works amazingly well

Just note that you need to either create any special features yourself or find an implementation by someone else. It’s pretty bare bones by default

Re: OpenCode – Open source AI coding agent

#533
post #267

Earlier quoted context omitted.

Drives me nuts that we have TUIs written in friggin TS now. That being said, I do prefer OpenCode to Codex and Claude Code.

Why to you prefer? I have a different experience, and want to learn. (I'm also hating on TS/JS: but some day some AI will port it to Rust, right?)

I find it more configurable, for defining (sub)agent abilities, plugins, and different models/providers, of course.

Re: OpenCode – Open source AI coding agent

#534
post #15

Earlier quoted context omitted.

They are not blacklisted. You are allowed to use the API at commercial usage pricing. You are just not allowed to use your Claude Code subscription with OpenCode (or any other third‑party harness for the record).

I have my own harness I wrap Claude CLI in, I wonder if I'm breaking the rules...

If you’re just essentially calling claude -p you’re fine

Re: OpenCode – Open source AI coding agent

#535

Earlier quoted context omitted.

I'd suggest Go ahead of Rust. It's more accessible to contributors.

I think Go might be a better choice but not for that reason at all. Go could implement something like this with no dependencies outside the standard library. It would make sense to take on a few, but a comparable Rust project would have at least several dozens. Also, Go can deliver a single binary that works on every Linux distribution right out of the box. In Rust, its possible but you have to static compile with mu…

Because of all these obvious Go benefits, wonder why they are instead always doing these tools in typescript? Must be some reason?

Re: OpenCode – Open source AI coding agent

#537

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…

Yeah just try to select text to copy. Nope. Try to scroll back in terminal or tmux. Nope. Overbearing for sure.

Re: OpenCode – Open source AI coding agent

#539

Earlier quoted context omitted.

I am more concerned about their, umm, gallant approach to security. Not only that OpenCode is permissive by default in what it is allowed to do, but that it apparently tries to pull its config from the web (provider-based URL) by default [1]. There is also this open GitHub issue [2], which I find quite concerning (worst case, it's an RCE vulnerability). [1] https://opencode.ai/docs/config/#precedence-order [2] https:…

It also sends all of your prompts to Grok's free tier by default, and the free tier trains on your submitted information, X AI can do whatever they want with that, including building ad profiles, etc. You need to set an explicit "small model" in OpenCode to disable that.

Wait what, so are you saying if I am on some other model, it still sends my prompts to Grok??

Re: OpenCode – Open source AI coding agent

#540

Earlier quoted context omitted.

I think Go might be a better choice but not for that reason at all. Go could implement something like this with no dependencies outside the standard library. It would make sense to take on a few, but a comparable Rust project would have at least several dozens. Also, Go can deliver a single binary that works on every Linux distribution right out of the box. In Rust, its possible but you have to static compile with mu…

Because of all these obvious Go benefits, wonder why they are instead always doing these tools in typescript? Must be some reason?

Most developers find it more pleasant.
Post reply on HN