OpenCode – The open source AI coding agent

(opencode.ai)

361 points | by rbanffy 3 hours ago

50 comments

  • logicprog 1 hour ago
    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 53 minutes ago
      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

    • arcanemachiner 15 minutes ago
      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 8 minutes ago
        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

    • westoque 1 hour ago
      > 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 36 minutes ago
        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.

    • tshaddox 8 minutes ago
      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.

    • cpeterso 58 minutes ago
      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 44 minutes ago
        Well that's good to hear, maybe they'll improve moving forward on the release aspect at least.
    • thatmf 29 minutes ago
      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 11 minutes ago
        > 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 18 minutes ago
        negative values even.
    • blks 1 hour ago
      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 1 hour ago
        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.
    • paustint 1 hour ago
      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 1 hour ago
        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!
    • bakugo 49 minutes ago
      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 35 minutes ago
        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 48 minutes ago
      What is a better option?
      • logicprog 43 minutes ago
        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 18 minutes ago
          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 42 minutes ago
        • rao-v 27 minutes ago
          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 23 minutes ago
            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.

  • softwaredoug 2 hours ago
    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 56 minutes ago
      They probably don't have to write OKRs every quarter saying the opposite.
  • 65a 13 minutes ago
    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.
  • planckscnst 1 hour ago
    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 1 hour ago
      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?
  • ramon156 3 hours ago
    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
      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 2 hours ago
        I dont understand this, what is the difference, technically!
        • miki123211 2 hours ago
          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
            - 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 1 hour ago
              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 1 hour ago
                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 1 hour ago
                  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 52 minutes ago
                    You'd be surprised how effective small bits of friction are.
        • KronisLV 2 hours ago
          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 2 hours ago
            >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.

        • hereme888 2 hours ago
          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 58 minutes ago
            Also, Subscription: against the TOS of Claude Code, need to spoof a token and possibly get banned due to it.
        • hackingonempty 2 hours ago
          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 2 hours ago
          about 30 times more cost
      • wilg 2 hours ago
        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.
      • hereme888 2 hours ago
        Was it not obvious what the OP meant by blacklisted?
        • Maxatar 2 hours ago
          Blacklisted usually means something is banned. OpenCode is not banned from using Anthropic's API.
        • enraged_camel 2 hours ago
          No, it was not? For those whose native language is English, "blacklisted" implies Claude API will not allow OpenCode.
      • Robdel12 2 hours ago
        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 1 hour ago
          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)

    • lima 3 hours ago
      You can still use OpenCode with the Anthropic API.
      • pimeys 3 hours ago
        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 2 hours ago
          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 27 minutes ago
            This is the intention. They do not want folks that can’t pay to use their service.
          • iAMkenough 17 minutes ago
            Out of curiosity, what's your next monthly subscription in terms of price?
            • stavros 14 minutes ago
              Electricity, $95/mo.
              • iAMkenough 7 minutes ago
                Now you got me thinking my electric company should start offering subscription tiers in these uncertain energy times...
                • stavros 5 minutes ago
                  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 2 hours ago
            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
              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 2 hours ago
          Or have Claude write the code and Gemini review it. (Was using GPT for review until the recent Pentagon thing.)
          • blks 1 hour ago
            You can also review the code you ship yourself.
        • jatora 3 hours ago
          'just API key' lol. just hundreds of dollars at a minimum
          • specproc 2 hours ago
            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 2 hours ago
              I'm testing glm5 on Claude code and opencode just to stop consuming American... Soo good so far!
            • jen20 2 hours ago
              Qwen works fine and requires paying no-one except a hardware vendor.
    • cyanydeez 2 hours ago
      a $3000 AMD395+ will get you pretty close to a open development environment.
      • anonym29 1 hour ago
        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 1 hour ago
          the boards now are pricier, at least the framework one. I got it for 1700, and now its ~$2400.
        • Shebanator 1 hour ago
          not mini PCs, no, but there are laptops that do
        • ricardobeat 1 hour ago
          I bought mine, a mini PC, for $1400 just six months ago. This bubble will pass.
  • brendanmc6 2 hours ago
    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.

    • quietsegfault 1 hour ago
      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 45 minutes ago
        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 1 hour ago
  • hippycruncher22 2 hours ago
    I'm a https://pi.dev man myself.
    • wyre 29 minutes ago
      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 1 hour ago
    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 1 hour ago
      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 1 hour ago
      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 1 hour ago
      Aren’t those in-editor tools? Opencode is a CLI
  • khimaros 3 hours ago
    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 2 hours ago
      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
  • lairv 2 hours ago
    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 48 minutes ago
      Strange. I've been running it on several different ubuntu 24 04 machines with standard terminal with no issues.
    • flexagoon 2 hours ago
      > 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
      This shouldn't be related to Wayland.

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

      What problem do you have?

    • samtheprogram 2 hours ago
      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 1 hour ago
        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 23 minutes ago
          There's a desktop app which uses Tauri. Unrelated to the TUI.
    • Gigachad 2 hours ago
      Probably vibe coded
      • pixelmelt 2 hours ago
        Some of the more recent versions of it had memory leaks so you couldn't just leave it on in the background
  • Frannky 2 hours ago
    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.
  • __mharrison__ 2 hours ago
    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
      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.
  • zingar 1 hour ago
    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 :(

  • aimarketintel 1 hour ago
    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.

  • dalton_zk 1 hour ago
    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!
  • systima 1 hour ago
    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 1 hour ago
      What caused the switch? Also, are you still trying to use Claude models in OpenCode?
      • zingar 1 hour ago
        You can access anthropic models with subscription pricing via a copilot license.
  • cgeier 3 hours ago
    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).
  • kristopolous 2 hours ago
    Geminis cli is clearly a fork of it btw
  • p0w3n3d 2 hours ago
    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"

  • busfahrer 1 hour ago
    I haven't been able to successfully get their CLI to reliably edit files when using local models, anybody else having the same problem?
  • sankalpnarula 53 minutes ago
    I personally like this better than claude code
  • everlier 2 hours ago
    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

  • hereme888 2 hours ago
    The reason I'm switching again next month, from Claude back to OpenAI.
    • hungryhobbit 2 hours ago
      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 2 hours ago
        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 2 hours ago
          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 2 hours ago
            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 1 hour ago
              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 31 minutes ago
                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
              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
                Will you send me an H100?
                • cyanydeez 1 hour ago
                  Are you doing something that actually demands it? Have you tried local models on either the mac or AMD395+?
                  • HWR_14 1 hour ago
                    Will you send me an AMD395+ or a new Mac that can handle the local models? That would probably be enough for me.
                  • kykat 1 hour ago
                    I will be able to do something that demands it once I have it ;)
      • Robdel12 1 hour ago
  • arikrahman 2 hours ago
    Can anyone clarify how this compares with Aider?
  • siliconc0w 2 hours ago
    I reach for OpenCode + Kimi to save tokens on lower priority stuff and because it's quite fast on Fireworks AI.
    • polski-g 41 minutes ago
      I'm 90% sure Fireworks serves up quantized models.
  • tallesborges92 1 hour ago
    I’m happy with the one I built. (ZDX)
  • avereveard 3 hours ago
    isn't this the one with default-on need code change to turn off telemetry?
  • epec254 1 hour ago
    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 2 hours ago
    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
    Do they have any sandbox out of the box?
  • singpolyma3 1 hour ago
    OpenCode vs Aider vs Crush?
    • polski-g 40 minutes ago
      OpenCode, by reason of plugins alone, is better than all of them.
  • caderosche 2 hours ago
    I feel like Anthropic really need to fork this for Claude Code or something. The render bugs in Claude Code drive me nuts.
  • QubridAI 2 hours ago
    OpenCode feels like the “open-source Copilot agent” moment the more control, hackability, and no black-box lock-in.
  • Duplicake 2 hours ago
    Why is this upvoted again on hacker news this is an old thing
    • zer0tonin 1 hour ago
      Because this site is basically dead for any other subject than vibecoding and AI agents.
  • sergiotapia 3 hours ago
    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
      GPT 5.4 has been the winner this week. Last week Opus 4.6. You can use both in OpenCode.
      • arbuge 2 hours ago
        How does it compare to using GPT 5.4 inside Codex?
        • pimeys 1 hour ago
          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 2 hours ago
        Well not anymore with Claude pro…
    • rbanffy 3 hours ago
      If you want faster, anything running on a Cerebras machine will do.

      Never tried it for much coding though.

      • eli 2 hours ago
        Outside of their (hard to buy) GLM 4.7 coding plans, it's also extremely expensive.
    • swyx 3 hours ago
      do you care about harness benchmarks or no?
      • sergiotapia 3 hours ago
        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 2 hours ago
    opus/sonnet 4.6 can be used in opencode with a github copilot subscription
  • jedisct1 2 hours ago
    For open models with limited context, Swival works really well: https://swival.dev
  • voidfunc 58 minutes ago
    I fucking love OpenCode.
  • ftchd 2 hours ago
    minus Claude login
  • muin_kr 39 minutes ago
    [dead]
  • WWilliam 1 hour ago
    [dead]
  • rodchalski 1 hour ago
    [dead]
  • aplomb1026 1 hour ago
    [dead]
  • patapim 56 minutes ago
    [dead]
  • webagent255 2 hours ago
    [dead]
  • jefftrebben 36 minutes ago
    [dead]
  • the_axiom 2 hours ago
    [flagged]
    • crims0n 2 hours ago
      We do seem to have a huge influx of Reddit refugees that don’t understand what makes this community different.
    • z3c0 2 hours ago
      The topic at hand seems to shift the quality of the discussion greatly these days. Many people have thoughts on coding agents because they are aimed at the lower quartiles of coders. Far less have detailed opinions on other ways they could wield a Markov model.
  • anonym29 2 hours ago
    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
      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
        You are correct, it is indeed a route for the web interface
      • anonym29 1 hour ago
        updated post accordingly
    • flexagoon 2 hours ago
      They don't. That is just the route for their WebUI, which is completely optional.
    • kristopolous 2 hours ago
      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 1 hour ago
      That linked code is not used by the opencode agent instance though right? Looks related to their web server?
    • cyanydeez 1 hour ago
      Does opencode still work if you blackhole the telemetry?
    • hippycruncher22 2 hours ago
      this is a big red flag
  • delduca 1 hour ago
    Sadly Antropic have blocked the usage of claude on it.
    • ricardobeat 1 hour ago
      No, they haven’t. You can use claude like any other model via API, you just can’t reuse your subscription token.
  • nopurpose 2 hours ago
    Claude Code subscription is still usable, but requires plugin like https://github.com/griffinmartin/opencode-claude-auth
    • canadiantim 2 hours ago
      Sure but will you get banned by anthropic anyway?