Remix.run Logo
OpenCode – The open source AI coding agent(opencode.ai)
378 points by rbanffy 4 hours ago | 181 comments
logicprog 2 hours ago | parent | next [-]

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 constantly releasing at an extremely high cadence, where they don't even spend the time to test or fix things (or even build a proper list of changes for each release), and they add, remove, refine, change, fix, and break features constantly at that accelerated pace.

More than that, it's an extremely large and complex TypeScript code base — probably larger and more complex than it needs to be — and (partly as a result) it's fairly resource inefficient (often uses 1GB of RAM or more. For a TUI).

On top of that, at least I personally find the TUI to be overbearing and a little bit buggy, and the agent to be so full of features that I don't really need — also mildly buggy — that it sort of becomes hard to use and remember how everything is supposed to work and interact.

rbehrends an hour ago | parent | next [-]

I am more concerned about their, umm, gallant approach to security. Not only that OpenCode is permissive by default in what it is allowed to do, but that it apparently tries to pull its config from the web (provider-based URL) by default [1]. There is also this open GitHub issue [2], which I find quite concerning (worst case, it's an RCE vulnerability).

[1] https://opencode.ai/docs/config/#precedence-order

[2] https://github.com/anomalyco/opencode/issues/10939

woctordho 2 minutes ago | parent [-]

RCE is exactly the feature of coding agents. I'm happy with it that I don't need to launch OpenCode with --dangerously-skip every time.

grapheneposter 5 minutes ago | parent | prev | next [-]

Yeah I tried using it when oh-my-opencode (now oh-my-openagent) started popping off and found it had highly unstable. I just stick with internal tooling now.

zackify 11 minutes ago | parent | prev | next [-]

Yeah every time I want to like it, scrolling is glitched vs codex and Claude. And other various things like: why is this giant model list hard coded for ollama or other local methods vs loading what I actually have...

On top of that. Open code go was a complete scam. It was not advertised as having lower quality models when I paid and glm5 was broken vs another provider, returning gibberish and very dumb on the same prompt

westoque 2 hours ago | parent | prev | next [-]

> The problem for me is that the development practices of the people that are working on it are suboptimal at best; they're constantly releasing at an extremely high cadence, where they don't even spend the time to test or fix things (or even build a proper list of changes for each release), and they add, remove, refine, change, fix, and break features constantly at that accelerated pace.

this is what i notice with openclaw as well. there have been releases where they break production features. unfortunately this is what happens when code becomes a commidity, everyone thinks that shipping fast is the moat but at the expense of suboptimality since they know a fix can be implemented quickly on the next release.

siddboots an hour ago | parent [-]

Openclaw has 20k commits, almost 700k lines of code, and it is only four months old. I feel confident that that sort of code base would have a no coherent architecture at all, and also that no human has a good mental model of how the various subsystems interact.

I’m sure we’ll all learn a lot from these early days of agentic coding.

arcanemachiner 31 minutes ago | parent | prev | next [-]

I'm still trying to figure out how "open" it really is; There are reports that it phones home a lot[0], and there is even a fork that claims to remove this behavior[1]:

[0] https://www.reddit.com/r/LocalLLaMA/comments/1rv690j/opencod...

[1] https://github.com/standardnguyen/rolandcode

nikcub 24 minutes ago | parent [-]

the fact that somebody was able to fork it and remove behaviour they didn't want suggests that it is very open

that #12446 PR hasn't even been resolved to won't merge and last change was a week ago (in a repo with 1.8k+ open PRs)

cpeterso an hour ago | parent | prev | next [-]

OpenCode's creator acknowledged that the ease of shipping has let them ship prototype features that probably weren't worth shipping and that they need to invest more time cleaning up and fixing things.

https://x.com/thdxr/status/2031377117007454421

logicprog an hour ago | parent [-]

Well that's good to hear, maybe they'll improve moving forward on the release aspect at least.

blks 2 hours ago | parent | prev | next [-]

Probably all describe problems stem from the developers using agent coding; including using TypeScript, since these tools are usually more familiar with Js/Js adjacent web development languages.

logicprog an hour ago | parent [-]

Perhaps the use of coding agents may have encouraged this behavior, but it is perfectly possible to do the opposite with agents as well — for instance, to use agents to make it easier to set up and maintain a good testing scaffold for TUI stuff, a comprehensive test suite top to bottom, in a way maintainers may not have had the time/energy/interest to do before, or to rewrite in a faster and more resource efficient language that you may find more verbose, be less familiar with, or find annoying to write — and nothing is forcing them to release as often as they are, instead of just having a high commit velocity. I've personally found AIs to be just as good at Go or Rust as TypeScript, perhaps better, as well, so I don't think there was anything forcing them to go with TypeScript. I think they're just somewhat irresponsible devs.

thatmf an hour ago | parent | prev | next [-]

The value of having (and executing) a coherent product vision is extremely undervalued in FOSS, and IMO the difference between a successful project in the long-term and the kind of sploogeware that just snowballs with low-value features.

rounce 27 minutes ago | parent | next [-]

> The value of having (and executing) a coherent product vision is extremely undervalued in FOSS

Interesting you say this because I'd say the opposite is true historically, especially in the systems software community and among older folks. "Do one thing and do it well" seems to be the prevailing mindset behind many foundational tools. I think this why so many are/were irked by systemd. On the other hand newer tools that are more heavily marketed and often have some commercial angle seem to be in a perpetual state of tacking on new features in lieu of refining their raison d'etre.

Aperocky 34 minutes ago | parent | prev [-]

negative values even.

paustint 2 hours ago | parent | prev | next [-]

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 be heavily tested via AI - why not? AI should be writing all the code, so why would the humans not invest in and require extreme levels of testing since AI is really good at that?

logicprog an hour ago | parent [-]

I mean, I'm slowly trying to learn lightweight formal methods (i.e. what stuff like Alloy or Quint do), behavior driven development, more advanced testing systems for UIs, red-green TDD, etc, which I never bothered to learn as much before, precisely because they can handle the boilerplate aspects of these things, so I can focus on specifying the core features or properties I need for the system, or thinking through the behavior, information flow, and architecture of the system, and it can translate that into machine-verifiable stuff, so that my code is more reliable! I'm very early on that path, though. It's hard!

tshaddox 24 minutes ago | parent | prev | next [-]

I’m a little surprised by your description of constant releases and instability. That matches how I would describe Claude Code, and has been one of the main reasons I tend to use OpenCode more than Claude Code.

OpenCode has been much more stable for me in the 6 months or so that I’ve been comparing the two in earnest.

bakugo an hour ago | parent | prev | next [-]

Isn't this pretty much the standard across projects that make heavy use of AI code generation?

Using AI to generate all your code only really makes sense if you prioritize shipping features as fast as possible over the quality, stability and efficiency of the code, because that's the only case in which the actual act of writing code is the bottleneck.

logicprog an hour ago | parent [-]

I don't think that's true at all. As I said, in a response to another person blaming it on agentic coding above, there are a very large number of ways to use coding agents to make your programs faster, more efficient, more reliable, and more refined that also benefit from agents making the code writing research, data piping, and refactoring process quicker and less exhausting. For instance, by helping you set up testing scaffolding, handling the boilerplate around tests while you specify some example features or properties you want to test and expands them, rewriting into a more efficient language, large-scale refactors to use better data structures or architectures, or allowing you to use a more efficient or reliable language that you don't know as well or find to have too much boilerplate or compiler annoyance to otherwise deal with yourself. Then there are sort of higher level more phenomenological or subjective benefits, such as helping you focus on the system architecture and data flow, and only zoom in on particular algorithms or areas of the code base that are specifically relevant, instead of forever getting lost in the weeds of thinking about specific syntax and compiler errors or looking up a bunch of API documentation that isn't super important for the core of what you're trying to do and so on.

Personally, I find this idea that "coding isn't the bottleneck" completely preposterous. Getting all of the API documentation, the syntax, organizing and typing out all of the text, finding the correct places in the code base and understanding the code base in general, dealing with silly compiler errors and type errors, writing a ton of error handling, dealing with the inevitable and inoraticable boilerplate of programming (unless you're one of those people that believe macros are actually a good idea and would meaningfully solve this), all are a regular and substantial occurrence, even if you aren't writing thousands of lines of code a day. And you need to write code in order to be able to get a sense for the limitations of the technology you're using and the shape of the problem you're dealing with in order to then come up with and iterate on a better architecture or approach to the problem. And you need to see your program running in order to evaluate whether it's functionality and design a satisfactory and then to iterate on that. So coding is actually the upfront costs that you need to pay in order to and even start properly thinking about a problem. So being able to get a prototype out quickly is very important. Also, I find it hard to believe that you've never been in a situation where you wanted to make a simple change or refactor that would have resulted in needing to update 15 different call sites to do properly in a way that was just slightly variable enough or complex enough that editor macros or IDE refactoring capabilities wouldn't be capable of.

That's not to mention the fact that if agentic coding can make deploying faster, then it can also make deploying the same amount at the same cadence easier and more relaxing.

foobarqux an hour ago | parent | prev [-]

What is a better option?

logicprog an hour ago | parent | next [-]

For serious coding work I use the Zed Agent; for everything else I use pi with a few skills. Overall, though, I'd recommend Pi plus a few extensions for any features you miss extremely highly. It's also TypeScript, but doesn't suffer from the other problems OC has IME. It's a beautiful little program.

mmcclure 34 minutes ago | parent [-]

Big +1 to Pi[1]. The simplicity makes it really easy to extend yourself too, so at this point I have a pretty nice little setup that's very specific to my personal workflows. The monorepo for the project also has other nice utilities like a solid agent SDK. I also use other tools like Claude Code for "serious" work, but I do find myself reaching for Pi more consistently as I've gotten more confident with my setup.

[1] https://github.com/badlogic/pi-mono/tree/main/packages/codin...

andreynering an hour ago | parent | prev [-]

https://charm.land/crush

rao-v 43 minutes ago | parent [-]

I tried crush when it first came out - the vibes were fun but it didn’t seem to be particularly good even vs aider. Is it better now?

andreynering 39 minutes ago | parent [-]

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.

hmcdona1 2 minutes ago | parent | prev | next [-]

Can someone explain how Claude Code can instantly determine what file I have open and what lines I have selected in VS Code even if it's just running in a VS Code terminal instance, yet I cannot for the life of me get OpenCode to come anywhere close to that same experience?

The OpenCode docs suggest its possible, but it only works with their extension (not in an already open VS Code terminal) with a very specific keyboard shortcut and only barely at that.

softwaredoug 3 hours ago | parent | prev | next [-]

The team also is not breathlessly talking about how coding is dead. They have pretty sane takes on AI coding including trying to help people who care about code quality.

m463 an hour ago | parent [-]

They probably don't have to write OKRs every quarter saying the opposite.

ramon156 4 hours ago | parent | prev | next [-]

The Agent that is blacklisted from Anthropic AI, soon more to come.

I really like how their subagents work, as a bonus I get to choose which model is in which agent. Sadly I have to resort to the mess that Anthropic calls Claude Code

pczy 3 hours ago | parent | next [-]

They are not blacklisted. You are allowed to use the API at commercial usage pricing. You are just not allowed to use your Claude Code subscription with OpenCode (or any other third‑party harness for the record).

oldestofsports 3 hours ago | parent | next [-]

I dont understand this, what is the difference, technically!

KronisLV 3 hours ago | parent | next [-]

With Anthropic, you either pay per token with an API key (expensive), or use their subscription, but only with the tools that they provide you - Claude, Claude Cowork and Claude Code (both GUI and CLI variants). Individuals generally get to use the subscriptions, companies, especially the ones building services on top of their models, are expected to pay per token. Same applies to various third party tools.

The belief is that the subscriptions are subsidized by them (or just heavily cut into profit margins) so for whatever reason they're trying to maintain control over the harness - maybe to gather more usage analytics and gain an edge over competitors and improve their models better to work with it, or perhaps to route certain requests to Haiku or Sonnet instead of using Opus for everything, to cut down on the compute.

Given the ample usage limits, I personally just use Claude Code now with their 100 USD per month subscription because it gives me the best value - kind of sucks that they won't support other harnesses though (especially custom GUIs for managing parallel tasks/projects). OpenCode never worked well for me on Windows though, also used Codex and Gemini CLI.

anonym29 3 hours ago | parent [-]

>or perhaps to route certain requests to Haiku or Sonnet instead of using Opus for everything, to cut down on the compute

You can point Claude Code at a local inference server (e.g. llama.cpp, vLLM) and see which model names it sends each request to. It's not hard to do a MITM against it either. Claude Code does send some requests to Haiku, but not the ones you're making with whatever model you have it set to - these are tool result processing requests, conversation summary / title generation requests, etc - low complexity background stuff.

Now, Anthropic could simply take requests to their Opus model and internally route them to Sonnet on the server side, but then it wouldn't really matter which harness was used or what the client requests anyway, as this would be happening server-side.

miki123211 3 hours ago | parent | prev | next [-]

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 a different agent, you're basically underpaying for your tokens.

echelon 2 hours ago | parent [-]

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

fnordpiglet 2 hours ago | parent [-]

It’s probably a mixture of things including direct control over how the api is called and used as pointed out above and giving a discount for using their ecosystem. They are in fact a business so it should not surprise anyone they act as one.

esperent 2 hours ago | parent [-]

It might well be a mixture, but 95% of that mixture is vendor lock in. Same reason they don't support AGENTS.md, they want to add friction in switching.

mgambati 2 hours ago | parent | next [-]

They can try add as much as friction they want. A simple rename in the files and directories like .claude makes the thing work to move out of CC.

It’s not like moving from android to iOS.

esperent an hour ago | parent [-]

You'd be surprised how effective small bits of friction are.

xvector 14 minutes ago | parent | prev [-]

If it was lock in they wouldn't make it absolutely trivial to change inference providers in Claude Code.

hereme888 3 hours ago | parent | prev | next [-]

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.

NewsaHackO an hour ago | parent [-]

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

hackingonempty 3 hours ago | parent | prev | next [-]

Anthropic has an API, you can use any client but they charge per input/output/cache token.

One-price-per-month subscriptions (Claude Code Pro/MAX @ $20/$100/$200 a month) use a different authentication mechanism, OAUTH. The useful difference is you get a lot more inference than you can for the same cost using the API but they require you to use Claude Code as a client.

Some clients have made it simple to use your subscription key with them and they are getting cease and desist letters.

jwpapi 3 hours ago | parent | prev [-]

about 30 times more cost

wilg 3 hours ago | parent | prev | next [-]

Sometimes people want to be real pedants about licensing terms when it comes to OSS, assuming such terms are completely bulletproof, other times people don't think the terms of their agreement with a service provider should have any force at all.

Robdel12 2 hours ago | parent | prev | next [-]

Has it occurred to anyone that Anthropic highest in the industry API pricing is a play to drive you into their subscription? For the lock-in?

Macha 2 hours ago | parent [-]

The highest in in the industry for API pricing right now is GPT-5.4-Pro, OpenRouter adding that as an option in their Auto Router was when I had to go customise the routing settings because it was not even close to providing $30/m input tokens and $180/m output tokens of value (for context Opus 4.6 is $5/m input and $25/m output)

(Ok, technically o1-pro is even more expensive, but I'm assuming that's a "please move on" pricing)

hereme888 3 hours ago | parent | prev [-]

Was it not obvious what the OP meant by blacklisted?

Maxatar 3 hours ago | parent | next [-]

Blacklisted usually means something is banned. OpenCode is not banned from using Anthropic's API.

enraged_camel 3 hours ago | parent | prev [-]

No, it was not? For those whose native language is English, "blacklisted" implies Claude API will not allow OpenCode.

lima 4 hours ago | parent | prev | next [-]

You can still use OpenCode with the Anthropic API.

pimeys 3 hours ago | parent [-]

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.

stavros 3 hours ago | parent | next [-]

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.

sailfast 43 minutes ago | parent | next [-]

This is the intention. They do not want folks that can’t pay to use their service.

iAMkenough 32 minutes ago | parent | prev | next [-]

Out of curiosity, what's your next monthly subscription in terms of price?

stavros 30 minutes ago | parent [-]

Electricity, $95/mo.

iAMkenough 23 minutes ago | parent [-]

Now you got me thinking my electric company should start offering subscription tiers in these uncertain energy times...

stavros 21 minutes ago | parent [-]

Ours never will, they're a cartel, sadly. If you mean fixed subscription, next one is Netflix, I think, or my server provider at $40 or so.

xienze 3 hours ago | parent | prev [-]

Yeah I had a similar experience one time. Which is why I laugh when people suggest Anthropic is profitable. Sure, maybe if everyone does API pricing. Which they won’t because it’s so damn expensive. Another way to think about it is API pricing is a glimpse into the future when everyone is dependent on these services and the subscription model price increases start.

mattmanser 2 hours ago | parent [-]

I don't get why people talk about ChatGPT as some great saviour though, they're in the same boat but just have more money to burn.

gwd 3 hours ago | parent | prev | next [-]

Or have Claude write the code and Gemini review it. (Was using GPT for review until the recent Pentagon thing.)

blks 2 hours ago | parent [-]

You can also review the code you ship yourself.

jatora 3 hours ago | parent | prev [-]

'just API key' lol. just hundreds of dollars at a minimum

specproc 3 hours ago | parent [-]

This is the problem with this bollocks. Outsourcing our brains at a per token rate. It'd be exciting if I didn't hand to pay Americans for it.

fr33k3y 3 hours ago | parent | next [-]

I'm testing glm5 on Claude code and opencode just to stop consuming American... Soo good so far!

jen20 3 hours ago | parent | prev [-]

Qwen works fine and requires paying no-one except a hardware vendor.

cyanydeez 3 hours ago | parent | prev [-]

a $3000 AMD395+ will get you pretty close to a open development environment.

anonym29 2 hours ago | parent [-]

There are boards starting in the $1500-$2000 range, and complete systems in the $2500-$2700 range. I actually don't know of any Strix Halo mini PCs that cost $3000, do you?

EDIT: The system I bought last summer for $1980 and just took delivery of in October, Beelink GTR 9 Pro, is now $2999.... wow...

free652 2 hours ago | parent | next [-]

the boards now are pricier, at least the framework one. I got it for 1700, and now its ~$2400.

Shebanator 2 hours ago | parent | prev | next [-]

not mini PCs, no, but there are laptops that do

ricardobeat 2 hours ago | parent | prev [-]

I bought mine, a mini PC, for $1400 just six months ago. This bubble will pass.

planckscnst 2 hours ago | parent | prev | next [-]

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 like working with an infinite context window.

https://www.youtube.com/live/z0JYVTAqeQM?si=oLvyLlZiFLTxL7p0

advael 2 hours ago | parent [-]

Seems interesting, but at a glance I can't find a repo or a package manager download for this. Have you made it available anywhere?

sheo an hour ago | parent [-]

I found the opencode fork repo, but no plugin seems available so far

https://github.com/Vibecodelicious/opencode

brendanmc6 3 hours ago | parent | prev | next [-]

I’ve been extraordinarily productive with this, their $10 Go plan, and a rigorous spec-driven workflow. Haven’t touched Claude in 2 months.

I sprinkle in some billed API usage to power my task-planner and reviewer subagents (both use GPT 5.4 now).

The ability to switch models is very useful and a great learning experience. GLM, Kimi and their free models surprised me. Not the best, not perfect, but still very productive. I would be a wary shareholder if I owned a stake in the frontier labs… that moat seems to be shrinking fast.

xvector 15 minutes ago | parent | next [-]

The moat is having researchers that can produce frontier models. When OpenCode starts building frontier models, then I'd be worried; otherwise they're just another wrapper

quietsegfault 2 hours ago | parent | prev [-]

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?

brendanmc6 an hour ago | parent | next [-]

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 that cheaper models fail to notice.

The small cheap models are actually great (and fast) at generating decent code if they have the right direction up front.

So I do all the spec writing myself (with some LLM assistance), and I hand it to a Supervisor agent who coordinates between subagents. Plan -> implement -> review -> repeat until the planner says “all done”.

I switch up my models all the time (actively experimenting) but today I was using GPT 5.4 for review and planning, costing me about $0.4-$1 for a good sized task, and Kimi for implementation. Sometimes my spec takes 4-5 review loops and the cost can add up over an 8 hour day. Still cheaper than Claude Max (for now, barely).

Each agent retains a fairly small context window which seems to keep costs down and improves output. Full context can be catastrophic for some models.

As for the spec writing, this is the fun part for me, and I’ve been obsessing over this process, and the process of tracking acceptance criteria and keeping my agents aligned to it. I have a toolkit cooking, you can find in my comment history (aiming to open source it this week).

stavros 2 hours ago | parent | prev [-]

I wrote something about that: https://www.stavros.io/posts/how-i-write-software-with-llms/

65a 29 minutes ago | parent | prev | next [-]

I'd really like to get more clarification on offline mode and privacy. The github issues related to privacy did not leave a good feeling, despite being initially excited. Is offline mode a thing yet? I want to use this, but I don't want my code to leave my device.

solaire_oa 25 minutes ago | parent [-]

Related https://github.com/anomalyco/opencode/issues/10416

hippycruncher22 3 hours ago | parent | prev | next [-]

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

6ak74rfy 2 minutes ago | parent | next [-]

Same.

Pi is refreshingly minimal in terms of system prompts, but still works really well and that makes me wonder whether other harnesses are overdoing. Look at OpenCode's prompts, for instance - long, mostly based on feels and IMO unnecessary. I would've liked to just overwrite OC's system prompts with Pi's (to get other features that Pi doesn't have) but that isn't possible today (without maintaining a custom fork)

wyre an hour ago | parent | prev [-]

Same.

I’m sure there’s a more elegant way to say this, but OpenCode feels like an open source Claude Code, while pi feels like an open source coding agent.

shaneofalltrad 2 hours ago | parent | prev | next [-]

What would be the advantage using this over say VSCode with Copilot or Roo Code? I need to make some time to compare, but just curious if others have a good insight on things.

javier123454321 an hour ago | parent | next [-]

In terms of output, it's comparable. In terms of workflow, it suits my needs a lot more as a VIM terminal user.

ray_v an hour ago | parent | prev | next [-]

I started out using VSCode with their Claude plugin; it seemed like a totally unnecessary integration. A better workflow seems to just run Claude Code directly on my machine where there are fewer restrictions - it just opens a lot more possibilities on what it can do

zingar an hour ago | parent | prev [-]

Aren’t those in-editor tools? Opencode is a CLI

Frannky 3 hours ago | parent | prev | next [-]

I don't use it for coding but as an agent backend. Maybe opencode was thought for coding mainly, but for me, it's incredibly good as an agent, especially when paired with skills, a fastapi server, and opencode go(minimax) is just so much intelligence at an incredibly cheap price. Plus, you can talk to it via channels if you use a claw.

khimaros 3 hours ago | parent | prev | next [-]

i've been using this as my primary harness for llama.cpp models, Claude, and Gemini for a few months now. the LSP integration is great. i also built a plugin to enable a very minimal OpenClaw alternative as a self modifying hook system over IPC as a plugin for OpenCode: https://github.com/khimaros/opencode-evolve -- and here's a deployment ready example making use of it which runs in an Incus container/VM: https://github.com/khimaros/persona

riedel 3 hours ago | parent [-]

Very cool! I have been using opencode, as almost everybody else in the lab is using codex. I found the tools thing inside your own repo amazing but somehow I could not get it to reliably get opencode to write its own tools. Seems also a bit scary as there is pretty much not much security by default. I am using it in a NixOS WSL2 VM

swarmgram 14 minutes ago | parent | prev | next [-]

This is extremely cool; will download now and check it out. Thank you!

lairv 3 hours ago | parent | prev | next [-]

I tried to use it but OpenCode won't even open for me on Wayland (Ubuntu 24.04), whichever terminal emulator I use. I wasn't even aware TUI could have compatibility issues with Wayland

mhast an hour ago | parent | next [-]

Strange. I've been running it on several different ubuntu 24 04 machines with standard terminal with no issues.

flexagoon 2 hours ago | parent | prev | next [-]

> I wasn't even aware TUI could have compatibility issues with Wayland

They shouldn't, as long as your terminal emulator doesn't. Why do you think it's Wayland related?

smetannik 2 hours ago | parent | prev | next [-]

This shouldn't be related to Wayland.

It works perfectly fine on Niri, Hyprland and other Wayland WMs.

What problem do you have?

lairv 2 hours ago | parent [-]

Blank screen, and it's referenced in the official docs as potentially a Wayland issue https://opencode.ai/docs/troubleshooting/#linux-wayland--x11...

I didn't dig further

Seems like there's many github issues about this actually

https://github.com/anomalyco/opencode/issues/14336

https://github.com/anomalyco/opencode/issues/14636

https://github.com/anomalyco/opencode/issues/14335

samtheprogram 2 hours ago | parent | prev | next [-]

Definitely not Wayland related, or so I doubt. I'm on wayland and never had any issues, and it's a TUI, where the terminal emulator does or does not do GPU work. What led you to that conclusion?

lairv 2 hours ago | parent [-]

This issue: https://github.com/anomalyco/opencode/issues/9505

And then the official docs: https://opencode.ai/docs/troubleshooting/#linux-wayland--x11...

> Linux: Wayland / X11 issues

> On Linux, some Wayland setups can cause blank windows or compositor errors.

> If you’re on Wayland and the app is blank/crashing, try launching with OC_ALLOW_WAYLAND=1.

> If that makes things worse, remove it and try launching under an X11 session instead.

OC_ALLOW_WAYLAND=1 didn't work for me (Ubuntu 24.04)

Suggesting to use a different display server to use a TUI (!!) seems a bit wild to me. I didn't put a lot of time into investigating this so maybe there is another reason than Wayland. Anyway I'm using Pi now

dboon 39 minutes ago | parent [-]

There's a desktop app which uses Tauri. Unrelated to the TUI.

Gigachad 3 hours ago | parent | prev [-]

Probably vibe coded

pixelmelt 2 hours ago | parent [-]

Some of the more recent versions of it had memory leaks so you couldn't just leave it on in the background

__mharrison__ 3 hours ago | parent | prev | next [-]

This replaced Aider for me a couple months back.

I use it with Qwen 3.5 running locally when my daily limits run out on my other subscriptions.

The harness is great. Local models are just slow enough that the subscription models are easier to use. For most of my tasks these days, the model's capability is sufficient; it is just not as snappy.

cyanydeez 2 hours ago | parent [-]

I'm curious: I'venever touched cloud models beyond a few seconds. I run a AMD395+ with the new qwen coder. Is there any intelligence difference, or is it just speed and context? At 128GB, it takes quite awhile before getting context wall.

aimarketintel 2 hours ago | parent | prev | next [-]

One thing that makes coding agents really useful is structured data access via MCP servers. Instead of the agent trying to scrape a webpage to understand your project's context, you give it a direct API to query structured data from 9+ sources (GitHub repos, Stack Overflow questions, arXiv papers, npm packages).

The biggest bottleneck I've seen isn't the coding — it's the agent not having enough context about the ecosystem it's working in.

zingar 2 hours ago | parent | prev | next [-]

Anecdotal pros and one annoyance:

- GH copilot API is a first class citizen with access to multiple providers’ models at a very good price with a pro plan - no terminal flicker - it seems really good with subagents - I can’t see any terminal history inside my emacs vterm :(

systima 2 hours ago | parent | prev | next [-]

Open Code has been the backbone of our entire operation (we used Claude Code before it, and Cursor before that).

Hugely grateful for what they do.

james2doyle 2 hours ago | parent [-]

What caused the switch? Also, are you still trying to use Claude models in OpenCode?

zingar an hour ago | parent [-]

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

xvector 12 minutes ago | parent [-]

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

cgeier 3 hours ago | parent | prev | next [-]

I‘m a big fan of OpenCode. I’m mostly using it via https://github.com/prokube/pk-opencode-webui which I built with my colleague (using OpenCode).

dalton_zk an hour ago | parent | prev | next [-]

I had been using open code and admire they effort to create something huge and help a lot of developers around the world, connecting LLM our daily work without use a browser!

kristopolous 2 hours ago | parent | prev | next [-]

Geminis cli is clearly a fork of it btw

p0w3n3d 3 hours ago | parent | prev | next [-]

For some reason opencode does not have option to disable streaming http client, which renders some inference providers unavailable...

There's also a request and a PR to add such option but it was closed due to "not adhering to community standards"

everlier 3 hours ago | parent | prev | next [-]

OpenCode is an awesome tool.

Many folks from other tools are only getting exposed to the same functionality they got used to, but it offers much more than other harnesses, especially for remote coding.

You can start a service via `opencode serve`, it can be accessed from anywhere and has great experience on mobile except a few bugs. It's a really good way to work with your agents remotely, goes really well with TailScale.

The WebUI that they have can connect to multiple OpenCode backends at once, so you may use multiple VPS-es for various projects you have and control all of them from a single place.

Lastly, there's a desktop app, but TBH I find it redundant when WebUI has everything needed.

Make no mistakes though, it's not a perfect tool, my gripes with it:

- There are random bugs with loading/restoring state of the session

- Model/Provider selection switch across sessions/projects is often annoying

- I had a bug making Sonnet/Opus unusable from mobile phone because phone's clock was 150ms ahead of laptop's (ID generation)

- Sometimes agent get randomly stuck. It especially sucks for long/nested sessions

- WebUI on laptop just completely forgot all the projects at one day

- `opencode serve` doesn't pick up new skills automatically, it needs to be restarted

busfahrer 2 hours ago | parent | prev | next [-]

I haven't been able to successfully get their CLI to reliably edit files when using local models, anybody else having the same problem?

hereme888 3 hours ago | parent | prev | next [-]

The reason I'm switching again next month, from Claude back to OpenAI.

hungryhobbit 3 hours ago | parent | next [-]

Yeah, support the company that promised to help your government illegally mass surveil and mass kill people, because they support a use case slightly better than the non-mass-murdering option.

stavros 3 hours ago | parent | next [-]

Both of them promised to help their government illegally mass surveil and mass kill people. One of them just didn't want it done to US citizens.

I'm not a US citizen, so both companies are the same, as far as I'm concerned.

hungryhobbit 3 hours ago | parent [-]

You are absolutely correct that both are evil ... as are most corporations.

Still, I feel like "will commit illegal mass murder against their own citizens" is a significant enough degree more evil. I think lots of corporations will help their government murder citizens of other countries, but very few would go so far as to agree to murder their own (fellow) citizens ... just to get a juicy contract.

stavros 3 hours ago | parent [-]

I see your viewpoint but, to me, "both will happily murder you but one is better because they won't murder ME!" isn't very compelling. Like, I get it, but also it changes nothing for me. They're both bad.

hungryhobbit 2 hours ago | parent | next [-]

It's not about "won't murder me" it's about "won't murder their own tribe". Humans are very tribal creatures, and we have all sorts of built-in societal taboos about betraying our tribe.

We also have taboos against betraying/murdering/whatever people of other tribes, but those taboos are much weaker and get relaxed sometimes (eg. in war). My point is, it takes significantly more anti-social (ie. evil) behavior to betray your own tribe, in the deepest way possible, than it does to do horrible things to other tribes.

This is just as much true for Russians murdering Ukranians as Ukranians murdering Russians, or any other conflict group: almost all Russians would consider a Russian who helps kill Russians to be more evil than a Russian who kills Ukranians (and vice versa).

stavros an hour ago | parent [-]

Right, but I consider someone who'll murder exclusively other tribes to be infinitely closer to someone who'll murder their own tribe than to someone who won't murder anyone.

cyanydeez 2 hours ago | parent | prev [-]

watching trump get elected twice; you can see why americanos have no problemos with mental backflips when choosing.

But you're still choosing evil when you could try local models

kykat 2 hours ago | parent [-]

Will you send me an H100?

cyanydeez 2 hours ago | parent [-]

Are you doing something that actually demands it? Have you tried local models on either the mac or AMD395+?

HWR_14 2 hours ago | parent | next [-]

Will you send me an AMD395+ or a new Mac that can handle the local models? That would probably be enough for me.

kykat 2 hours ago | parent | prev [-]

I will be able to do something that demands it once I have it ;)

Robdel12 2 hours ago | parent | prev [-]

> mass kill people

https://www.washingtonpost.com/technology/2026/03/04/anthrop...

xvector 11 minutes ago | parent | prev [-]

You're right, Anthropic shouldn't have even taken a moral stance here at all. They should have just gone full send and allowed everything, because there will never be satisfying some people. Why even try?

sankalpnarula an hour ago | parent | prev | next [-]

I personally like this better than claude code

arikrahman 3 hours ago | parent | prev | next [-]

Can anyone clarify how this compares with Aider?

siliconc0w 3 hours ago | parent | prev | next [-]

I reach for OpenCode + Kimi to save tokens on lower priority stuff and because it's quite fast on Fireworks AI.

polski-g an hour ago | parent [-]

I'm 90% sure Fireworks serves up quantized models.

tallesborges92 2 hours ago | parent | prev | next [-]

I’m happy with the one I built. (ZDX)

avereveard 3 hours ago | parent | prev | next [-]

isn't this the one with default-on need code change to turn off telemetry?

flexagoon 3 hours ago | parent [-]

No

avereveard 3 hours ago | parent [-]

https://github.com/anomalyco/opencode/issues/5554

https://www.reddit.com/r/LocalLLaMA/comments/1rv690j/opencod...

?

flexagoon 2 hours ago | parent [-]

You can scroll down literally two messages in the Github issue you linked:

> there isnt any telemetry, the open telemetry thing is if you want to get spans like the ai sdk has spans to track tokens and stuff but we dont send them anywhere and they arent enabled either

> most likely these requests are for models.dev (our models api which allows us to update the models list without needing new releases)

epec254 2 hours ago | parent | prev | next [-]

Honestly I was a Claude code only guy for a while. I switched to opencode and I’m not going back.

IMO, the web UI is a killer feature - it’s got just enough to be an agent manager - without any fluff. I run it on my remote VMs and connect over HTTP.

vadepaysa 3 hours ago | parent | prev | next [-]

Things that make an an OpenCode fanboy 1. OpenCode source code is even more awesome. I have learned so much from the way they have organized tools, agents, settings and prompts. 2. models.dev is an amazing free resource of LLM endpoints these guys have put together 3. OpenCode Zen almost always has a FREE coding model that you can use for all kinds of work. I recently used the free tier to organize and rename all my documents.

solomatov 2 hours ago | parent | prev | next [-]

Do they have any sandbox out of the box?

decodebytes an hour ago | parent [-]

nope - most folks wrap it in nono: https://nono.sh/docs/cli/clients/opencode

singpolyma3 2 hours ago | parent | prev | next [-]

OpenCode vs Aider vs Crush?

polski-g an hour ago | parent [-]

OpenCode, by reason of plugins alone, is better than all of them.

caderosche 3 hours ago | parent | prev | next [-]

I feel like Anthropic really need to fork this for Claude Code or something. The render bugs in Claude Code drive me nuts.

QubridAI 3 hours ago | parent | prev | next [-]

OpenCode feels like the “open-source Copilot agent” moment the more control, hackability, and no black-box lock-in.

gigatexal 13 minutes ago | parent | prev | next [-]

If you have to post something like this line already loser the plot

I only boot my windows 11 gaming machine for drm games that don’t work with proton. Otherwise it’s hot garbage

Duplicake 2 hours ago | parent | prev | next [-]

Why is this upvoted again on hacker news this is an old thing

zer0tonin 2 hours ago | parent [-]

Because this site is basically dead for any other subject than vibecoding and AI agents.

sergiotapia 4 hours ago | parent | prev | next [-]

If I wanted to switch from Claude Code to this - what openai model is comparable to opus 4.6? And is it the same speed or slower/faster? Thank you!

pimeys 3 hours ago | parent | next [-]

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

arbuge 3 hours ago | parent | next [-]

How does it compare to using GPT 5.4 inside Codex?

pimeys 2 hours ago | parent [-]

I used Codex for a long time. It's definitely better than Claude Code due to being open source, but opencode is nicer to use. Good hotkeys, plan/build modes, fast and easy model switching, good mcp support. Supports skills, is not the fastest but good enough.

nxpnsv 3 hours ago | parent | prev [-]

Well not anymore with Claude pro…

rbanffy 4 hours ago | parent | prev | next [-]

If you want faster, anything running on a Cerebras machine will do.

Never tried it for much coding though.

eli 3 hours ago | parent [-]

Outside of their (hard to buy) GLM 4.7 coding plans, it's also extremely expensive.

swyx 3 hours ago | parent | prev [-]

do you care about harness benchmarks or no?

sergiotapia 3 hours ago | parent [-]

Just a data point, I would need to use it for my workflows. I do have a monorepo with a root level claude.md, and project level claude.md files for backend/frontend.

thefnordling 3 hours ago | parent | prev | next [-]

opus/sonnet 4.6 can be used in opencode with a github copilot subscription

solomatov 2 hours ago | parent [-]

Does github copilot ToS allow this?

fresh_broccoli 2 hours ago | parent | next [-]

They officially support OpenCode: https://github.blog/changelog/2026-01-16-github-copilot-now-...

swingboy 2 hours ago | parent | prev [-]

I don't see why not. It's just using the Github Copilot API.

jedisct1 3 hours ago | parent | prev | next [-]

For open models with limited context, Swival works really well: https://swival.dev

ftchd 3 hours ago | parent | prev | next [-]

minus Claude login

voidfunc an hour ago | parent | prev | next [-]

I fucking love OpenCode.

anonym29 3 hours ago | parent | prev | next [-]

Just remember, OpenCode is sending telemetry to their own servers, even when you're using your own locally hosted models. There are no environment variables, flags, or other configuration options to disable this behavior.¹

At least you can easily turn off telemetry in Claude Code - just set CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC to 1.

You can use Claude Code with llama.cpp and vLLM, too right out of the box with no additional software necessary, just point ANTHROPIC_BASE_URL at your inference server of choice, with any value in ANTHROPIC_API_KEY.

Some people think that Anthropic could disable this at any time, but that's not really true - you can disable automatic updates and back up and reuse native Claude Code binaries, ensuring Anthropic cannot change your existing local Claude Code binary's behavior.

With that said, I like the idea of an open source TUI agent that won't spy on me without my consent and no way to disable it much better than a closed source TUI agent that I can effectively neuter telemetry on, but sadly, OpenCode is not the former. It's just another piece of VC-funded spyware that's destined for enshittification.

¹https://github.com/anomalyco/opencode/blob/4d7cbdcbef92bb696...

debazel 2 hours ago | parent | next [-]

Are you sure that endpoint is sending all traffic to opencode? I'm not familiar with Hono but it looks like a catch all route if none of the above match and is used to serve the front-end web interface?

flexagoon 2 hours ago | parent | next [-]

You are correct, it is indeed a route for the web interface

anonym29 2 hours ago | parent | prev [-]

updated post accordingly

flexagoon 2 hours ago | parent | prev | next [-]

They don't. That is just the route for their WebUI, which is completely optional.

kristopolous 2 hours ago | parent | prev | next [-]

I've point thought about making things that just send garbage to any data collecting service.

You'd be surprised how useless datasets become with like 10% garbage data when you don't know which data is garbage

ianschmitz 2 hours ago | parent | prev | next [-]

That linked code is not used by the opencode agent instance though right? Looks related to their web server?

cyanydeez 2 hours ago | parent | prev | next [-]

Does opencode still work if you blackhole the telemetry?

hippycruncher22 2 hours ago | parent | prev [-]

this is a big red flag

delduca 2 hours ago | parent | prev | next [-]

Sadly Antropic have blocked the usage of claude on it.

ricardobeat 2 hours ago | parent [-]

No, they haven’t. You can use claude like any other model via API, you just can’t reuse your subscription token.

nopurpose 3 hours ago | parent | prev [-]

Claude Code subscription is still usable, but requires plugin like https://github.com/griffinmartin/opencode-claude-auth

canadiantim 3 hours ago | parent [-]

Sure but will you get banned by anthropic anyway?