Live data from Hacker News

OpenCode – Open source AI coding agent

opencode.ai

11–20 of 700 posts

Re: OpenCode – Open source AI coding agent

#11
post #8
post #4

Earlier quoted context omitted.

You can still use OpenCode with the Anthropic API.

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.

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

Re: OpenCode – Open source AI coding agent

#13
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

Re: OpenCode – Open source AI coding agent

#15
post #2

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

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

Re: OpenCode – Open source AI coding agent

#16

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://gi…

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

Re: OpenCode – Open source AI coding agent

#20
post #12

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!

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

Well not anymore with Claude pro…
Post reply on HN