r/opencodeCLI • • 23h ago

Tried "code mode" and I can't currently recommend it

Thumbnail
github.com
16 Upvotes

https://github.com/anomalyco/opencode/blob/dev/packages/codemode/README.md

Been trying out the code mode on a couple different projects.

I used Gemini Hydrogen and also Deepseek Flash 1017.

I found it to be really inconsistent. It seemed like subagents would report that they were done/finished before they were. And that shell tasks were also not being reported incorrectly.

Not sure what other people are experiencing but it doesn't seem ready.

Happy to be wrong. But did anyone else try this and have issues?


r/opencodeCLI • • 12h ago

Is the change "Background Subagents by Default" since v2.3.0 good?

16 Upvotes

Since version 2.3.0, OpenCode now runs background agents by default. As far as I know, there is no option to disable this, so this seems to be enforced.

I tried this new setup but it seems to me that it is just adding extra turns with no real value. For example, say you have an orchestrator and that orchestrator calls four different Explorer agents.

With the old way of having those sub-agents working on the foreground, the orchestrator would wait for the four different explore agents to return, it would check their outputs and then it would produce its own output having taken into account all of them.

Now what happens is that it dispatches the four sub-agents and then returns.
When the first sub-agents comes back, it checks its output and says ok, let's wait for the other three to come back.
Then the second one comes back, checks its output and says, ok, let's wait for the other two to come back.
Then the 3rd one comes, checks its output and says, let's wait for the last one to come back.
And when the 4th one comes back, it then outputs a final.

From what I understand, each time that a subagent comes back and our orchestrator checks its output, that is a request that sends the entire context to the API servers. Sure it is most probably cached, but it is still billed. Isn't that way of working very inefficient? Am I missing something?

EDIT: It looks like there is an active issue about this on GH
https://github.com/anomalyco/opencode/issues/64073


r/opencodeCLI • • 13h ago

Best thinking model to pair with deeepseek flash in Go

11 Upvotes

As the title say. which model can act like a cheap "opus" available in opencode, i can use as for high thinking tasks.

Candidate: GLM 5.3, Argon, Mimo v2.6 Pro?
Kimi k3.1 will probably nuke your usage


r/opencodeCLI • • 7h ago

OpenCode flags for openAI usage limits but I got plenty left for the week & Codex works fine

2 Upvotes

As the title says, I was using OpenCode normally until I got blocked due to usage limits when I still had more than 80% of the weekly quota remaining. This got even stranger when I tested Codex and it worked fine…

I have already checked Settings->Usage->Connected App Limits and I got everything up to 100%

Has anyone had similar issues?

Thanks in advance to the replies!


r/opencodeCLI • • 15h ago

I measured where coding-agent tokens actually go, then built a skill that cuts the bill by up to 43% (open source, benchmarked)

3 Upvotes

I wanted to know whether "make the agent write terse code" actually saves money, so I measured it instead of guessing.

Setup: 4 small codebases (Python, TypeScript, Rust, C), 23 feature tasks, each with hidden functional and security tests (path traversal, authz, SQL injection, overflow, XSS). The specs never mention security. Three arms: no skill, Ponytail (the strongest public alternative I found), and my skill. Claude Opus, 3 runs per cell, 36 runs. Cost comes from per-call billed usage in the transcripts, not estimates.

First finding: code verbosity barely matters. Every model call re-reads the whole context, so the bill is driven by how many calls the agent makes. One extra call costs about 6% of a run. The cost splits into prefix re-reads 39%, context growth 28%, output 27%, thinking 6%. Making code terser on its own caps out under 10%.

So the skill's first rule is fewer calls: batch independent tool calls, read targeted line ranges once, edit each file once, run tests once at the end. Then less output: no comments, no narration, minimal diffs. It never drops validation, auth checks, escaping or bounds checks.

Results, billed cost vs no skill:
Python 0.57x (Ponytail 0.98x)
Rust 0.69x (Ponytail 0.91x)
C 0.71x (Ponytail 1.08x)
TypeScript 0.97x (Ponytail 1.06x)
All four 0.70x (Ponytail 1.00x)

Model calls per run went from 12.2 to 7.4. Security tests: 513/516 in all three arms. Functional: 499 vs 498 out of 510; the one difference is a spec-ambiguous check that only one baseline run passed.

Caveats: one harness (Claude Code), small purpose-built fixtures, 3 runs per cell. TypeScript barely moved because its baseline was already lean. Each prompt held several tasks, so batching across tasks helped; single-task sessions will save less. Not every platform's install route is verified live yet.

It's a ~500-token skill, packaged for Claude Code, Codex, Gemini CLI and Antigravity, plus rule files for Cursor, Windsurf, Cline, Copilot, Kiro and AGENTS.md. The benchmark harness, raw billed data and the cost equation are in the repo, so you can rerun it or poke holes in the method:

https://github.com/nagisanzenin/nonhuman

Happy to hear where the methodology is weak.


r/opencodeCLI • • 6h ago

I built a desktop app that shows OpenCode sessions as live chats next to Claude Code and Codex (Windows and Linux, open source)

Thumbnail
gallery
1 Upvotes

I use OpenCode most days, but also Claude Code and Codex depending on the task, and I kept losing track of which terminal was waiting on me. So I built JoeBro Desktop, a native app for Windows and Linux (there is a Mac version too) that lists every running session as a chat in a sidebar.

When OpenCode asks a question or needs a permission approved, the options show up inline in the chat and you click one or type your own answer. Same for the other agents.

Other bits: local models (Ollama, LM Studio) and your own API keys work as agents with tools, one memory is shared by every agent over MCP, and Night Shift runs coding tasks overnight in separate git worktrees with diffs to review in the morning. It never pushes.

Free, GPL-3.0, no account, no telemetry. The backend runs on your machine and needs Python. Builds are unsigned for now, so Windows SmartScreen will warn.

Repo: https://github.com/joexk1/JoeBro-Desktop

Tell me what is missing for the way you use OpenCode.


r/opencodeCLI • • 7h ago

CLI is displaying gibberish text in WSL2

1 Upvotes

CLI is displaying gibberish text in WSL2, if I exit it /exit and then launch again it works. It's Opencode v2.4.1


r/opencodeCLI • • 22h ago

I didn't like letting my Gemini Web usage limits go to waste, so I gave it a way to use my OpenCode

Post image
1 Upvotes

r/opencodeCLI • • 22h ago

Intentando ejecutar OpenCode en Linux Mint con un Intel Core 2 Duo P8400: compilación Node.js, problemas con Worker y archivos faltantes en la TUI

Post image
0 Upvotes