Live data from Hacker News

OpenCode – Open source AI coding agent

opencode.ai

231–240 of 700 posts

Re: OpenCode – Open source AI coding agent

#231
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.

Re: OpenCode – Open source AI coding agent

#232
post #20
post #12

Earlier quoted context omitted.

GPT 5.4 has been the winner this week. Last week Opus 4.6. You can use both in OpenCode.

Well not anymore with Claude pro…

It is "not supported" for two month at this point, yet somehow opencode + claude max is still my main workflow today

Re: OpenCode – Open source AI coding agent

#233
I started with Codex, then switched to OpenCode, then switched to Codex.

OpenCode just has more bugs, it's incredibly derivative so it doesn't really do anything else than Codex.

The advantage of OpenCode is that it can use any underlying model, but that's a disadvantage because it breaks the native integration. If you use Opus + Claude Code, or Gpt-Codex + Codex App, you are using it the way it was designed to be used.

If you don't actually use different models, or plan to switch, or somehow value vendor neutrality strategically, you are paying a large cost without much reward.

This is in general a rule, vendor neutrality is often seen as a generic positive, but it is actually a tradeoff. If you just build on top of AWS for example, you make use of it's features and build much faster and simpler than if you use Terraform.

Re: OpenCode – Open source AI coding agent

#236
post #135

Earlier quoted context omitted.

You can access anthropic models with subscription pricing via a copilot license.

Pretty sure that's against TOS. Edit: it's not. https://github.blog/changelog/2026-01-16-github-copilot-now-... They must be eating insane amounts of $$$ for this. I wouldn't expect it to last

No, Claude on GitHub Copilot is billed at 3X the usage rate of the other models e.g. GPT-5.4 and you get an extremely truncated context window.

See https://models.dev for a comparison against the normal "vanilla" API.

Re: OpenCode – Open source AI coding agent

#237
post #87

Earlier quoted context omitted.

Anthropic's model deployments for Claude Code are likely optimized for Claude Code. I wouldn't be surprised if they had optimizations like sharing of system prompt KV-cache across users, or a speculative execution model specifically fine-tuned for the way Claude Code does tool calls. When setting your token limits, their economics calculations likely assume that those optimizations are going to work. If you're using…

- OR - it's about lock-in. Build the single pane of glass everyone uses. Offer it under cost. Salt the earth and kill everything else that moves. Nobody can afford to run alternative interfaces, so they die. This game is as old as time. Remember Reddit apps? Alternative Twitter clients? In a few years, CC will be the only survivor and viable option. It also kneecaps attempts to distill Opus.

It's very straightforward to instrument CC under tmux with send-keys and capturep. You could easily use that for distillation, IMO. There are also detailed I/O logs.

Re: OpenCode – Open source AI coding agent

#238

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 recently listened to this episode from the Claude Code creator (here is the video version: https://www.youtube.com/watch?v=PQU9o_5rHC4 ) and it sounded like their development process was somewhat similar - he said something like their entire codebase has 100% churn every 6 months. But I would assume they have a more professional software delivery process. I would (incorrectly) assume that a product like this would…

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.

Re: OpenCode – Open source AI coding agent

#239
post #37
post #8

Earlier quoted context omitted.

Yep. That's what I do. Just API keys and you can switch from Opus to GPT especially this week when Opus has been kind of wonky.

I pay $100/mo to Anthropic. Yesterday I coded one small feature via an API key by accident and it cost $6. At this rate, it will cost me $1000/mo to develop with Opus. I might as well code by hand, or switch to the $20 Codex plan, which will probably be more than enough. I'd rather switch to OpenAI than give up my favorite harness.

[flagged]

Re: OpenCode – Open source AI coding agent

#240

[flagged]

With OpenCode, I've found that I can do this by defining agents, assigning each agent a specifically model to use. Then K manually flip to that agent when I want it or define some might rules in my global AGENTS.nd file to gives some direction and OpenCode will automatically subtask out to the agent, which then forces the use of the defined model.
Post reply on HN