OpenCode – Open source AI coding agent

rbanffy 607 points 270 comments March 20, 2026
opencode.ai · View on Hacker News

Discussion Highlights (20 comments)

ramon156

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

sergiotapia

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!

avereveard

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

cgeier

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

khimaros

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

nopurpose

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

ftchd

minus Claude login

vadepaysa

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.

softwaredoug

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.

siliconc0w

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

__mharrison__

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.

p0w3n3d

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"

QubridAI

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

hereme888

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

thefnordling

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

Frannky

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.

caderosche

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

jedisct1

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

everlier

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

anonym29

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

Semantic search powered by Rivestack pgvector
3,471 stories · 32,344 chunks indexed