r/opencodeCLI • • 3h ago

What has been your experience with orchestration and OpenCode?

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 4h ago

[Pregunta]

Thumbnail reddit.com
0 Upvotes

r/opencodeCLI • • 6h ago

OpenCode in the notch, and now Kilo Code and MiMo Code too, through the same kind of plugin

Thumbnail
gallery
1 Upvotes

Openbar is a free open source app that shows OpenCode sessions in the Mac notch (a small island on Windows and Linux). It installs a small OpenCode plugin, so permission requests and replies are answered right from the notch, with the diff shown for file edits.

Kilo Code (an OpenCode fork) and Xiaomi's MiMo Code load plugins the same way OpenCode does, so this week's 3.13 release added both with the same approach. Their permissions and questions come to the notch too, in the same list as OpenCode, Claude Code and Codex.

I'd like feedback from OpenCode users on what to add next.

https://github.com/wrr-studio/OpenBar


r/opencodeCLI • • 6h ago

I made a Go usage meter for the OpenCode desktop app (5-hour, weekly, monthly)

Thumbnail
gallery
1 Upvotes

I couldn't find my Go usage limits anywhere in the desktop app. The only place that shows the 5-hour, weekly and monthly numbers is the web console, so I kept switching tabs.

So I built a small GUI plugin for the desktop app. A small pill in the corner shows your highest usage (like "Go 60%"). Click it and a popup shows all three limits with progress bars and reset times, converted to my timezone. It refreshes every 5 minutes, or on demand.

How it works: it calls the Go usage endpoint from the docs, using your own API key from the plugin options in opencode.jsonc. The key stays in the app's main process and the plugin makes no other network calls.

Caveats: it uses the experimental GUI plugin API, so an update could break it. I tested it on desktop 2.4.5 on Windows only. I built it with AI help.

It's not on GitHub yet. If people want it, I'll clean it up and publish it. Would you use it, and where would you want the indicator to sit?


r/opencodeCLI • • 10h ago

Someone's agent fixed the same bug in my project six times in 36 hours, one bad JSON value at a time

2 Upvotes

My service saves a half-finished sync as JSON in Postgres and reads it back on the next run. One value of the wrong type in there and every run after it fails the same way.

The fixes came in one value at a time, all from one person's agent: a number that wasn't whole, a null in the history, a null in the comments, a comment with no text, then two logins that weren't strings. Six issues, six PRs, all merged, and I asked for changes on five of them (the last one). Ten days later one commit checks the whole row instead.

What I took from it: when you hand issues to agents, list the root cause as one issue, not the symptom you just hit.

The PRs came through Overflow, which I built. A week your agent has usage left at the reset, it works on someone else's GitHub issue. A week you run short, someone else's agent works on yours. Everyone starts at 0 points, you get an issue's points when your PR merges and spend them on your own issues. Free, MIT, no money. Opencode works fine for it, Overflow only sees the PR, and the agent can read the board over MCP.

When I posted here on 11-27 it was 105 PRs merged from people other than me. Now it's 114, from 17 people. All of them are on my repos though, and I'm not after more help with mine. I'm posting because I want people registering theirs: one form, public repos only, the labels have to exist first, and nothing lands unless you merge it.

Would you have listed that as one issue or six?

https://github.com/Nitjsefnie/Overflow


r/opencodeCLI • • 14h ago

Good free models on opencode

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 1d ago

Amazon Ergo Uncensored

37 Upvotes

Ergo Uncensored is now on OpenUncensored at 240–280 tps, the fastest and cheapest uncensored Ergo we could find.

Hey everyone,

We've just moved Ergo Uncensored (Amazon's 1.1T Ergo with its refusals removed) onto our own GPUs on OpenUncensored, with 1M context, tool calling and reasoning.

It's available through our API on a pay-as-you-go basis, no account needed.

ProviderInput / 1MCached / 1MOutput / 1MMeasured decodeFirst token (TTFT)
OpenUncensored$1.10$0.20$3.33240–282 tok/s (282 at C=1)0.15 s cached (0.8–1.5 s live avg)
Other uncensored Ergo API$1.10$0.33$3.33~167 tok/s2.8 s (8.9 s p90)

Coding agents spend most of their tokens re-reading cached context, so the cached price is where you save.

You can use it with your favourite coding tools, including DSH, Claude Code, OpenCode and Cursor, through our API.

It isn't quantized any further than Amazon's release: same MXFP4 experts and BF16 weights, served with Amazon's DSpark speculative decoding. It has been tested deeply for regressions on tool calling, reasoning, knowledge and uncensored compliance:

  • Refusals: 3/100 compared to 98/100 in the original
  • 88.3 on MMLU (stock Ergo: 90.7)
  • Passed our internal coding and cyber benchmarks
  • #2 on the OpenUncensored leaderboard

Let us know what you guys think!

openuncensored.com


r/opencodeCLI • • 1d ago

opencode go is a saviour

Thumbnail reddit.com
2 Upvotes

r/opencodeCLI • • 2d ago

I put together a directory comparing AI coding plans and subscriptions across 25 providers

Thumbnail
gallery
50 Upvotes

I've been tracking AI coding plans and subscriptions, and three providers caught my attention: Morse, OpenCode Go and Command Code.

Instead of comparing just the monthly prices, I wanted to put their plans, usage limits and what you actually get side by side.

Here's what I found:

1. Morse

Free: $0/month, includes $2.50 monthly credits.

Pro: $9/month (first-year pricing).

Max: $23.40/month (first-year pricing).

Access to uncensored models and chat-focused subscriptions with unlimited messages on paid plans.

2. OpenCode Go

Go: $10/month.

Go Plus: $40/month.

Curated model catalogue for agentic coding.

Generous usage limits, with additional limits and fewer interruptions on Go Plus.

3. Command Code

Go: $1/month, includes $10 in credits.

GOAT: $10/month, up to $100 in credits.

Pro: $20/month, up to $110 in credits.

Higher-tier Max plans are also available, going up to $200/month.

The interesting part is that these providers have quite different approaches to AI coding subscriptions. Some focus on curated model access, others on credits and request allowances.

I've put together a comparison so you can check the plans and pricing in one place.

Full comparison: https://inferencedirectory.xyz/coding-plans/

I'm keeping the listings updated as pricing and usage limits change.

Are there any other AI coding subscription providers worth adding?


r/opencodeCLI • • 1d ago

Kimi k3 vs Ergo?

3 Upvotes

Hi,

I wanted to compare kimi k3 vs ergo for some stuff that claude refuses to do but running full evals will be quite expensive, so wanted your opinion on what you have experienced while working with these models on real world tasks

kimi has been said to be benchmaxxed and not sure whether that applies to Ergo so cant trust AA scores

The tasks will be long form agentic coding related to bot automation work


r/opencodeCLI • • 1d ago

What are yall's observations on tinsel-alpha-free, subq-savant-1.4-free and the new seaglass alpha and tidepool alpha

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 1d ago

How do you regression-test your AGENTS.md rules when switching models in OpenCode?

0 Upvotes

How do you know whether the new model still follows your engineering conventions?

I've been building an approach where written rules become executable tests, independently of the coding agent or model.
For example:

  • Never mock our own hooks.
  • Never use time.sleep() in tests.
  • Always use our internal error class.

Each rule gets explicit passing and failing examples.
Glob and grep handle what can be checked deterministically. Specialized decision models handle what requires semantic judgment. Checks run at commit time or in CI.

In one of my experiments, 97.6% of checks could be handled before making a model call.

The idea isn't to replace linters or CI, but to make written conventions testable without having to implement every new rule manually.

I'm building this as an open-source project called Agentests: https://github.com/feuersteiner/agentests

Would love some feedback from people regularly switching between models.


r/opencodeCLI • • 1d ago

I built a small Mac CLI so Codex / Claude Code / Cursor can use API keys without seeing them

Post image
1 Upvotes

r/opencodeCLI • • 2d ago

Best Practice / Guide for setting up OpenCode in a Docker container or sandbox?

14 Upvotes

My Ideal setup would be something like - OpenCode using VSCode with Git, node, python, C++ and Rust all installed and ready to use, plus my skills, scripts and MCP's. All in one docker sandbox, setup remains consistent every time I launch.

Can I use the GUi with a docker sandbox?

Is there a guide for this? What would you do differently?


r/opencodeCLI • • 1d ago

Minimax M4 and GLM 5.4 on OpenCode Go. Abit pricey though

Post image
6 Upvotes

r/opencodeCLI • • 2d ago

[Plugin] oc-budget now shows your Claude limits, without touching your token

4 Upvotes

Quick update on my opencode-plugins suite: small plugins for OpenCode v2, each doing one thing, in Desktop and CLI.

oc-budget now shows your Claude 5-hour and weekly limits (via Claude Agent), next to OpenCode Go and your other balances. Desktop and CLI, as usual.

What's different: there are plenty of usage plugins around, some really nice, but most of the ones I looked at, grab your subscription's OAuth token and call Anthropic themselves. Anthropic's terms say third-party developers must not do that, and I like my account ;)

So mine never reads your token: it just asks the official claude CLI for /usage. Zero tokens spent, and a much safer way to do it (though I can't promise anything on Anthropic's behalf).

Needs Claude Code 2.1.325+. Tested on macOS only.

The rest of the suite:

Install any of them (@latest keeps it updated):

opencode plugin add @rizal72/oc-budget@latest

All in one repo: https://github.com/rizal72/opencode-plugins


r/opencodeCLI • • 2d ago

Burning through codex tokens, without switching models - Any advice?

Thumbnail reddit.com
1 Upvotes

as anyone found a reliable way to significantly reduce Codex token consumption or extend usage limits without installing Ollama, using OpenRouter, paying for additional credits, or sacrificing the original model’s coding and reasoning capabilities?


r/opencodeCLI • • 2d ago

Title:I got tired of paying frontier rates for mechanical edits, so I built a two-seat plugin (planner + worker, auto take-back)

Post image
1 Upvotes

r/opencodeCLI • • 2d ago

[Plugin] I got tired of paying frontier rates for mechanical edits, so I built a two-seat plugin (planner + worker, auto take-back)

Post image
0 Upvotes

OpenCode lets you switch models mid-session, but actually working that way is manual labor — plan with the smart model, switch to the cheap one, re-explain the task, switch back to review, repeat. I built Handoff so multi-model sessions run themselves: one brain plans, a cheaper seat executes, and everything (including the seat) comes back on its own. Free, OpenCode V2 TUI. Repo + install at the bottom.

The problem, concretely: I was doing all my planning with my best model, then doing the grunt work — file edits, test runs, boilerplate — on that same expensive model, because switching seats mid-session and re-briefing the next model every time was more annoying than just eating the cost. That's backwards. The cheap model should do the expensive (token-heavy) work, and the expensive model should only do the cheap (short planning) work. But nobody wants to play air-traffic controller between two models all day.

So that's what Handoff is for: it makes the planner/worker split automatic. You talk to your planner like normal. When there's real work, the worker seat picks it up on its own, does exactly what's in the mandate, writes up what it did, and hands control back. If it ever gets stuck somewhere weird, /takeback yanks the seat back instantly. You never switch models by hand, you never re-explain anything, and you stop burning flagship tokens on mechanical edits.

Everything else in the plugin exists to serve that loop:

- Per-model spend readout (cost, turns, tokens, plus a list-price estimate since some providers report $0.00) — because the whole point is knowing which seat burned what. My own numbers: the worker does ~2x the tokens of Main while Main keeps the plan tight. That's the arbitrage working.

- Automatic vision detours — attach an image your worker can't read and the seat detours to a vision model by itself, which writes you a description plus ASCII art, then hands the seat back. No model-switching ceremony.

- Mandate checklists that clean up after themselves, a live banner naming who's active and what it's doing right now, update checks that stay quiet unless there's news and then read you the changelog once, and failure messages that name the seat, the state, and the fix instead of leaving you guessing.

And when you want manual control: /takeback, /vl to force a vision pass, /auto to pause the automation, /model1 /model2 /modelvl to swap seats, /helphandoff for the full list.

Install: tell your AI "install the handoff plugin from https://github.com/Nodoubvt/opencode-handoff" — clone into your plugins folder, restart the TUI, pick models once. Needs OpenCode V2.

Caveats, being honest: it's a one-dev project built around my own workflow and tested mostly on Windows, so be gentle. The license is free-to-use but download-only (no forks/redistribution) — I know that's unusual around here, happy to talk about it. There's also an anonymous install ping (plugin name, version, event type, random install ID — nothing personal) with a /telemetry off-switch.

The question I'd genuinely love answered: for those of you already splitting planning and execution across models manually — how are you doing the handoffs today, and what breaks? I built this for my loop; tell me where yours differs.

Repo: https://github.com/Nodoubvt/opencode-handoff

If it saves you a headache: https://buymeacoffee.com/ronilividt/e/605956


r/opencodeCLI • • 2d ago

Two weeks of running OpenCode on a local Qwen on a DGX Spark

3 Upvotes

For two weeks I've run OpenCode against a local model on a DGX Spark instead of the API for the long test fix loops. Magnitude has a one click connect for opencode so I used that.

I settled on Qwen 3.8 27B at 4-bit. It writes at about 67 tok/s and reads prompts at around 840, so a loop with a fat context still starts answering within seconds. The 35B MoE is faster but it lost track of the task more often in long loops.

Tool calls have held up as long as I keep the tool list short. With every MCP server I have turned on, it started picking the wrong tool around turn 20.

I still plan with the API model and let the local one grind through the loops.

anyone found a local model that stays on task past 30 tool calls?


r/opencodeCLI • • 2d ago

Shipped v0.3.2 of CacheSurgeon (open-source proxy for MCP rug-pull protection, schema-tax cache fixes, and tool-call filtering)

1 Upvotes

Been seeing a lot of threads here lately about the same handful of MCP headaches: connecting 4 or 5 servers dumps a huge tool list into every turn and quietly wrecks prompt caching when keys/order shift, remote servers mutating tool descriptions mid-session (rug pulls), and agents sneaking secrets or blocked commands out through encoded tool args.

I've been building an open-source local proxy called CacheSurgeon (MIT, Python/FastAPI) to deal with this stuff in flight, and just pushed v0.3.2.

What changed in 0.3.2:

  • Split `provenance_guard_mode` away from `tool_firewall_mode` so you can block encoded secret exfil without having to tie it to your destructive-command firewall rules.
  • Added Unicode escape decoding for OpenAI Chat tool calls. Previously, obfuscated Unicode escapes inside tool arguments could slip past pre-execution checks.
  • Fixed a Windows SQLite WAL sidecar unlink race on startup, plus a small Cockpit UI bug where MCP tool-pin buttons could get stuck.

If you haven't seen it before, it sits in front of OpenAI, Anthropic, or Ollama (`OPENAI_BASE_URL` / `ANTHROPIC_BASE_URL`) and does a few things locally (~2ms overhead):

  • Pins MCP tools individually by SHA-256 (so deferred/dynamic tool loading still works) and quarantines shady mid-session mutations while letting normal benign edits through.
  • Canonically sorts tool arrays/JSON keys, moves shifting timestamps out of the cached prefix, and adds Anthropic `cache_control` breakpoints so your MCP schema tax doesn't nuke your prompt cache.
  • Scrubs `.env` keys, PEMs, JWTs, and DB URLs before they leave your machine and restores them on the way back across SSE streams.
  • Blocks destructive tool calls (`rm -rf`, `DROP TABLE`, force pushes, etc.) before execution and stops runaway retry loops.

If you want to poke at it locally:

bash
pip install cachesurgeon
cachesurgeon start --port 8787

You can also open `http://127.0.0.1:8787` and hit the simulate button to watch the MCP rug-pull guard and secret vault trigger without hooking up an API key.

Repo: https://github.com/jsumpter415/cachesurgeon
Demo / cache bleed calculator: https://cachesurgeon.com

Let me know if you run into any weird edge cases with your MCP setup or deferred tool loading.


r/opencodeCLI • • 3d ago

Minimax M4 and GLM 5.4 now available in OpenCode Go

Thumbnail reddit.com
5 Upvotes

r/opencodeCLI • • 3d ago

Built a local SQLite memory layer for OpenCode CLI (0 MB idle daemon, read_file packs, diff-locked rules)

Post image
13 Upvotes

When you run OpenCode CLI across multiple providers and repos, flat AGENTS.md files or Obsidian folders start breaking down fast: fixes from one repo bleed into unrelated sessions, models occasionally overwrite rules you already verified by hand, and MCP memory servers add constant schema overhead on every turn.

I built Slipdex (v0.4, MIT) on Node 22+ built-in node:sqlite (or Bun bun:sqlite) with zero external npm dependencies and no background daemon.

How it works inside an OpenCode CLI workflow:

  • slipdex init --no-mcp wires a compact SKILL.md and AGENTS.md pack index so OpenCode reads only the matching packs/<domain>.md via read_file with zero MCP tool clutter.
  • Even on a fresh session, a tiny startup radar gives OpenCode your active context and domain pointers without dumping a giant global markdown file, and slipdex recall pulls older slips on demand via FTS5 BM25.
  • Separate local SQLite WAL vaults isolate engineering, project:<slug>, gated on-demand vaults behind short-lived leases, an optional Identity Card, and an encrypted write-only journal.
  • Human-verified notes are diff-locked at the SQLite layer: agent edits open reviewable proposals with append-only history instead of silently mutating head.
  • On-demand local Studio (slipdex ui) gives you a draggable domain graph, token-budget preview, and 1-click import from existing AGENTS.md, CLAUDE.md, Obsidian vaults, and session logs, then shuts down cleanly when idle.

GitHub (MIT): https://github.com/phosphorhouse/slipdex Browser demo (sample data, no install): https://phosphorhouse.github.io/slipdex/demo/

Quick setup: npm install -g git+https://github.com/phosphorhouse/slipdex.git && slipdex init --no-mcp


r/opencodeCLI • • 2d ago

Hola alguien sabe cómo integró Open Code en hermes y con una sólo API tengo acceso a todos los modelos que tiene Open Code? Grax

Thumbnail reddit.com
0 Upvotes

r/opencodeCLI • • 3d ago

OpenCode 2.3.2 fixed GPT-6.2 re-billing the system prompt every step. How I'd check my own setup

5 Upvotes

The v2.3.2 release note says GPT-6.2 models don't cache a system prompt sent in the Responses instructions field, so every step re-billed it as uncached input. OpenCode now sends it as a leading developer message. On GitHub Copilot gpt-6.2-sol the note says uncached input per step went from about 14,000 tokens to 3.

OpenAI's caching guide explains why: on GPT-6.2 and later, top-level instructions are appended after the input and billed at the uncached rate every request. Reusable instructions belong in the first developer message.

What I took from it: a session hit rate can look fine (70% in my worked example) while the biggest stable block is never cached. Check cached and uncached tokens per step, at step 2 and at step 10.

I wrote up the arithmetic, a ten-minute audit and a small script that prints the numbers per step: https://medium.com/@r3dtuxedo/your-system-prompt-was-never-cached-77c7bebe41fd

I wrote the article.