Live data from Hacker News

OpenCode – Open source AI coding agent

opencode.ai

671–680 of 700 posts

Re: OpenCode – Open source AI coding agent

#671

Earlier quoted context omitted.

I use Pi with Aliyun, which cost a flat ¥40 (~€5) per month for GLM-5, Kimi K2.5, Minmax and a few other models. Honestly, these models seem quite on par with Claude. Some days they seem slightly worse, some days I can't tell the difference. AFAIK, the usage quota is comparable to the Claude $200 subscription.

Note as of yesterday, they retired the lite coding plan you're talking about. New buy-in is $50/month for the pro plan unless you were already on the lite plan.

Website says ¥200, which is €25, around USD28.

That's a pretty big leap (5x), but still substantially cheaper than the average American hosting.

Re: OpenCode – Open source AI coding agent

#672

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…

I'm quite impressed by how a team managed to wangle the mental model of React and JSX into a terminal interface and in fact I can only imagine that that itself is a product of AI.

That said, the runtime is so resource heavy that, even though the heavy computational workload is given to AI on a remote cluster of servers, it will bring an old-ish laptop to a stall.

I do wonder though...highly interactive TUIs are not novel. I would wager that AI + the attention of frontend devs have created an environment where you can make fancy terminal UIs without concern for how terminals generally work and if Electron is sitting in the background, it proves it.

Re: OpenCode – Open source AI coding agent

#673

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?

I don't get it either.

Re: OpenCode – Open source AI coding agent

#674

Earlier quoted context omitted.

Can you talk more about how you leverage higher quality models for the stuff that counts? Anywhere I can read more on the philosophy of when to use each?

Sure happy to share. It’s been trial and error, but I’ve learned that for agents to reliably ship a large feature or refactor, I need a good spec (functional acceptance criteria) and I need a good plan for sequencing the work. The big expensive models are great at planning tasks and reviewing the implementation of a task. They can better spot potential gotchas, performance or security gaps, subtle logic and nuance th…

Interesting! This aligns with what I’ve been trying myself. Thanks for sharing.

Re: OpenCode – Open source AI coding agent

#675
post #255

Earlier quoted context omitted.

Oh wow. I got multiple messages in a day and just assumed it was a cache bug. It's annoying how I always get that "claude code has a native installer xyz please upgrade" message

I think it goes away if you actually use the native installer ...

The hombrew version doesn’t say anything about the native installer, but still bugs you to update after every minor version (which is every day, sometimes multiple times per day)

The npm version tells you there’s a native installer and to use it instead

The native installer never says anything. Not sure how it gets updated

Re: OpenCode – Open source AI coding agent

#676
post #612

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…

> 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; This is my experience with most AI tools that I spend more than a few weeks with. It's happening so often it's making me question my own judgement: "if everything smells of…

There are fairly popular exceptions to this in the AI world IMO. Pi, for instance.

Re: OpenCode – Open source AI coding agent

#677

Earlier quoted context omitted.

Last years I have had more problem with hardware in windows than in linux. It is not so trivial anymore.

Please provide examples.

In 2022 we got new zen 5 amd cpus almost when they came out, windows did not recognize a bunch of stuff and had to find and download individual drivers. In linux (ubuntu) everything worked out of the box, except only that the LTS release did not support the kernel that supported the new mobos yet and had to install the rolling release instead.

Re: OpenCode – Open source AI coding agent

#678
post #244

Earlier quoted context omitted.

> I’m sure we’ll all learn a lot from these early days of agentic coding. So far what I am learning (from watching all of this) is that our constant claims that quality and security matter seem to not be true on average. Depressingly.

> So far what I am learning (from watching all of this) is that our constant claims that quality and security matter seem to not be true on average. Only for the non-pro users. After all, those users were happy to use excel to write the programs. What we're seeing now is that more and more developers find they are happy with even less determinism than the Excel process. Maybe they're right; maybe software doesn't nee…

I still use excel to write programs. I use officescript and power query. I shy away from via but have also used it.. I’m not sure what your point is. The people stopping citizens’ development could ease off the job security lines and the deferral to lockdown

Re: OpenCode – Open source AI coding agent

#679

Earlier quoted context omitted.

There is literally no reason to write it in a JVM language in 2026 when better options exists. Either Go for simplicity and maintaininability or Rust to get the most out of the machine works. Also, it'll be hard for them to lure good people to work on that thing. Absolutely no one is getting excited to write, vibe, or maintain Java.

I am not thrilled to use java, but it really does what it says on the tin. A customer copied the jar file I sent them to their as400 and it just worked. There is nothing quite like it.

Go binary says hello. No VM overhead. Everything is statically linked.

Re: OpenCode – Open source AI coding agent

#680

Earlier quoted context omitted.

I use macos and I do actively dislike windows: here I announce it.

I use windows and absolutely hate the mac UI. Having the current window title bar always at the top of the screen doesn't make any sense when you have a very big monitor. It only made sense with the tiny monitors available when the mac UI was originally created.

Yeah, that is an annoyance for me too but for a different reason. I have set the menu bar to be only in the internal display (to avoid issues with my OLED external monitor) so when I have a window in the external monitor, I have to move the mouse to the internal monitor screen space if I want to open something that is in the app's title bar.

On the other hand, it is actually useful that there is mostly a specific place you find settings etc, as in windows/linux it tends to vary depending on the app where to find those (is there a bar on top of the window? Is there a button to expand a menu somewhere? Something else? Who knows).

Post reply on HN