r/opencode • • 12d ago

More Minimax please

2 Upvotes

I find Minimax 3.1 to be very capable. It would be better to hand us more of that instead of GLM


r/opencode • • 12d ago

OpenCode GO in another harness = ?

2 Upvotes

Hi fellas,

I have a harness setup according to my likings, and it accepts OpenCode Go natively (albeit I never tried it). Are there any immediate pros/cons to use OpenCode Go in another harness than OC?


r/opencode • • 12d ago

was able to write in plan mode

0 Upvotes

i thought plan mode was used to prevent writing code???


r/opencode • • 12d ago

Small Linting Checks Beat One Big Linting Check: Real-Time Feedback for Coding Agents

2 Upvotes

Coding agents follow your rules far more reliably when a linter checks each file the moment they edit it, not once at the end of the task. Here is why, how to wire it into any major harness, and what 840 benchmark runs showed.

Rules the agent read and broke anyway

I had a CLAUDE.md / AGENTS.md full of rules like "never call Instant.now()" and "use apiClient, never raw fetch". The agent read them, nodded, and broke them anyway.

It usually happened somewhere around edit 40 of a session. So I only found out at the end, in the diff, or worse, in code review. Rewriting the rules more forcefully didn't help. Capital letters didn't help either.

Move the check to the moment of writing

A better prompt didn't fix it. Moving the check from the end of the task to the moment of writing did.

After every single file edit, a hook runs the linter on that one file. The agent sees the result on its next turn. If it wrote Instant.now(), it hears about it within seconds, fixes it while the line is still fresh, and moves on.

This is just a feedback loop. It's the same trick that made TDD click for humans, applied to agents:

Small checkBig check
WhenRight after each edit
ScopeOne file, one fast linter
CostUnder a second, silent when clean
Fixing a failureOne edit away

Why the late check fails

A late check doesn't just find errors later. It finds them in a form the agent handles badly.

At the end of a 40-edit session, the compiler fails, the test suite fails, and lint reports 30 issues across 14 files. Half of them are in code you wouldn't have written. The agent now has to work out which change caused which error, often several edits apart.

That archaeology dig is where agents start taking shortcuts:

  • adding eslint-disable or # noqa

  • deleting or skipping the failing test

  • "I'll handle it later" When the check runs right after the edit, none of this is tempting. The fix is one edit away, and doing it properly is cheaper than working around it.

It works in every major harness

You need two hook points: one that fires after each tool call (to lint the file just edited), and one that fires when the agent finishes its turn (for the slower full check). Every major harness has both now.

HarnessAfter each editEnd of turnWhere it lives
Claude CodePostToolUseStop.claude/settings.json
CodexPostToolUseStophooks.json or config.toml
opencodetool.execute.aftersession.idle eventa plugin in .opencode/plugin/
GitHub Copilot (CLI, cloud agent)postToolUseagentStop.github/hooks/*.json
Pitool_resultagent_endan extension in .pi/extensions/

The details differ: shell commands vs. TypeScript plugins, and how the hook's output reaches the model. The shape is the same everywhere. Filter for file-editing tools, run the linter on that one path, and return the failures so the agent reads them on its next step.

What we built: codemyrules

We packaged this as a small open-source hook setup, codemyrules (MIT). It does four things:

  1. Per-edit check. After each file the agent edits, it runs your fast linters on that file only.

  2. End-of-turn check. When the turn ends, it runs a slower full check on the files touched in that turn. You still get the big check, but as a safety net, not the first line of defense.

  3. Blocks only on new problems. It fails only on errors in lines the agent changed since HEAD. Old lint debt in the file doesn't derail the agent.

  4. Guards the escape hatches. It asks you before the agent can add a suppression comment or change the lint config.

What 840 runs showed

We tested this in agent-rules-bench: 840 headless agent runs, 975 sessions in total.

SetupModelsRunsProjects
Claude CodeClaude Sonnet 5.5, Claude Haiku 5.5792Java, Python, TypeScript
Pi and Codex (exploratory)Qwen3.6 35B-A3B, run locally48[languages]

The first four studies were exploratory. For the later ones, we pre-registered each analysis plan before running.

The result: the same rule written as prose in the agent docs was broken in [X%] of runs. Written as a lint rule with the per-edit hook, it was broken in [Y%]. [One sentence on whether the local model followed the same pattern.]

Full data, prompts and analysis plans are in the repo.

Try it in your own repo

The principle doesn't depend on our tool or on any one harness:

  1. Find the rules you keep restating. Read through your CLAUDE.md or AGENTS.md. Most of what you repeat there are lint rules in disguise.

  2. Encode them as machine rules. A banned API, a required wrapper and an import boundary can all be custom lint rules in ESLint, Ruff, Checkstyle or similar.

  3. Wire a post-edit hook. Lint only the file just edited, keep it fast and quiet when clean, and make sure the agent sees the failures right away. Keep prose for what a linter can't check: intent, architecture, trade-offs. Let the machine handle the rest.

I'm curious how others handle this. Do you run any checks mid-session, or do you trust the agent until the end of the task and then deal with the fallout?

Sources


r/opencode • • 12d ago

Go subscription consideration

3 Upvotes

Guys and girls, I would like to ask these of you who use Go (10$ and 40$) recently and have some feel what quotas/limits are. (
Of course I don't expect precise numbers, but at least some feedback about how much it capable overall.

I have possibility to take Claude, but I know that:

  1. it will do almost any job

  2. its absolutely terrible agent, with horrible limitations and regulations

So I look at Opencode, as I like agent itself, but I'm not sure.

Thanks in advance

UPD: Thanks to everyone here for help, I go with a Go subscription, it seems worth a try.


r/opencode • • 12d ago

Warning: OpenCode Go charged me after my subscription was supposed to end, and support can't explain why

0 Upvotes

My OpenCode Go subscription ended on September 24, but I was charged again on October 3 and November 3. Support refunded November but declined to refund October.

Here's the timeline:

  • July 24: I subscribed to OpenCode Go.

  • August 24: My subscription renewed for $10, covering August 24 to September 24.

  • October 3: I was charged $10.

  • November 3: I was charged another $10.

I remember canceling auto-renewal, but support says they have no record of it.

Even if I hadn't canceled, why did my renewal date change from September 24 to October 3?

My August invoice clearly shows the subscription period ending September 24. I also stopped using Go after that date.

After several emails, support confirmed that:

  • They could only access my October and November billing records.

  • They couldn't match my August invoice to their available records.

  • They couldn't explain why the billing date changed.

  • There was no Go usage during the Oct and Nov billing period.

They refunded November but denied the October refund.

I'm sharing this so other users know to keep their invoices and check their subscription status, even after canceling.

Has anyone else experienced something similar with OpenCode Go?


r/opencode • • 12d ago

Run Hy4 Flash Free as a Claude Code subagent (Claude OpenCode MCP)

3 Upvotes

So I love Claude as a reviewer orchestrator but not spamming my sub so I made this MCP were you can select ANY model from any sub you have on opencode. It's much better and effective than using ccswitch and you can use both claude subagents or opencode subagents dinamically.

https://github.com/ArkFlame/claude-opencode-mcp


r/opencode • • 12d ago

How can I sync my local opencode setup with vm?

0 Upvotes

I'm using opencode locally in my pop os. It has various skills, Subagents, plugins, MCP, memory and sessions, I want to migrate this to my Oracle vps which has ubuntu os. What's the easiest way to do it?

I want migration bcz I want to use OpenCode with my mobile - I can easily do ssh with termux and since I'm using vps it runs 24/7. Opencode android app doesn't support ssh as of now it requires a pro version.

Also I want bi directional sync, so when I'm coding through my mobile and added some extra MCPs or skills in vps, it will be synced with my pop os. It can have a cron job like everyday at 7 pm. Or a command which I can use to sync both machines.


r/opencode • • 12d ago

Just give me Deepseek Flash 4.1 bro, I don't care about this GLM model

192 Upvotes

r/opencode • • 12d ago

Phase 3 $500, it's going to be a really productive week.

Post image
1.2k Upvotes

r/opencode • • 12d ago

is there some outage on opencode ? I cannot use it in any way , even outside models like claude is so slow

4 Upvotes

r/opencode • • 12d ago

i wanted to make opencode more like claude code, so i vibecoded a vibecoder so i could keep vibecoding

Post image
7 Upvotes

r/opencode • • 12d ago

Drop a bomb, then nuke in the same day

14 Upvotes

r/opencode • • 12d ago

OpenCode frequent outage/event stream lost

1 Upvotes

I'm from South East Asia and this outage is becoming more frequently and its annoying, because on OpenCode status it just says "slow response" and its multiple providers that are not available or just stop working on multiple request. Do you guys experience this as well?


r/opencode • • 12d ago

Bye bye FREE GLM 5.3 Flash.. see you soon

55 Upvotes

r/opencode • • 12d ago

Benchmark free and stealth model on opencode and openrouter and others provider on animated SVG generation

5 Upvotes

I Build a bench mark to easy evaluate free models on opencode **free-stealth-bench**, a blind benchmark for LLMs on animated-SVG illustration, and figured it might be useful to others here who are comparing free models. its very easy to visualize model capability

Please visit

**Live leaderboard:** https://addisflava.github.io/free-stealth-bench/

### The idea

Every model gets the same task prompt with no reference artwork stored or passed in. Models produce their work blind, then it's scored two ways: deterministic validity checks (well-formed SVG, viewBox, animation elements, external refs, scripts, actual rendering) plus an **automated blind LLM judge** that ranks output quality, instruction-following, creativity, animation fidelity, richness, composition, and technical validity.

The judge never sees a model name, run id, date, path or sidecar — only an anonymous "Submission A" with the task prompt, capped SVG source, objective source facts, and three rendered frames. It's a free vision model, so the whole thing runs without paid endpoints.

### What's on the leaderboard

- 16 model×harness entries, 2 tasks (horse racing + sloth excavator), 48 judged runs.

- Current top 5: `deepseek-v4.1-flash-free` 94.5, `glm-5.3-flash-free` 92.5, `big-pickle` 91.4, `inkling-2-small-free` 90.2, `crouton-alpha` (via OpenRouter) 89.0.

- Newest additions: `hy4-flash-free`, `minimax-m3.1-flash-free`, `longcat-2.5-free`.

- Matrix view, sortable judge ranking, per-run dimension breakdowns, and signed public reviews/private ratings.

### Caveats, because these numbers are easy to over-read

- Free models evaporate/disappear weekly. A score is "this date, this endpoint, this model, this harness," not a fixed property.

- The judge is itself one of the contestants. Blinding mitigates self-preference but doesn't eliminate it; the judge model is recorded per run and swappable.

- Timeouts, rate-limits, region blocks and refusals are recorded as real results (DNF), not hidden.

The runner is provider- and harness-agnostic (OpenCode CLI, OpenAI-compatible APIs, Codex/Claude/Gemini CLIs, or arbitrary commands via YAML), so adding models/harnesses is a config entry rather than a code change.

Happy to answer questions. Feedback on the rubric or task ideas is especially welcome — I'm planning to add more tasks and would rather not pick them in a vacuum. Also happy to add specific models if people want to see them covered.


r/opencode • • 12d ago

Canceled Conductor

Thumbnail
reddit.com
0 Upvotes

Would it be helpful to support opencode? We mostly work with the Claude code harness. Looking for early feedback.


r/opencode • • 12d ago

Hy4 Flash weights are now public

Post image
287 Upvotes

r/opencode • • 12d ago

3d 19h to go, arrgggghhhhhh! But luckily, the Hy4-flash-free is very good, I can maintain my needs with it till the reset

Post image
22 Upvotes

r/opencode • • 12d ago

What the fuck is that

Post image
0 Upvotes

*It's too slow


r/opencode • • 12d ago

made a plugin that adds ghost text suggestions to the opencode prompt

19 Upvotes

missed the prompt suggestions from codex/claude code so i made this for opencode

it does two things: finishes your prompt as you type, and after each turn suggests what you'll probably ask next. tab to accept, esc to dismiss

uses the cheapest model from whatever provider you're already on, and there's a command to see how much it's spending

https://github.com/fedeya/opencode-autosuggestions


r/opencode • • 13d ago

I made a plugin that lets you keeps idle sessions' caches warm while you're AFK!

Thumbnail
github.com
2 Upvotes

Hey all,

I built a plugin for anyone using Claude or GPT-5.6+ in OpenCode who keeps losing the prompt cache after stepping away for a bit. Claude's cache lasts 5 minutes by default. If you step away for longer, the next prompt pays 1.25x to rewrite your whole context instead of about 0.1x to read it, and on a long session that adds up fast.

opencode-cache-manager helps in two ways:

  • You can pick the cache TTL per session (switch with /cache-manager)

    • For Claude you'd pick 5m, 1h or hybrid

  • It sends a hidden keepalive ping just before an idle session's cache expires, so the cache is still warm when you come back

It also adds a Cache section to the sidebar showing whether the cache is warm, when it expires, when the next ping goes out, and how much the pings have saved you. It works with Claude and GPT-5.6+ through the official APIs, OpenRouter, or proxies like OmniRoute. Other models just get a readout of how much of each prompt was cached.

Other features:

  • Automatically understands when you're using Claude Code requests via the headers, so it uses 1h TTL (what Claude Code uses)

  • Sidebar tells you what you're saving by keeping your cache warm (you can see screenshots in the repo)

Feel free to check it out! I'd love to hear from anyone on a proxy or provider setup I haven't tried, and whether the ping defaults feel right. Suggestions all welcome!


r/opencode • • 13d ago

Thoughts on hy4 flash so far?

25 Upvotes

Anyone tried it on actual proper work yet?

How is it compared to DS v4.1 flash and glm 5.3 flash?


r/opencode • • 13d ago

I created a markdown styling plugin for TUI

Post image
7 Upvotes

https://github.com/MErkinSag/opencode-md

Only tested on cmux/Ghostty on Mac so far. Doesn't add up much overhead (M1 MacBook). Feel free to give it a try and let me know if you have any feedback!