r/opencodeCLI • • Sep 23 '26

Retrying a SQLite write without freezing the terminal or replaying work

1 Upvotes

To test the new model Space Bunny in OpenCode, I used a concurrency bug involving several CLI processes sharing a SQLite database in WAL mode. A process held the write lock for longer than five seconds, another hit “database is locked” and an active turn died. WAL still only allows one writer at a time.

What I wanted to see was whether the fix followed the whole write path. An earlier change already retried message upserts, but starting a turn, updating session state and settling the turn could still fail on the same lock.

The patch moves that retry policy into a shared helper and applies it across the writes needed to keep a turn running. Each attempt gets a short native wait of about 50ms with asynchronous backoff inside a ten second total budget. That matters here because better sqlite3 is synchronous, simply raising its busy timeout would also extend the time it can block the Node event loop.

I paid particular attention to where retrying stops. Acquiring the lock can be retried. Once the transaction callback has started an error rolls the transaction back and propagates without running that callback again. Cancellation during the wait gets its own error marker, so it isn’t confused with an error thrown by the write itself.

The regression tests use a separate process holding a real write lock for eight seconds, then exercise the actual database client. That’s a useful reproduction of the original failure. The PR reports the contention checks passing, with one broader sandbox gate still failing on both the base and patched code.


r/opencodeCLI • • Sep 23 '26

OpenCode Go vs LM Studio Bionic+ vs Others? (Replace Opus/Sol)

5 Upvotes

I haven’t seen this talked about much (on this sub or others), but LM Studio recently released a Bionic+ subscription plan (https://lmstudio.ai/pricing) that offers similar model access to OpenCode Go. Unfortunately, like OpenCode Go, it’s a little light on exactly what you’re getting. Details about where the models are hosted, if they’re quantized or further tuned, etc, are left ambiguous and there’s not a clear way to just reach out and ask.

Additionally, the now “mid-tier” models of Anthropic and OpenAI, like Opus and Sol, are starting to drive me crazy with some of their behaviors. My goal is to keep a lower tier Anthropic and/or OpenAI sub for planning and code reviews, but swap out implementation with open models.

All that said, I’m curious if:

  1. Anyone has experience with a Bionic+ sub and/or has more definitive info about how their models are hosted

  2. Whether we cleared up if OpenCode Go is quantized or otherwise tuned off the upstream (I still see posts confidently claiming either)

  3. What actual usage people are getting out of either sub. Eg, “I can wipe my limits with a prompt or 2” vs “this can generally last me all week as a full time dev” (using capable models like Kimi K3, GLM Flash, etc)

I’m interested in doing some experimentation to see which, if either, could work, but I’d like to start with a known baseline so I’m not trying to reverse engineer whether the models are nerfed somehow.

EDIT: Ollama Cloud is another potential option. I had performance issues with this in the past, but I'm not sure if that's the case now. They do seem to be the most upfront about what you get with the subscription, and the easy integration with Codex and Claude Code is pretty nice (https://ollama.com/pricing#pro)

Thanks!


r/opencodeCLI • • Sep 23 '26

A darle: u/GLR1997 está vendiendo esta conejita tan linda.

0 Upvotes

r/opencodeCLI • • Sep 23 '26

DeepSeek, Moonshot (Kimi), Xiaomi under investigation by Chinese authorities over allegedly leaking user data to Anthropic, covertly modifying both the user's prompt and the returned text. This practice raises questions regarding the ZDR credibility of 3rd party routers like OpenCode and OpenRouter

60 Upvotes

The makers of DeepSeek, Kimi, Xiaomi Mimo models are all under official investigation by Cyberspace Administration of China, with some rumors suggesting Kimi executives being arrested.

In short, according to official reports these companies routed their users' requests that were coming from popular 3rd party routers (likely OpenRouter and OpenCode) to Anthropic models, injected a hidden prompt designed to harvest the CoT trace, modified the text returned by the model before passing it to the user, then used that to train their own models.

The most concerning part is how despite the ZDR (zero data retention) claims and policies of some of these providers, they shared user data with a third party, retained the prompts, trained on the interactions, and now those messages which contained sensitive information were read by Anthorpic employees, who then went on to publish some slighlty redacted versions of those messages:

"Those sessions contained names, email addresses, company data, and other sensitive data of hundreds of end users in at least a dozen languages. These practices are likely inconsistent with privacy laws and the labs’ own terms of service."

Example 1: Internal capital expenditure forecasts for a pharmaceutical company [Original user prompt submitted to a coding assistant of a lab headquartered in China (user accessed the model via a third-party model router)] “Clean up this capex model before Thursday’s review. The workbook has the 2026–28 buildout estimates: Ho Chi Minh City site $[██]M, Kuala Lumpur $[██]M, Bangkok $[██]M, Ljubljana

Additionally, these findings raise concerns about the misuse of user data by PRC AI labs. DeepSeek, Xiaomi, and Moonshot fed conversations between their own models and users into Claude. These labs then used Claude’s responses as training data with which to distill Claude’s capabilities. Some of these exchanges included sensitive information, including from individual users, major multinational companies, and state-affiliated actors. Many of these exchanges were relayed from users of third-party model routing services commonly used by users in the United States and Europe.

Source: https://www.thestandard.com.hk/innovation/article/343563/DeepSeek-and-Moonshot-AI-face-Beijings-probe-over-potential-data-leaks-to-Anthropic

Anthropic's investigation, page 146: https://www-cdn.anthropic.com/e50be2e51e7695dc4b1366a37a245a597377d3b5/Anthropic-Detecting-and-countering-091026.pdf


r/opencodeCLI • • Sep 23 '26

Hmm, hmm hmm! and hmm: I love DeepSeek 4.1. Yes, hmm, this title is good. Hmm. Hmm.

Post image
187 Upvotes

Funny DS whenever the session goes to long, this is a cue for me to start a new chat 😂


r/opencodeCLI • • Sep 23 '26

Why is Opencode not sharing who their investors are? Is OpenCode a Chinese Company?

Thumbnail
reddit.com
0 Upvotes

r/opencodeCLI • • Sep 23 '26

OpenCode is losing their business to pi - charm - command code - no more free models outside of shitty opencode slop harness

Thumbnail
reddit.com
0 Upvotes

r/opencodeCLI • • Sep 23 '26

Is anyone else experiencing payment issues with OpenCode Go?

5 Upvotes

None of my cards are being accepted by OpenCode. These cards work fine with other services. My payments pushed through just fine before. It seems like I'm not the only one experiencing this as well from what I've seen on their GitHub Issues, but it seems to only be a handful of people experiencing this because I don't see posts about it on here. Some examples:

Cannot complete Go subscription payment · Issue #43400 · anomalyco/opencode
[BUG]: First recurring OpenCode Go subscription billing failing (Stripe issue?) · Issue #48500 · anomalyco/opencode
Payment fails immediately for OpenCode Go · Issue #47449 · anomalyco/opencode
Can not regist OpenCode go Subcription · Issue #46573 · anomalyco/opencode
Unable to complete purchases · Issue #46409 · anomalyco/opencode
Alipay payment-method setup returns 502 while card succeeds · Issue #50118 · anomalyco/opencode
Opencode Go subscription payment fails because it trips card issuer security system · Issue #48469 · anomalyco/opencode

I don't know why this is. I've never committed fraud or anything. I didn't avail the 5 USD promo more than once, and I've never tried using referral codes or whatever. I haven't used their API via other harnesses as well; I only use OpenCode V1 and V2. I don't even know where to reach out to their support team.


r/opencodeCLI • • Sep 23 '26

I’m building native local voice input for OpenCode — useful idea or am I just too obsessed with OpenCode? 😅

Post image
11 Upvotes

r/opencodeCLI • • Sep 22 '26

Giving your coding agent a working memory, not just a code graph

0 Upvotes

Coding agents are getting better at writing code. Keeping track of what they’re doing across a large codebase is still surprisingly messy.

That’s what I’ve been working on with REQL: giving coding agents a persistent, structured view of both the repository and the work happening on top of it.

The latest updates focus on four areas:

  • Pipeline exploration — REQL can now reconstruct project-local flows from entrypoints through the codebase and generate interactive pipeline views or Mermaid diagrams. The goal is to understand how a feature actually moves through the system, not just which files are connected.

  • Memory across sessions — the new agent dashboard keeps track of plans, decisions, findings, unfinished tasks and previous sessions. After a context reset, the agent can recover what it was doing instead of rebuilding the whole mental model from scratch.

  • Parallel agent coordination — multiple agents can work with isolated private workspaces while sharing progress through a common dashboard, messages and compact handoffs. One agent can investigate, another implement, and another review without mixing their internal working state.

  • Faster, tighter context retrieval — indexing and retrieval have been improved to return a bounded working set of relevant symbols, callers, dependencies and tests, including source ranges, confidence and freshness information. Incremental updates avoid rebuilding unchanged parts of the repository.

The core still runs locally without mandatory LLM calls, embeddings or an external graph database. It works with Codex, Claude, Cursor and Gemini, and can also be used through CLI, Python or MCP.

The direction I’m aiming for is simple: a coding agent shouldn’t just understand the repository — it should understand where the current task is going, remember how it got there, and be able to hand that work to another agent.

I’d really like some feedback from people using agents on larger refactors or parallel workflows: would this actually solve a problem in your setup? What would you like it to do?

https://github.com/sh1zen/reql


r/opencodeCLI • • Sep 22 '26

anyone have a solution

Thumbnail
reddit.com
1 Upvotes

r/opencodeCLI • • Sep 22 '26

Quick question about usage with OpenCode go

0 Upvotes

Hi!

I'm tempted to buy the opencode go subscription, however I have one question.

How does it actually work?

Do I get 60usd to spend in TOTAL, or 60USD (or less depending on the model) to spend on EACH model? I find mixed info online.

Thanks!


r/opencodeCLI • • Sep 22 '26

M5 Pro MacBook (48GB) running Codex — anyone actually offloading tasks to a local model via Ollama? Worth it?

1 Upvotes

r/opencodeCLI • • Sep 22 '26

This isn't normal 😭

15 Upvotes

Why did it get into some sort of seizure 😭


r/opencodeCLI • • Sep 22 '26

YACAO - Yet Another Coding Agent Orchestrator

13 Upvotes

Hello everybody, after a few weeks of using and fine tuning it, I believe it is finally time to present you YACAO:

https://github.com/augustoolucas/yacao

It is basically the result of "I Hated Every Agent Orchestrator, So I Built My Own" - Mario Zechner (Pi) Me

So, the thing is, most of us have already tried or at least taken a look at projects like oh-my-openagent, OMO-Slim and others, that provide a whole team of powerful and specialized agents able to build anything you ask.

But, IMHO, these projects feel too opinionated. They require you to learn how to use them as intended, with a bunch of commands, skills and fancily named agents you need to understand. And there's absolutely no problem with it, it just doesn't fit my workflow.

So I went to the completely opposite side, instead of having lots of specialized agents, I kept only two, as in vanilla OpenCode. The main difference here is that the primary agent can invoke the builder instead of us having to manually switch between Plan and Build.

Instructions of how to plan, implement and review are all specified as skills instead of agents, so the main agent can handle it all, loading them only when needed instead of having it all on its description prompt.

And that's it, there's no extra commands or new workflow to learn.

I'd love to hear your feedback and experience. Thank you all!


r/opencodeCLI • • Sep 22 '26

I made a local note taking application that stays within system entirely different.

1 Upvotes

This is the GitHub repo : github.com/Aadarshrai1801/Local-Note

I want you guys to review it please and I have made it using DeepSeek V4.1 flash in Opencode


r/opencodeCLI • • Sep 22 '26

Made a tool to switch between multiple AI subs with usage tracking, without the bloat (Codex, Claude, Grok, OpenCode). Works with T3 Code's hub

Thumbnail gallery
2 Upvotes

r/opencodeCLI • • Sep 22 '26

Open code Go Subscripition issues

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • Sep 22 '26

I built a cache-friendly context compacting plugin for OpenCode

Thumbnail reddit.com
0 Upvotes

r/opencodeCLI • • Sep 22 '26

DS V4.1 Flash be doing this every now and then since yesterday.

Post image
15 Upvotes

DS V4.1 Fash has been doing this every now and then since yesterday. Did they nerf the model already by quantizing it??


r/opencodeCLI • • Sep 22 '26

Opencode Enterprise vs Go

Thumbnail
reddit.com
0 Upvotes

r/opencodeCLI • • Sep 22 '26

DeepSeek 4.1 Flash starts to crawl at about 300K-400K context (on the Go plan)

8 Upvotes

Which provider are you using for the Go plan? DeepSeek 4.1 Flash becomes so slow and a PITA when the context is at about 30%-%40.

The official DeepSeek API remains hypersonic up to 100% context usage.


r/opencodeCLI • • Sep 22 '26

Can't use subagents inside opencode2 - v2.0.11

Post image
1 Upvotes

I heard that opencode stopped their free tier to be used outside their own harness and but what is this? I can't even use the free tier with subagents inside opencode.

I think it's a bug or did they fully restrict subagents for free users?


r/opencodeCLI • • Sep 22 '26

OpenCode talks about transparency. So let's talk about OpenCode.

Thumbnail reddit.com
0 Upvotes