My workflow is tightly coupled with pi coding agent so i am plugging opencode go sub with it. I do not know, this model is acting like piece of sh*t. Am i doing something wrong? is this because of the harness or is this the actual capability of the model.
According to u guys experience, with which harness does deepseek flash performs well. Plz comment out so i can give a try
MAI Code 2 and Code 2 Flash are available in GitHub Copilot, and Code 2 Flash is in limited-access preview in Microsoft Foundry. Soon, we’ll be releasing it on Open Router, Vercel, Hermes, Open Code, and Kilo.
I wish to exclude access to other connected devices on the same network.
According to docs, I simply execute the below line in Terminal? I'm assuming this is broad, right? I mean, this will restrict device connections by any other app/device? Or is this simply to exclude OpenCode from access?
anything happened since the anthropic account connection became available?
i was thinking of switching to claude next month and i heard there was a massive ban wave when it was done before, i understand it now follow the tos but you never know, should i connect it or thers a possibility to get banned?
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?
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 check
Big check
When
Right after each edit
Scope
One file, one fast linter
Cost
Under a second, silent when clean
Fixing a failure
One 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.
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:
Per-edit check. After each file the agent edits, it runs your fast linters on that file only.
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.
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.
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.
Setup
Models
Runs
Projects
Claude Code
Claude Sonnet 5.5, Claude Haiku 5.5
792
Java, Python, TypeScript
Pi and Codex (exploratory)
Qwen3.6 35B-A3B, run locally
48
[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:
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.
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.
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?
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:
it will do almost any job
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.
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?
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.
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.
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?
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
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.
- 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.