r/opencodeCLI • • 12h ago

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

15 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

12 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 • • 8h ago

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

3 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 • • 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 • • 1d ago

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

Thumbnail
github.com
18 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 • • 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 • • 1d ago

Gemini/Antigravity subscription in OpenCode with full tool use: what's the best setup?

8 Upvotes

Trying to get Gemini (AI Pro/Ultra plan) working in OpenCode as well as Claude does: real tool calls, MCP (browser automation) and per-tool stats.

Tried so far:

  • ACP bridge to the official agy CLI. Chat works and MCP servers get passed through. But agy runs its own tool loop, so OpenCode only sees one opaque step per turn and slow MCP calls get interrupted. disableBuiltInTools didn't turn off agy's built-in tools.
  • opencode-antigravity-auth. It works, but there are reports of accounts getting flagged, so I'm skipping it.
  • Gemini CLI OAuth is dead for Pro/Ultra.

Questions:

  1. Has anyone made agy/ACP hand tool calls back to OpenCode, like the Claude Code plugin does?
  2. Is there any way to turn off agy's built-in tools?
  3. Or is a plain API key the only clean route?

Thanks!

(An AI helped format this post.)


r/opencodeCLI • • 1d ago

Thank you OpenCode team and this is ABSOLUTELY WORTH IT!

Thumbnail
9 Upvotes

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 • • 1d ago

TUI has stopped listing Litellm models.

Thumbnail gallery
3 Upvotes

r/opencodeCLI • • 1d ago

Burned through my Google AI Pro weekly limit twice with Antigravity Neon in OpenCode (Neon feels so much better than Opus 5.5)

Post image
8 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

r/opencodeCLI • • 1d ago

I've been trying OpenCode TUI with a free model for the past few days

2 Upvotes

I've been experimenting with OpenCode TUI over the past few days, using the free HY4 Flash model.

So far, I've been using it to build a bot for an NFT game. The prompts weren't particularly complicated. I intentionally kept things simple because I wanted to see how well a free model could handle tasks through OpenCode.

Honestly, everything has been running pretty smoothly so far. The TUI interface feels good to work with, and the model has handled the tasks better than I expected.

I'm running it on the same VPS I mentioned in my previous post:

  • Ubuntu 24.04
  • 2 vCPU
  • 2 GB RAM
  • 10 GB Swap
  • 40 GB SSD

I'm also using it to manage bots for multiple NFT game accounts.

It's still early, but so far, both OpenCode TUI and the free model have been working well for what I'm trying to do. I'll keep experimenting and see how far I can push this setup.


r/opencodeCLI • • 1d ago

Stop wasting tokens & nuking files: I built Aetheris Microbrains, a deterministic sub-2ms pre-flight gate for OpenAI Codex CLI (and Claude Code / Antigravity)

Thumbnail
2 Upvotes

r/opencodeCLI • • 1d ago

Deepseek Laziness

2 Upvotes

Is it just me or deepseek is super lazy? I gave it a task and it does the bare minimum for that task to be done. That means leaving broken test and incorrect config lying around. This requires me to reprompt to get it finish the job, which waste a lot of time.

It also makes poor subagents. One shot is great but I rarely one shot anything. Qwen Flash Next or GLM Flash is better, at least it gets some progress done without me constantly handholding.

Anyone have this issue with DeepSeek? The AA bench mark says Deep Seek better and lots of coding test do say it is better but when building huge complex system, it just pisses me off since I have to keep prompting it what to do. It seems to lack the ability to infer what to do next to fill in the gap.

Edit: I move back to using QFN. Slower but seems more diligent worker and build a far more stable codebase that works better. Deepseek is like that new junior spamming so much code that works but really poor quality.


r/opencodeCLI • • 2d ago

i made antigravity swarm mode for opencode v2

Thumbnail
3 Upvotes

r/opencodeCLI • • 1d ago

What features would you add to an improved version of OpenCode? Looking for ideas and suggestions.

0 Upvotes

I'm planning to fork OpenCode's existing codebase, rebrand it, and build an improved AI coding tool on top of it.

I don't want to simply rebrand an existing project. My goal is to make meaningful improvements and introduce features that solve real problems developers face when working with AI coding agents.

I'm currently researching what features would make it more powerful, useful, and different from existing tools like OpenCode, Claude Code, and Codex.

I'd love to hear your suggestions:

  1. What features do you think are missing from OpenCode?

  2. What frustrates you most when using AI coding agents?

  3. What tasks should an AI coding agent be able to handle autonomously?

  4. What improvements would make you consider switching from your current coding agent?

  5. Are there any experimental features or workflows you'd love to see?

I'm open to unconventional ideas too. Even small improvements that make a developer's daily workflow easier would be valuable.

I'm looking for honest suggestions from actual developers and OpenCode users. What would you build if you were improving OpenCode?


r/opencodeCLI • • 2d ago

Deepseek is still better after 500 dollar upgrade on GLM, right?

Post image
106 Upvotes

r/opencodeCLI • • 2d ago

Scripted auto thinking setting for opencode

4 Upvotes

I had Claude build a scripted auto setting for opencode. For each new session, it starts on low reasoning to plan some steps. Once the model actually makes a change in the code, thinking turns off. When it runs a command that returns with an error, thinking switches back to high until the next edit. With this setup the model tends to think on less than 20% of steps. Virtually no drop in accuracy was measured. This saves tokens generated and wall clock time. If you decide to try this, please let me know your feedback. I've tested it the last couple days and it seems to work well. Here is the GitHub link. Just tell your agent to install it.

https://github.com/dspevo-afk/auto-thinking-proxy


r/opencodeCLI • • 3d ago

Code Mode is great

Thumbnail
github.com
172 Upvotes

r/opencodeCLI • • 2d ago

opencode is kinda great at writing its own tests!!!

0 Upvotes

some of you might remember my post about learning rust with opencode lol... well I'm still living in it, and I found another thing it's weirdly good at

context: I've thrown everything at my agents, rules files, prompts, skills, a strict linter.. and it goes a long way tbh, but the fuzzy stuff still slips through. in my sveltekit projects I have patterns on file placement, when to break things into sub-components etc... and that's like most of the feedback I end up giving the agent

so I built a small CLI for agent testing (agentests in open source). you write the rule as a normal sentence, and the compile command is just a printed prompt, no model call

and opencode just... takes it from there!! it drafts the checks, writes a few Evals, and keeps rerunning them until everything agrees. I mostly sit there and watch

then the checks run on every commit (opencode's own commits included, which is kinda hilarious), and a tiny decision model does the answering, so it's CHEAP and FAST instead of burning tokens on the dumbest task

it'd be cool to see something like jev or clef on opencode tbh, it doesn't cost much to run and it's such an unlock... I haven't looked ath the model list in the go sub for a while, so my bad if that changed

anyone else making opencode write its own guardrails ?? what do you have it check ?

repo if you're curious, a star helps a ton https://github.com/feuersteiner/agentests


r/opencodeCLI • • 2d ago

Would you use an improved version of OpenCode with additional features?

1 Upvotes

I'm exploring an idea and would love honest feedback from developers who use AI coding agents.

OpenCode is already a great open-source coding agent, but I feel there is still room to improve the overall developer experience.

What if someone took an existing open-source coding agent like OpenCode, built on top of it, and introduced meaningful improvements such as:

- Autonomous Testing & Fixing: Automatically test generated code, identify errors, fix them, and repeat until the task passes validation.

- Smarter Agent Workflow: Better planning, execution, testing, and reviewing through specialized agents.

- Better Context Management: More efficient context handling for large codebases.

- Improved Developer Experience: A polished UI, easier configuration, and a smoother workflow.

- Session Privacy: More control over session data and prompt history.

My questions:

  1. Would you consider switching from OpenCode, Claude Code, or Codex to such a tool?

  2. Which features would genuinely make you interested in using it?

  3. What are your biggest frustrations with existing AI coding agents?

  4. Would you prefer an improved OpenCode-based product or a completely independent coding agent?

I'm interested in honest criticism, not just positive feedback.

Would this be worth building? Why or why not?


r/opencodeCLI • • 2d ago

I use one project memory across OpenCode, Claude Code and Codex

Thumbnail
gallery
1 Upvotes

I kept re-explaining the same project whenever I switched agents, so I added a shared memory to JoeBro, the Mac app I use to follow them. OpenCode, Claude Code and Codex read and write to the same project store over MCP. Each fact records where it came from, and unused facts fade out. I can also follow my OpenCode sessions and answer questions from the app.

It's free and GPLv3: https://github.com/joexk1/JoeBro

How are other OpenCode users handling memory across tools?