Opencode: AI coding agent, built for the terminal

github.com

304 points by indigodaddy 2 days ago


xrd - 2 days ago

Isn't it more appropriate to compare this to aider?

I prefer the command line tools to IDE integration, even though I don't feel like the contextual options are great. In other words, I don't always feel that I can see the changes fully. I like Claude Code's option to expand the result using ctrl-r, and I like the diffs it provides. But, it still feels like there is a way to get better than what I see inside Zed and what I see inside Claude and Aider.

Maybe an editor that can be controlled and modified on the fly using natural language?

jeremy_k - 2 days ago

Just wanted to say I had been happily plodding along using AI tools in Zed, which had worked pretty well but seeing the SST team was behind OpenCode I decided to finally give a terminal based agent a try. I was blown away, primarily by the feedback loops of say OpenCode writing new tests, running the test suite, seeing the tests errored and looping back start the whole process again. That looping does not happen in Zed!

It was the first time I felt like I could write up a large prompt, walk away from my laptop, and come back to a lot of work having been done. I've been super happy with the experience so far.

jauntywundrkind - 2 days ago

Could really use a comparison versus the seemingly de-facto terminal AI coding tool Aider. https://aider.chat/

thdxr - 2 days ago

hey one of the authors here

we're a little over a month into development and have a lot on our roadmap

the cli is client/server model - the TUI is our initial focus but the goal is to build alternative frontends, mobile, web, desktop, etc

we think of our task as building a very good code review tool - you'll see more of that side in the following weeks

can answer any questions here

brainless - a day ago

I have a question around pricing:

I am using Claude Code almost exclusively. I am using the Claude Pro subscription and it allows Claude Code usage, with limits on the number of prompts per 5 hours, according to their site. I have not hit these limits yet even though I use this full-time, daily.

With other tools, do I have to pay API based costs or are there ways to use my subscription? As I see it, the API costs add up quickly. That means we can be stuck with a few tools from the top tier model companies.

orliesaurus - a day ago

I feel like the guy behind this project loves getting into internet fights to create drama/clickbait. That being said, it's a cool project - still in its early stages and nowhere as usable as the other CLIs...but it's a darn shame about all the drama.

totaa - 2 days ago

community drama aside, great to see more open source agentic CLIs tools.

other than the focus on tui design, does this have any advantage over Claude Code, Aider, Gemini using the same model?

scosman - 2 days ago

OpenCode is great. A tier TUI. Basically an open Claude code.

- 12 hours ago
[deleted]
preciz - 2 days ago

Hmm, there is already a similar project with the same name: https://github.com/opencode-ai/opencode

cranium - a day ago

Has anyone done a (somewhat) apple-to-apple comparison between opencode and claude code, as they both can use claude pro/max subscription?

I'm curious about how they feel to use and their "performance".

theusus - a day ago

If I know it correctly. SST didn't build Opencode.

- a day ago
[deleted]
zombot - a day ago

It doesn't say how to configure a local ollama model.

rw_panic0_0 - 2 days ago

the UI looks very great. Just tried it, it's a pity that it doesn't support permissions before executing write/edit commands. I'm a Goose user btw

adhamsalama - a day ago

Would be nice to compare it to Aider.

willahmad - 2 days ago

UI looks really neat and pleasant to use. Does it create a todo list per prompt similar to Claude Code?

careful_ai - 2 days ago

[dead]

entelechy0 - 2 days ago

[dead]

Tepix - 2 days ago

The name is already taken, openCode is a large important code repository in Europe.

jappgar - a day ago

Terminal UIs is such a step backward. It's only attractive to people who have a preexisting emotional attachment to the terminal.

I should be one of those people, I guess. I love shell scripts and all the rest... but interactive terminal UIs have always sucked.

So much of what AI companies are putting out is designed to capture developer mindshare. Substantive improvements to their core product (models) are few and far between, so they release these fidgets about once a month to keep the hope alive.

From that standpoint, TUI makes sense because it obscures the process and the result enough to sucker more people into the vibe-coding money hole.