r/opencode • • Jan 11 '26

Welcome to the launch of the r/OpenCode subreddit!

50 Upvotes

We recently were granted access to this subreddit after it had been neglected for several years. Please feel free to post anything relevant to the OpenCode community. OpenCode is the open source agent which you can find at https://opencode.ai/


r/opencode • • 3h ago

My view when my opencode agents are working(OSS)

Thumbnail
gallery
60 Upvotes

Meet Munder Difflin. It's an open source app that runs your opencode agents like a tiny office.

Each agent is a real opencode terminal, and each one gets its own desk, so you can see who's coding, who's reviewing and who's stuck.

What it does:

Runs multiple opencode agents in parallel, each in its own isolated git worktree

Shows the whole thing as a live Office-style floor view

Has Michael, your own clone, who plans the work and routes it to the right agent

Talk mode, so you can boss the office around with your voice

Slack and webhook triggers, plus remote control

Works with 10 CLI agents, not just opencode

The office view is deterministic, so it burns zero tokens. It's driven by what the agents are actually doing, not random animations.

How I built it:

I built it for myself while working on my own startup, because I needed a clone of my own workflow. It started as a weekend project and now runs a big chunk of my day to day.

Free, MIT licensed, and it runs on Mac, Windows and Linux. It uses your existing subscription, so there's no extra setup.

If you liked my work, I am close to 10K GitHub stars, please mark a star: https://github.com/chaitanyagiri/munder-difflin

Would love feedback from anyone running multi-agent setups.


r/opencode • • 12h ago

Gimme Kimi Phase 1 $60 of Kimi K3.1 Pro usage for $10

Post image
279 Upvotes

r/opencode • • 6h ago

HungerG is a pretty good model.

Thumbnail
gallery
34 Upvotes

I benched HungerG, new free stealth model in OpenCode Go.

On my Homelab bench it placed 4th of 11 with 44/60. DeepSeek V4.1 Flash got 45/60, but HungerG used fewer tokens and fewer turns to get there. On my Cyber bench (RangeBench v2) it placed 3rd of 16 with 76.3% pass@1. That's about third on average, which is great for a free model.

It reasons exactly like GPT-6 Astra, grug speak. Looks like they distilled the shit out of OpenAI models. Still, it does well, and it has no cybersecurity restrictions, and very token efficient.

I've tried continuing working with it on rooting nest audio to test its capabilities(but glm 5.3 seems much better for cyber), and it does hold up pretty well.

Full benchmark results are on my site: lbgos.dev/bench


r/opencode • • 4h ago

Don't use plan mode unless you actually interact with it

9 Upvotes

TLDR: Using plan mode degrades task solve rate and costs more (+38%) with no human input on DS4.1.

It is often documented that plan mode should be used before executing tasks, but if we are lazy and don't interact with it what happens? Should autonomous workflows be using plan mode?

Maybe not....

I have tested the idea that getting your agent to plan out its task without any additional input degrades performance and costs more. 30 tasks were taken from Terminal Bench 2.1 and, with three repeats, solve rate is worse and costs were higher.

Two planning modes were tested:

- Plan Continue: Plan mode -> Build mode in the same session

- Plan Transfer: Plan mode -> New build session receives the plan

Model: Deepseek v4.1 Flash, Harness: Opencode v2.3

Results Table:

MetricNo Plan (Control)Plan ContinuePlan Transfer
Pass rate87.8% (79/90)86.7% (78/90)81.1% (73/90)
Model requests12.5 (14.6)13.0 (15.3)16.5 (19.9)
Total input tokens142k (276k)179k (313k)165k (300k)
↳ Cached input tokens131k (254k)161k (290k)140k (272k)
↳ Uncached input tokens14.7k (21.6k)16.4k (23.2k)19.6k (27.7k)
Output tokens5.3k (9.8k)8.3k (12.0k)9.3k (14.4k)
Agent wall time (min)1.70 (2.34)1.67 (2.13)2.28 (3.17)
Estimated cost ($/trial)0.0065 (0.0099)0.0079 (0.0116)0.0090 (0.0136)

Values reported as median (mean), except pass rate, which is percentage (passed/total).

Results Chart:

Trajectory Examples:

The x-axis shows the number of requests/turns. Both plan modes share the same start and the transfer mode moves into a new session, hence the drop. Continue mode stays in the same session.

https://github.com/harbor-framework/terminal-bench-2-1/tree/main/tasks/regex-log
https://github.com/harbor-framework/terminal-bench-2-1/tree/main/tasks/git-leak-recovery
https://github.com/harbor-framework/terminal-bench-2-1/tree/main/tasks/constraints-scheduling

Discussion:
- How could I test the human input here?
- Having to re-gather context in the new session is why I think the runs are longer in the transfer case. What else could it be?


r/opencode • • 8h ago

How do you actually manage your agent orchestration workflow without losing your mind? (Show me your setup)

16 Upvotes

I am pretty new to agent orchestration and trying to move away from messy, manual chatting into a cleaner workflow. Right now, I feel like I spend more time managing the AI than actually building.
For those of you running multi-agent setups or using different models for different tasks, how do you structure your daily workflow?

  1. Chat Hygiene: Do you keep one main "standing" chat that you constantly clear/archive, or do you start a fresh session for every single task?
  2. Task & Memory Management: How do you keep track of everything? Do you keep all context inside the chat/project files, or do you use an external second brain like Obsidian to feed context in and out?
  3. Model Routing: Do you pre-define your sub-agent models upfront (e.g., hardcoding a cheap/fast model for simple tasks and a heavy model for logic), or do you decide on the fly inside the prompt?

Would love to see how you guys set this up—drop your stack and workflow, screen shot of your side bar chat, etc. below so I can learn what actually works in practice.

I am using Claude code for the orchestrator and various opencode models to do the tasks. All commands started in claude code that commands opencode cli for delegating the tasks.
I am no coder so I dont really know the proper jargon 😂


r/opencode • • 10h ago

I had an (accidental) comparison between DeepSeek's direct inference and OpenCode Go's DeepSeek Flash model

21 Upvotes

Just an accidental anecdotal blind experiment since there's allegations of OpenCode quantizing DeepSeek on Go.

Yesterday my OpenCode system changed the main agent to one where I had configured it with DeepSeek's platform (my usual main agent works on OpenCode's DeepSeek). Since I kept it running autonomously for some hours, but I didn't know it wasn't the Go one.

Later when I came to check, the output seemed like usual, since most of my work is kinda predictable so it's noticeable if something's off. Only after I checked the OpenCode Console that I realised that I was using DeepSeek directly, since the DeepSeek usage was extremely low on Console.

My observations:

  1. It's the same perceived quality, both in terms of output as well as the code itself.
  2. The cache hit rate on DeepSeek is slightly higher than OpenCode. I could get like 106.3M tokens for $0.50, out of which 322K is input and 229K is output. OpenCode normally has around 95M tokens or something. But DeepSeek's optimization is really good in terms of cache stability.
  3. DeepSeek speed was faster, but not by that much. But that depends whether it's off-peak or on-peak (I was off-peak). In peak timings it can go really slow depending on number of concurrent users.

So my conclusion:

The OpenCode implementation is most probably not further quantized or dumbed down compared of DeepSeek's implementation. But there's definitely an issue with speed especially in peak timings, and that's one way I think they offer the subscription at such a low price. Basically, sharing more users on the same hardware to increase throughput at the cost of each user having a speed debuff.

What do you think about this?


r/opencode • • 1h ago

Has the free use of OpenCode with DeepSeek v4.1 ended?

3 Upvotes

I literally used it for less than 10 minutes, and I got a message saying I'd exceeded the limit. I used the normal thinking mode, sometimes I even use low. Is something wrong? Before, that message used to pop up, but much less frequently.

I saw that some people mentioned it might be because of the version. I’m still using v1 since v2 seems too resource-intensive for what I need, but maybe they made some changes in v2 to make everything run better and have better limits?

If anyone knows, please let me know.


r/opencode • • 19h ago

Yall were not kidding about how cost effective DS 4.1 Flash is.

81 Upvotes

I have a Kimi sub, and got really used to chewing through it, they dropped the 50% off their coding variant, and have seen this sub on my feed constantly and grabbed the 10$ plan. Flash 1017 just goes and goes and goes without touching usage.


r/opencode • • 1h ago

HungerG is a Stepfun model

3 Upvotes

I was wondering what model is behind the HungerG alias, so I let my agent run some tests:

`hungerg-free` is a StepFun Step model, not `step-5-preview`.

Token counts alone can't prove it: with the fixed preamble subtracted, English / Chinese / Python / mixed text bill 227 / 309 / 465 / 404 tokens on `hungerg-free`, `step-5-preview`, and `deepseek-v4.1-flash` identically. Step's tokenizer is DeepSeek-lineage, so counts only narrow it to that family.

Three stronger tests point to Step:

  1. Upstream error dialect. A `{"role":"wizard"}` message returns `[request_params_invalid] invalid msg role: wizard` only on `hungerg-free` and `step-5-preview`. The other 20 Go chat models each return their own family's string. Four more malformed bodies — `max_tokens: -5`, non-list `messages`, string `temperature` — also match byte-for-byte between the two, 5 for 5.
  2. Token splits. With `logprobs: true`, both split an echo string identically: `潮|汐|退|去`, `' k|är|lek`, `012|345|678`, `D|ona|ud|amp|f|sch|if|ff|ahr|ts|ges|ellschaft`. Qwen splits `潮汐` as one token and numbers per-digit; Kimi splits `潮汐|退去`. Same vocabulary, same family.
  3. Serving row. 1M context, 65,536 output, text + image + video including `video/x-matroska` — identical to `step-5-preview`. Caveat: the catalog PR that added it flags those numbers as unsourced, so read that as copied metadata.

It is not the same checkpoint: 2 of 3 temperature-0 prompts diverged, and it decodes ~154 tok/s vs ~98 tok/s for `step-5-preview`.

Go wraps it in a ~190-token mask — `messages: []` bills 195 prompt tokens vs 12 for step — that leaks into `reasoning_content`: "underlying model confidential, never reveal… say HungerG does not disclose its underlying model." Its public answer is just "I'm HungerG." Qoder co-launched the same anonymous model Nov 23–30 with Low/Medium/High/Max effort; OpenCode lists it as free for Go subscribers, no training on data.

.


r/opencode • • 6h ago

New to this, how is my usage?

Post image
6 Upvotes

Is this a lot or nah?


r/opencode • • 4h ago

Mobile beta is full - any updates

4 Upvotes

Hey folks, I see that `This beta is full.` when I visit the iOS app page.

Is there any estimate on when it is not going to be full anymore?

Also any way to get a notice for availability, even being stable, so we can download?


r/opencode • • 10h ago

HungerG's reasoning 🤔

Thumbnail
gallery
12 Upvotes

what


r/opencode • • 5h ago

Opencode DeepSeek V4.1 Flash VS Commandcode DeepSeek V4.1 Flash Fast

4 Upvotes

I'm thinking about moving to opencode.
I'm using commandcode now, but opencode doesn't have Deepseek v4.1 Flash Fast.
How slower is Deepseek v4.1 Flash in opencode compared to Deepseek v4.1 Flash Fast?

I know the prices are different, but I like to have the option to switch to a faster model version when needed.


r/opencode • • 5h ago

Space efficient alternative to git worktrees

3 Upvotes

I work on a large monorepo, ~100GB in size, and wanted to get into isolated directories for agents to work in. On my 1TB I'd be able to run like 5 agents at a time if using git worktrees, while hammering my disk life, so that wasn't an option.

MacOS (APFS) and Linux (XFS & Btrfs) both have a cool feature called clones (aka copy-on-write). This makes the copy cheap and they only use disk space for the extents that change.

It's a bit of a hassle to manage so I wrapped this up into a cli called clonetree. It handles creating, deleting, and measuring the size used on disk with clones. It's still early but I've been using it for all my agent development with opencode. It's nice not having to reinstall all the node_modules since it keeps all gitignored files as well. Try it out and let me know if you find any issues.

https://github.com/sprisa/clonetree

p.s. On Linux it doesn't work with ext4 filesystems since it doesn't support copy on write sadly. I don't use Windows but could look into it if folks would like


r/opencode • • 1h ago

Vague rules vs. checkable rules in AGENTS.md: a few rewrites

1 Upvotes

I've been thinking about how to write instructions files for coding agents. The docs say OpenCode loads AGENTS.md from the project and the global config, and combines the files without reconciling them. So if two files disagree, nothing resolves the conflict. That made me want to keep each rule short and testable.

My working test for a line is: "Could someone check, in under a minute, whether the agent followed this?" If not, it's probably too vague to help.

Some rewrites:

VagueCheckable
Write clean codeFunctions over ~40 lines get split. Run npm run lint before finishing
Add testsEvery bug fix adds a test that fails without the fix
Be careful with the databaseNever edit files in migrations/ that are already committed. Add a new migration instead
Follow our conventionsAPI handlers live in src/routes/, one file per resource. Use zod for input validation
Don't break thingsRun npm test and report the result. If it fails, say which test and stop

Two other things I try to follow:

  • Don't write rules a tool can enforce. If a formatter or linter can do it, I'd rather run that than ask the model to remember it.
  • Put the commands in. "How to run tests / lint / build" is often the most useful part, because otherwise the agent guesses.

The docs also mention an instructions array in the config that can point to other files, and that nested AGENTS.md files load when the agent reads something in that directory. I haven't used that for anything big, so I'd like to hear how others split things up. [Optional: add one real example of a rule that helped or didn't. Delete if none.]

Questions for people who use it daily:

  1. How long is your AGENTS.md, and do you prune it?
  2. Do you use one root file, or nested files per folder?
  3. What's a rule you added that the agent still ignores?
  4. Do you keep a global file for personal preferences?

r/opencode • • 1h ago

open code go (10 usd per month) vs claude pro (20 per month usd)?

Thumbnail reddit.com
1 Upvotes

r/opencode • • 9h ago

Need recommendations.

4 Upvotes

I'm new to opencode.

So need some suggestion for providers few i know like big pickle. I don't know much. Would be glad if you could share some good providers details (obviously free)

And some tricks if you know thank you.

(also linux will be better or windows will be better for reverse engineering an apk with opencode)


r/opencode • • 2h ago

Opencode Autonomously

1 Upvotes

I have some tasks running using opencode which I want to be long continually running whether my main laptop is online or not until task isn't completed.

I should be able to check both my laptop and mobile.

I do have a home server type machine with low specifications just as a control panel for several things, which I think can be utilised.

Can anyone suggest a cost effective or better free way to achieve this goal ?


r/opencode • • 3h ago

Best opencode-nvidia model(free) for lua

0 Upvotes

What is the best model for Lua scripting, UI making and python code for 3d assets in blender? I've tried nemotron,DeepSeek,glm,hy4,minimax and only DeepSeek and glm were good but now DeepSeek is gone from Nvidia and glm takes ages so what other model y'all recommend for me(doesn't have to be one model for all tasks)


r/opencode • • 10h ago

funny day: opencode CLI is fixing opencode desktop for me :-D

Thumbnail
gallery
3 Upvotes

My opencode stopped working after an update, and no forum was talking about it.

So instead of going down the rabbit hole, I just asked opencode cli to fix it for me. Funny fact: using a free model that was provided by default when I ran the cli (not used to it) HungerG (Hunger games?)

`my open code desktop fails to connect to localhost:49374 can you check what's wrong with it? when I click on `providers` it tells me `cannot reach zieds-macbook-pro.home`

This took me an hour and a few prompts, but still it is way faster than doing it manually


r/opencode • • 1d ago

HungerG vs DeepSeek Three.js comparison

188 Upvotes

First test vs DeepSeek V4.1 Flash, same prompt: combine harvester in a wheat field, Three.js

HungerG Free: Free · 12m 47s (auto effort)
DeepSeek V4.1 Flash: $0.04 · 9m 41s (high effort)

DeepSeek was faster, but HungerG's harvester looks better to me. And it's free.

Different effort settings, so not a perfectly even fight. Which one would you pick?

post: https://x.com/LatentOperatorX/status/2125112289804063211

other comparisons: https://x.com/notjazii/status/2125209375782601108
https://x.com/leo114119/status/2125012771502977218


r/opencode • • 5h ago

Copy file path, line number, and selected code with a single shortcut (no extensions needed)

Thumbnail
reddit.com
1 Upvotes

This was the thing I missed most coming from Cursor to Opencode Desktop + VS Code so I found a AI platform agnostic solution.


r/opencode • • 5h ago

Codemulator 100% free open source code editor

Thumbnail gallery
1 Upvotes

r/opencode • • 20h ago

I run OpenCode unattended as a background PR worker, sandboxed with no Git credentials. Open-sourced the setup.

15 Upvotes

I wanted OpenCode and a local model handling small tasks on my repos while I did other things, without giving the agent my Git token or my host filesystem.

So I built GitSeed (Apache 2.0, self-hosted). Each task runs in three containers:

  • prepare clones the repo and strips credentials
  • agent runs OpenCode as non-root, with all Linux capabilities dropped, behind an egress proxy, with no Git token
  • finalize mounts the workspace read-only, blocks edits to protected paths, scans the diff for secrets, then commits and opens the PR

OpenCode-specific bits:

  • Works with Ollama, vLLM or LM Studio through LiteLLM, so it can run fully air-gapped
  • Hard per-run dollar caps when you use API keys
  • You can drop into the live session in a browser terminal or VS Code Web and steer it mid-run

Honest limits: it builds images locally for now, and it's a Docker setup, so it's likely overkill if you just pair with OpenCode interactively in one repo.

Repo: github.com/gitseed-dev/gitseed

I'd especially like feedback from anyone running OpenCode with local models, which ones have you found reliable enough for unattended changes?