Live data from Hacker News

OpenCode – Open source AI coding agent

opencode.ai

491–500 of 700 posts

Re: OpenCode – Open source AI coding agent

#491

Earlier quoted context omitted.

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.

This. I work on projects that warrant a self hosted model to ensure nothing is leaked to the cloud. Imagine my surprise when I discovered that even though the only configured model is local, all my prompts are sent to the cloud to... generate a session title. Fortunately caught during testing phase.

Ok wow.

I mean the default model being Grok, whatever - that everyone sets to their favorite.

But the hidden use of a different model is wow.

Re: OpenCode – Open source AI coding agent

#492

Earlier quoted context omitted.

‘abuse’. The same rate limits apply, the requests still go to the same endpoints. Even as a CC user I’m glad someone is forcing the discussion. My prediction: within two years ‘model neutrality’ will be a topic of debate. Creating lock-in through discount pricing is anti-competitive. The model provider is the ISP; the tool, the website.

> The same rate limits apply, the requests still go to the same endpoints. That is not the point. That is a mere technicality. You signed a contract. If you don't ignore the terms of the contract to use the product in a way that is explicitly prohibited, you're abusing the product. It is as simple as that. They offer a separate product (API) if you don't like the terms of the contract. Also, if you really want to get…

> But that is not the overarching point.

Because that could be easily resolved by factoring % cache hits into the usage limits.

> Literally everyone does this.

Never a strong justification, much as I like Anthropic in general.

Why is the 'Mercedes gas station' selling gas 85% cheaper but only to Mercedes drivers?

Why is the 'Apple electric company' selling cheaper electricity to households with Apple devices?

They're not the strongest analogies, I'll admit, but that's what it smells like to me.

Re: OpenCode – Open source AI coding agent

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

I run many instances of Claude Code simultaneously and have not experienced what you are seeing. It sounds like you have a bias of Rust over Typescript.

No, they are describing a typical experience with the two apps. Just open both apps, run a few queries, and take a look at the difference in resource management yourself. It sounds like you have a bias of Claude Code over Codex.

Re: OpenCode – Open source AI coding agent

#496
post #431
post #408

Earlier quoted context omitted.

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

Mature tui packages like bubbletea, lipgloss. Besides TS resemblance to go could push the movement of rewrite, not necessarily easier though. CC isn't foss in the first place, so the previous comment falls short.

> TS resemblance to go

This is the second time I've seen claims like this in the last 24 hours and I'm afraid I might have lost contact with reality.

Re: OpenCode – Open source AI coding agent

#497

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…

This is why I'm taking a wait-and-see approach to these tools on HN myself. My month with Claude Code (the TUI, not the GUI) was amazing from an IT POV, just slop-generating niche tools I could quickly implement and audit ( not giant-ass projects), but I ain't outsourcing that to another company when Qwen et al are right there for running on my M1 Pro or RTX 3090. I'm looking forward to more folks building these kind…

Curious about your setup of qwen on m1 pro. Care to share the toolkit?

Re: OpenCode – Open source AI coding agent

#498

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

Pi is the Emacs of coding AI agents.

It's a pity it's written in TS, but at least it can draw from a big contributor pool.

There is https://eca.dev/ too, which might worth considering, which is a UI agnostic agent, a bit like LSP servers.

Re: OpenCode – Open source AI coding agent

#499

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…

The infinite context window framing is the right way to think about it. Running inside Claude Code continuously, the prune step matters more than retrieve in practice — most of what gets dropped stays dropped. More useful is being deliberate about what goes in at the start of each loop iteration rather than managing what comes out at the end.

Re: OpenCode – Open source AI coding agent

#500

Earlier quoted context omitted.

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.

This. I work on projects that warrant a self hosted model to ensure nothing is leaked to the cloud. Imagine my surprise when I discovered that even though the only configured model is local, all my prompts are sent to the cloud to... generate a session title. Fortunately caught during testing phase.

[dead]
Post reply on HN