Live data from Hacker News

OpenCode – Open source AI coding agent

opencode.ai

391–400 of 700 posts

Re: OpenCode – Open source AI coding agent

#391

Earlier quoted context omitted.

Generative what? Code is not a thing anymore, in fact it never really was, but now it's definitely not. Code today can be as verbose and ugly as ever, because from here on out, fewer people are going to read it, understand and care about it. What's valuable, and you know this I think, is how much money your software will sell for, not how fine and polished your code is. Code was a liability. Today it's a liability th…

and once you've got your wish: ugly code without tests or a way to comprehend it, but cheap! How much value are you going to be able to extract over its lifetime once your customers want to see some additional features or improvements? How much expensive maintenance burden are you incurring once any change (human or LLM generated) is likely to introduce bugs you have no better way of identifying than shipping to your…

What you wrote aligns with my experience so far. It's fast and easy to get something working, but in a number of cases it (Opus) just gets stuck 'spinning' and no number of prompts is going to fix that. Moreover - when creating things from scratch it tends to use average/insecure/ inefficient approaches that later take a lot of time to fix.

The whole thing reminds me a bit of the many RAD tools that were supposed to 'solve' programming. While it was easy to start and produce something with those tools, at some point you started spending way too much time working around the limitations and wished you started from scratch without it.

Re: OpenCode – Open source AI coding agent

#392
post #282

Earlier quoted context omitted.

You're both right. AI can be used to do either fast releases or well designed code. Don't say both, as you're not making time, you're moving time between those two. Which one you think companies prefer? Or if you're a consulting business, which one do you think your clients prefer?

> 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…

[flagged]

Re: OpenCode – Open source AI coding agent

#393
post #248

Earlier quoted context omitted.

Disclaimer: I work for Charm, so my opinion may be biased. But we did a lot of work on improving the experience, both on UX, performance, and the actual reliability of the agent itself. I would suggest you to give it a try.

Will do thanks - any standout features or clever things for me to look out for?

We just launched this: https://charm.land/blog/crush-and-docker-mcp/

Also, non-interactive support, useful for some workflows:

https://github.com/charmbracelet/crush/releases/tag/v0.48.0

https://github.com/charmbracelet/crush/releases/tag/v0.50.0

Re: OpenCode – Open source AI coding agent

#395
post #371

[flagged]

Granted, I just started playing around with OpenCode (but been using Codex and Claude Code since they were initially available, so not first time with agents), but anyways:

> they need broad file system access to be useful, but that access surface is also the attack surface

Do they? You give them access to one directory typically (my way is to create a temporary docker container that literally only has that directory available, copied into the container on boot, copied back to the host once the agent completed), and I don't think I've needed them to have "broad file system access" at any point, to be useful or otherwise.

So that leads me to think I'm misunderstanding either what you're saying, or what you're doing?

Re: OpenCode – Open source AI coding agent

#396
post #374

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…

> and (partly as a result) it's fairly resource inefficient (often uses 1GB of RAM or more. For a TUI). That's (one of the reasons) why I'm favoring Codex over Claude Code. Claude Code is an... Electron app (for a TUI? WTH?) and Codex is Rust. The difference is tangible: the former feels sluggish and does some odd redrawing when the terminal size changes, while the latter definitely feels more snappy to me (leaving a…

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.

Re: OpenCode – Open source AI coding agent

#397

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 doesn't sound all that useful to be honest and would likely increase costs overall due to the hit to prompt caching by removing messages

> would likely increase costs overall

Assuming you pay per token, which seems like a really strange workflow to lock yourself into at this point. Neither paid monthly plans nor local models suffer from that issue.

I tried once to use APIs for agents but seeing a counter of money go up and eventually landing at like $20 for one change, made it really hard to justify. I'd rather pay $200/month before I'd be OK with that sort of experience.

Re: OpenCode – Open source AI coding agent

#398
post #374

Earlier quoted context omitted.

> and (partly as a result) it's fairly resource inefficient (often uses 1GB of RAM or more. For a TUI). That's (one of the reasons) why I'm favoring Codex over Claude Code. Claude Code is an... Electron app (for a TUI? WTH?) and Codex is Rust. The difference is tangible: the former feels sluggish and does some odd redrawing when the terminal size changes, while the latter definitely feels more snappy to me (leaving a…

Totally agree. I'm baffled by those who don't clearly see that Codex works better than C.C. in many ways.

Codex being faster is not at all equivalent to working better. Claude Code does what I need from it most of the time.

Re: OpenCode – Open source AI coding agent

#399

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…

You are describing a typical state of a wibecoded project.

Re: OpenCode – Open source AI coding agent

#400

You do not "write" code. Stop these euphemisms. It is an intellectual prosthetic for feeble minded people that plagiarizes code by written by others. And it connects to the currently "free" providers who own the means of plagiarizing. There is nothing open about it. Please do not abuse the term "open" like in OpenBSD.

  > Please do not abuse the term "open" like in OpenBSD.
this is such a pet peeve of mine; all these "open" products (except when they're not)
Post reply on HN