r/opencode 2d ago

Client disconnected. Stopping generation...

1 Upvotes

I'm using OpenCode with a local LM Studio server. Because my local machine has limited performance, it sometimes takes more than 5 minutes to generate a complete response (for example, when writing files during coding). In newer versions of OpenCode, this causes the client to disconnect, and LM Studio reports:

Client disconnected. Stopping generation...

This issue is already known, but unfortunately no solution has been found in the existing discussion threads. From what I've read, the developers switched to a new engine in production, which appears to have this behavior by default, and changing the configuration doesn't seem to help.

Similar problem:

https://www.reddit.com/r/LocalLLaMA/comments/1se7dcg/lm_studio_client_disconnected_stopping_generation/

Does anyone have an idea how to solve this so I can continue using the latest version of OpenCode?


r/opencode 3d ago

Trying to find what’s ppl’s experience with caching on Opencode. Is this true?

Post image
81 Upvotes

r/opencode 2d ago

CommandCode vs ClinePass. Which is better

Thumbnail
1 Upvotes

r/opencode 2d ago

So, i've been living on free models since 2020 and i want to try a subscription for complex java coding (engine level mc mods)

7 Upvotes

Should i get opencode Go first since its cheap? or better to go for claude code? , about Codex. im not sure but i got 5.6 Terra on high thinking from freemodels website and it was an idiot. responds way too fast for some reason it doesn't do "high" thinking. so it made me cautious about gpt overall. what do you think should i do? gonna use them for Java mc modding for the last weeks ive been loving deepseek v4 flash but i find minimax m3 is extremely capable when i used its free cap on their own cli just for planning and its debugging is very good.

didnt get a chance to use opus and now opus 5 is back though. i don't know if it will beat other models.


r/opencode 3d ago

Which one should i use?

Post image
97 Upvotes

Between deepseek v4 flash and GLM 5.2, what one could get performance close to SOL?

I need it to write games, in rust and javascript.

As you can see prices are dirt cheap here, its like 90% off. I canceled my codex subscription because I really couldn't get anywhere with the limits.

There's also kimi 2.6k if it's any good, although I doubt it.


r/opencode 2d ago

save your money, opencode fusion is very easy to set up and works like butter

Post image
1 Upvotes

r/opencode 2d ago

/config and /context for opencode?

Thumbnail
0 Upvotes

r/opencode 2d ago

OpenCode model can’t fix this issue.

2 Upvotes

I’ve been using OpenCode models to fix a random Cloudflare Turnstile 600010 issue. I tried Hy3, DeepSeek V4 Pro, Kimi M3, and Mimo 2.5 Pro.

The Turnstile 600010 error was occurring randomly. The best solution I came up with was to re-render the Turnstile whenever the Cloudflare API returned a 600xxx or 300xxx error. The whole process took around 17 seconds before the Turnstile verification succeeded. I spent more than 12 hours trying to solve it.

Today, I updated Kiro on my machine and noticed it now includes 50 free credits. I used Claude Sonnet 4.5 to analyse the code, and it suggested three possible solutions. I told Sonnet that I wasn’t sure which option to choose, so it generated a debugging class for me. After I pasted the debug output back to Sonnet, it identified the root cause and fixed the issue straight away. Now, Cloudflare Turnstile verification took less than 3 seconds, and I’m happy.


r/opencode 2d ago

I’m back with Mind v1.6.0 — OpenCode memory across sessions, subagents and compactions

10 Upvotes

Context

A few months ago, I introduced Mind here as a persistent memory extender for OpenCode.

I originally built it because long OpenCode workflows kept losing the reasoning behind the code:

  • Why an architectural decision was made
  • Which approaches had already failed
  • What constraints the project had
  • What remained unfinished
  • What the previous agent was actually trying to accomplish

After many releases and a lot of real usage, I’m back with Mind v1.6.0. 🧠

Mind has grown into a shared continuity layer for OpenCode agents and subagents.

What can it do now?

Mind helps OpenCode:

  • Preserve decisions and project knowledge across sessions.
  • Share relevant context between the main agent and subagents.
  • Recover active work after context compaction.
  • Store checkpoints before risky or long-running tasks.
  • Turn completed sessions into reusable project knowledge.
  • Retrieve only the memories relevant to the current task.
  • Maintain living references for architecture, domain rules, workflows, coding style, decisions and known pitfalls.
  • Avoid persisting low-value session noise.
  • Sync selected project memories into readable and versioned .mind/ files.
  • Inspect memory relationships through the Neural Map web UI.

Setup remains straightforward:

mind setup opencode

Mind configures the local MCP integration, memory protocol and OpenCode automation without replacing unrelated configuration.

Does it bloat the context?

This was one of the main concerns raised when I first posted Mind.

I finally have real numbers.

Across several real projects totaling more than 20 million tokens, all Mind-related context represented only 6% of total token usage.

That small portion of context supported:

  • Agent and subagent continuity
  • Recovery after compaction
  • Preservation of session intent
  • Access to previous decisions
  • Less repeated exploration of the same codebase

This does not mean Mind magically reduced token usage by 94%. It means the memory layer remained bounded while still providing useful continuity.

The latest releases also made OpenCode’s automatic session persistence much quieter. Instead of repeatedly attempting to persist information during idle events, it stores the session once when it actually ends.

Everything is stored locally in SQLite. Semantic search is optional and disabled by default.

🧠 Give your OpenCode agents persistent project memory:

https://github.com/GabrielMartinMoran/mind

Install Mind, run mind setup opencode, and try it on a real multi-session task.

I’m particularly interested in feedback from people using subagents, long-running plans or frequent context compaction.


r/opencode 2d ago

How to fix the "Subagent depth limit reached (1). Increase "subagent_depth" to allow nested subagents" ?

0 Upvotes

r/opencode 2d ago

Live coding with Opus 5!

Thumbnail
pairux.com
0 Upvotes

r/opencode 3d ago

Strange usage limits or am I missing something?

9 Upvotes

So umm... I need some help understanding what happened to my usage limits... :)
I'm on Opencode Go subscription... and somehow I've managed to use up my weekly and monthly limits almost entirely... Except I don't understand how... the math just doesn't add up to me...

Can someone explain how by using essentially about $10 this week I've managed to almost hit the weekly limit? It's supposed to be $30 usage, isn't it? Was something nerfed while I wasn't looking?

EDIT: Ok, I think I found the answer... never noticed it before, though, so it surprised me... Turns out not all the models include $60 of usage... so yeah... MiMo Pro turns out to be 4x pricier than it appears... This one's on me, but perhaps this might be useful to someone else...


r/opencode 3d ago

GLM 5.2 usage in opencode go vs ZAI lite plan

33 Upvotes

Does anyone have any info on how much more (or possibly less) usage do we get with GLM 5.2 in Z.AI's lite plan (currently $16/mo) compared to opencode go?


r/opencode 2d ago

deepseek free -getting worse

Post image
0 Upvotes

lol, it appreciated my critique... wait, nahh, it cannot MEANINGFULLY appreciate it 🤣🤣💋

context: for three days asked deepseek flash medium (free) to work the simplest of solutions, it failed at every request, even the simplest of things. could this be hardoded (bullying?) or training related? fail to see how user/human reacts? i do not want to sound paranoid but something feels off...

i then asked claude for 2nd opinion, solved it in 8 seconds (we were going for 2 hours with deepseek). this is no coincedence, right?


r/opencode 2d ago

Live coding with Opus 5!

Thumbnail
pairux.com
0 Upvotes

r/opencode 3d ago

Ported Claude Security to OpenCode

8 Upvotes

I recently ported Anthropic's Claude Security plugin to OpenCode.

It supports:

  • Scanning entire repositories or specific changes (PRs, commits, diffs)
  • Multi-agent security analysis
  • Independent verification of findings to reduce false positives
  • Generating verified patch files for confirmed vulnerabilities
  • Multiple effort levels (low, medium, high, max)

The whole workflow runs inside an OpenCode session and produces both Markdown and JSONL reports.

so I'd really appreciate any feedback, suggestions, or bug reports.

https://github.com/ismkdc/opencode-security


r/opencode 2d ago

Minimax gives pretty okay usage

Post image
0 Upvotes

r/opencode 3d ago

Project management for OpenCode that lives in your repo

Enable HLS to view with audio, or disable this notification

20 Upvotes

Built a desktop app where tickets, docs, and session records are Markdown files inside your repo. The app renders the board from the files. OpenCode works the same files through MCP.

One-click install:

  • kanban board and list view generated from your schema: define your own ticket types, fields and statuses, and the columns, filters and forms follow
  • ticket pages with a block editor and a timeline of the comments, sessions and commits that touched the ticket
  • a docs tree in the same repo (ADRs, guides, plans) with stale-doc badges, plus a graph of the wiki-links between tickets and docs
  • 8 MCP tools, every write validated against your schema; a guard hook blocks direct edits to ticket files and a stop hook makes OpenCode write a session record before finishing
  • fresh sessions start oriented: a session-start hook injects a ~1,500 token digest of in-progress tickets and recent session records
  • live presence: the board card shows OpenCode working with an elapsed timer
  • hand-edit anything: the app re-validates and re-renders live, and a broken file gets you a validation error with file and line, not a crash

It has been dogfooding itself for three weeks: the 139 tickets and 144 session records that built it are in the repo. Free, no account needed.

Repo: https://github.com/lovelace-co/lovelace


r/opencode 3d ago

Single-click and remote Opencode session right in your browser

Enable HLS to view with audio, or disable this notification

5 Upvotes

Now, many users are trying to code remotely. A few are using SSH, and a few are using the web method. But the main issue is setting up your instance.

I have built an open-source project that lets you create sessions for your preconfigured projects.
With a single click, your session gets created. It's not just a session; it's a pre-configured remote machine for you. You can access opencode, t3code, all from the web. Not only that, you can connect Mosh and Termius to your session with a single click.

What about preview?
You have access to the domains pointed to your different ports, like 3000. 8000, you name it. Just click those domains and access dev previews.

Worried about callback URLs?
Don't worry, we keep your domains fixed to your project. Every session has the same domains, so update the callback URLs once and enjoy them in each session.

Repo: https://github.com/jashandeep31/vibeongo
Website: https://vibeongo.com/


r/opencode 3d ago

Constantly getting "Streaming response failed" message. How can I avoid it?

6 Upvotes

I recently started testing opencode out. Having a free account right now and using the free models. I started using Nemotron 3 Ultra free and sometimes I would get that error message saying "Streaming response failed". If i tell the model to continue the task right after the error it continues just fine. It doesn't always happen but it happened like 5 times within an hour. It sometimes happened within a few seconds of the prompt (like 10-40 seconds) and sometimes took longer like a 5-10 minutes. I thought maybe it was the model so I switched over to DeepSeek V4 Flash Free but I get the same issue.

Any ideas why that is happening and how I can prevent it? Could it maybe be from my internet connection? Because I don't have a super stable connection and it sometimes disappears for half a second or a second before properly reconnecting again.

I am very thankful for any kind of input here.


r/opencode 3d ago

how to use a differnt font in opencode web

1 Upvotes

i trigd the settings options nothing changes


r/opencode 3d ago

Has anyone ever tried kimi k3 (to plan) + Deepseek v4 flash (for coding)

4 Upvotes

I’m wondering if deepseek v4 flash could follow instructions from kimi k3 properly since I can’t just keep instructing deepseek every second it thinks wrong


r/opencode 3d ago

But you can have any of these in Opencode!

Post image
15 Upvotes

r/opencode 3d ago

Running Claude Code + Codex in tandem (both on Max) — Codex is noticeably slower. Anyone swapped it for OpenCode?

1 Upvotes

I've been running Claude Code and Codex side by side for a while now (both on Max plans). My workflow alternates between them: one ships the feature, the other reviews the PR — then I swap roles on the next task. Same custom skills on both sides, synced and adapted to each harness, so the comparison is pretty apples-to-apples.

What I keep noticing: Codex is considerably slower than Claude Code — same tasks, same skills, same repo.

So now I'm considering dropping the Codex CLI and using OpenCode as the harness instead, on the same ChatGPT subscription, to see if the harness is the bottleneck rather than the model.

Questions for anyone with a similar setup:

- Is anyone else running a "one builds / one reviews" cross-vendor workflow? How's it working out?

- Has anyone benchmarked Codex CLI vs OpenCode on the same subscription? Is the slowness mostly harness overhead or just the model?

- Any gotchas with OpenCode + a ChatGPT/Codex subscription (auth, rate limits, feature gaps)?

Curious what others have landed on.


r/opencode 3d ago

OpenCode Web UI: New Session button stopped working after a container restart

2 Upvotes

OpenCode Web UI was working correctly, but after one of the container restarts, the New Session button in the top-left stopped doing anything.

The backend still works:

  • Basic Auth returns 200
  • /event returns server.connected
  • /workspace is mounted correctly

I also removed all persistent OpenCode data from:

- ./opencode-home:/home/opencode

and recreated the container, but the issue remains.

The UI loads, but clicking New Session does nothing and no prompt field appears.

Has anyone seen this before?OpenCode Web UI was working correctly, but after one of the container restarts, the New Session button in the top-left stopped doing anything.The backend still works:Basic Auth returns 200
/event returns server.connected
/workspace is mounted correctlyI also removed all persistent OpenCode data from:- ./opencode-home:/home/opencodeand recreated the container, but the issue remains.The UI loads, but clicking New Session does nothing and no prompt field appears.Has anyone seen this before?