Live data from Hacker News

OpenCode – Open source AI coding agent

opencode.ai

551–560 of 700 posts

Re: OpenCode – Open source AI coding agent

#551

Earlier quoted context omitted.

Subscription = token that requires refreshing 1-2x/day, and you get the freedom to use your subscription-level usage amount any way you want. API = way more expensive, allowed to use on your terms without anthropic hindering you.

Also, Subscription: against the TOS of Claude Code, need to spoof a token and possibly get banned due to it.

Yup. And right now I'm straight-up breaking Claude's TOS by modifying OpenCode to still accept tokens. But I only have a few days left and don't care if they ban me. I'm using what I paid for.

Re: OpenCode – Open source AI coding agent

#552
post #408

Earlier quoted context omitted.

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

> It's more accessible to contributors. What would make go more "accessible to contributors" than Rust?

My personal opinion is that I like Rust much more than Go, but I can’t deny that Rust is a big, and more dauntingly to newcomers, pretty unopinionated language compared to Go.

There are more syntax features, more and more complex semantics, and while rustc and clippy do a great job of explaining like 90% of errors, the remaining 10% suuuuuck.

There’s also some choices imposed by the build system (like cargo allowing multiple versions of the same dep in a workspace) and by the macro system (axum has some unintuitive extractor ordering needs that you won’t find unless you know to look for them), and those things and the hurdles they present become intuitive after a time but just while getting started? Oof

Re: OpenCode – Open source AI coding agent

#553
post #485

Earlier quoted context omitted.

I was going to say that pnpm isn't that old but wikipedia says 2017!

pnpm is amazing for speed and everybody should use it! but even with npm before it, at least it was correct . I had very few (none?) mysterious issues with it that could only be solved by nuking the entire environment. That is more than I can say about the python package managers before uv.

uv + PEP723 is amazing for CLI tools

You download one .py, run it and uv automatically downloads and installs any requirements to a virtual environment and runs it

Re: OpenCode – Open source AI coding agent

#554

I'm a https://pi.dev man myself.

I just found out about pi yesterday. It's the only agent that I was able to run on RISC-V. It's quite scary that it runs commands without asking though.

It has zero safeguards by default

But the magic is that it knows how to modify itself, if you need a plan mode you can ask it to implement it :)

Re: OpenCode – Open source AI coding agent

#555
post #396

Earlier quoted context omitted.

Anthropic needs to spend some tokens rewriting Claude Code in Rust (yes, really). The difference in feel between Codex and Claude Code is obvious. The whole thing is vibed anyway, I'm sure they could get it done in a week or two for their quality standards.

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

This is a terrible suggestion.

Rust is accessible to everyone now that Claude Code and Opus can emit it at a high proficiency level.

Rust is designed so the error handling is ergonomic and fits into the flow of the language and the type system. Rust code will be lower defect rate by default.

Plus it's faster and doesn't have a GC.

You can use Rust now even if you don't know the language. It's the best way to start learning Rust.

The learning curve is not as bad as people say. It's really gentle.

Rust is the best AI language. Bar none.

Re: OpenCode – Open source AI coding agent

#556
post #242

Earlier quoted context omitted.

"OpenCode Go" (a subscription) lets you use lots of hosted open-weights frontier AI models, such as GLM-5 (currently right up there in the frontier model leaderboards) for $10 per month.

GLM is benchmaxxed, leaderboards don't mean much anymore

Also most of the development experience is in the harness, the models aren’t as important anymore

Re: OpenCode – Open source AI coding agent

#557

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?

[dead]

Re: OpenCode – Open source AI coding agent

#559
post #245

Earlier quoted context omitted.

I'm currently experimenting with (trying to) fine tune Qwen3.5 to make it better at a given language (Nim in this case); but I am quite bad at this, and honestly am unsure if it's even really fully feasible at the scale I have access to. Certainly been fun so far though, and I have a little Asus GX10 box on the way to experiment some more!

Been playing around with fine-tuning models for specific languages as well (Clojure and Rust mostly), but the persistent problem is high quality data sets, mostly I've been generating my own based on my own repositories and chat sessions, what approach are you taking for gathering the data?

Have you looked on HF? Here's one that is fine tuned on Rust https://huggingface.co/Fortytwo-Network/Strand-Rust-Coder-14...

Re: OpenCode – Open source AI coding agent

#560
post #238

Earlier quoted context omitted.

I've gotta say, it shows. Claude Code has a lot of stupid regressions on a regular basis, shit that the most basic test harness should catch.

I feel like our industry goes through these phases where there's an obvious thought leader that everyone's copying because they are revolutionary. Like Rails/DHH was one phase, Git/GitHub another. And right now it's kinda Claude Code. But they're so obviously really bad at development that it feels like a MLM scam. I'm just describing the feeling I'm getting, perhaps badly. I use Claude, I recommended Claude for the…

I use Claude Code because Anthropic requires me to in order to get the generous subscription tokens. But better tools exist. If I was allowed to use Cursor with my Claude sub I would in a heartbeat.
Post reply on HN