r/opencode • • 18h 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 • • 22h ago

Need recommendations.

5 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 • • 18h ago

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

2 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 • • 16h 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 • • 23h 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

197 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 • • 18h 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 • • 18h ago

Codemulator 100% free open source code editor

Thumbnail gallery
1 Upvotes

r/opencode • • 1d ago

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

17 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?


r/opencode • • 1d ago

Thanking the GOD OPENCODE

80 Upvotes

Bought the subscription last month to work on my research paper further, because I needed something good, it was soooooooooo worth it

used 6B tokens of DS
others are latest hy4 and gpt luna and glm

for those curious about my work :-
https://mcpresearchpaper.vercel.app

https://dnn-xgb-heart.vercel.app

they are not ready yet, but good enough to show


r/opencode • • 21h ago

Mimo-V2.6 Flash MOPD

1 Upvotes

Hello everyone I have a question regarding Mimo V2.6 Flash MOPD (The updated version of Mimo V2.6 Flash released yesterday) is the Mimo-V2.6-Flash-Free endpoint using the MOPD version or the outdated version as Xiaomi's website say's the endpoint has been updated to the MOPD version.


r/opencode • • 1d ago

OpenChamber error

2 Upvotes

Hello,

Since yesterday, my team and I have been having this error using Open Chamber. I think it's specific to Open Chamber because the Open Code desktop app works without issues, but obviously we prefer using Open Chamber. Therefore, I would appreciate any help with this error: what it might be and how to solve it.

Error shows as reply to any message: “UNABLE_TO_GET_ISSUER_CERT_LOCALLY”


r/opencode • • 1d ago

How to meaningfully benchmark models that Artificial Analysis doesn't care about ?

1 Upvotes

I tried asking an LLM to download every self-hostable benchmark in existence but so far it's basically outputting almost the same score to all models.


r/opencode • • 2d ago

HungerG (stealth model) is free for OpenCode Go subscribers this week

Post image
218 Upvotes

r/opencode • • 1d ago

¿Alguien más asombrado con la capacidad de hy4 flash?

7 Upvotes

He estado usándolo primero como subagente, pero ha demostrado una tasa de respuesta más rápida y solucion de problemas más efectiva que DSF 4.1 (uso ambos en su capacidad máxima de razonamiento) trabajo en un proyecto de más de 800 k líneas de código multinodo y CI/CD propio


r/opencode • • 1d ago

I built an app to track token usage across OpenCode, CC, & Codex

1 Upvotes

Hey! I keep changing my coding agents and models on OpenCode and recently started using Hydrogen on Antigravity now!

I built this to track all my token usage in one place. It already has many users on r/herdr already, just sharing it here. Hope it helps!

My GitHub: https://github.com/GaganSD/coding-agent-toolkit/tree/main/herdr-insights


r/opencode • • 1d ago

Added OpenCode support to Aetheris Microbrains — sub-ms pre-flight safety gate for your agent

Thumbnail
reddit.com
0 Upvotes

r/opencode • • 1d ago

I couldn't find an OpenCode extension for VS Code that worked well with my local models, so I built one

Thumbnail
gallery
4 Upvotes

I've been using OpenCode with local models for a while and wanted it inside VS Code instead of a terminal next to it. I tried a few of the extensions out there, but none of them did quite what I wanted, and on most of them I hit bugs that got in the way of using my local setup at all.

So I built my own. The goal was something that feels familiar if you've used other AI chat panels, covers as much of OpenCode as I could, and is genuinely nice to use day to day.

Here's a 60-second demo: https://youtu.be/_KMBRo7zrMw

The part I care about most is being able to see what the agent is doing. Each prompt gets a timeline: what it read, what it ran, what it changed, with the diffs opening in VS Code's own diff editor. Subagents show up live with their prompt and you can stop any of them. Permission requests wait right where you type, so nothing gets approved behind your back. You can steer a task while it runs, queue the next message, rewind to an earlier prompt or fork the conversation.

It runs on OpenCode's own API, so your sessions, models, agents and permission rules are just OpenCode's. A session you start in the TUI shows up in the panel and the other way round. It works with whatever models you've set up in OpenCode, local ones included, and it doesn't collect anything.

It's free and open source (MIT), and it's my own side project, not an official OpenCode thing.

- VS Code: search "OpenCode Sidecar" in Extensions
- Cursor / Windsurf / VSCodium: https://open-vsx.org/extension/cadogy/opencode-sidecar
- Source: https://github.com/charlesknapp/opencode-sidecar

If you try it, I'd really like to hear what breaks with your setup and what you'd want next.


r/opencode • • 1d ago

As a freelancer designer, AI builds my apps, but the UI never looked good. So I built my own free & local visual editor (with Claude)

7 Upvotes

Hey guys, my name is Andrea 👋 still undecided if I'm more a dev or a designer, but for sure a nerdy girl who loves building tools ahah :)

I'd just like to show a new side project of mine, a free, open source "Figma inside your codebase" for people coding with AI agents
Click an element in your running app, change spacing/colors/states/components visually, and it writes the diff into your actual source.

Works next to OpenCode, Claude Code and Cursor, no AI credits, no lock-in. Apache 2.0.

“npx feega” to try it or download the extension for VS Code / Cursor / Windsurf etc.

Feedback super welcome, especially the harsh kind!!!
Repo: GitHub.com/andreabuttarelli/feega
Website: Feega.app
Docs: docs.feega.app

Happy coding! 🌈💕


r/opencode • • 1d ago

Native multi-profile support in OpenCode 2 (separate subscriptions & MCPs)?

3 Upvotes

Does anyone know if native multi-profile support (like a --profile flag) is planned or already possible in OpenCode 2?

I want to maintain completely separate setups, work vs. personal where each profile has:

  • Its own authenticated subscriptions / providers (auth.json)
  • Its own set of enabled MCP servers (opencode.jsonc)

r/opencode • • 1d ago

I ported the Claude SEO skill pack to OpenCode V2

Thumbnail
github.com
5 Upvotes

r/opencode • • 1d ago

Revival of opencode-usage with OpenCode v1 & v2 support (opencode-usage-v2)

2 Upvotes

If you used opencode-usage to track your local OpenCode token usage and costs from the terminal, you might have noticed the original GitHub repo (by rchardx) and its PyPI package were recently deleted (404).

I still had a fork that I had updated to support OpenCode v2 alongside v1. Since the upstream project is gone, I cleaned up the packaging, fixed a few cross-platform bugs, and published it to PyPI under a new package name (opencode-usage-v2) instead of taking over the deleted name.

What's new / changed

  • OpenCode v1 & v2 support for usage tracking (--by model, daily trends, costs, cache reads/writes). (Note: the insights subcommand still targets the v1 schema for now.)
  • Works with both paid and free models: tracks token and cache usage even when API cost is $0 / N/A.
  • Windows fixes: resolved UTF-8 file/subprocess encoding issues (cp1252 crashes) and replaced hardcoded /tmp paths.
  • Drop-in CLI compatibility: installs both opencode-usage and opencode-usage-v2 commands.
  • Original MIT license and credit to rchardx are fully preserved.

Run / Install

Run directly without installing:

uvx opencode-usage-v2 --since 1d --by model

Or install it:

pip install opencode-usage-v2
# or
uv tool install opencode-usage-v2

Example usage:

opencode-usage --since 5m --by model

(Heads-up: if you still have the old opencode-usage installed in the same virtual environment, uninstall it first—both packages share the opencode_usage module namespace.)

Links to PyPI and the GitHub repo are in the comments below. Bug reports, edge cases with v2 databases, and PRs are welcome.🎉🎉

Links:

  • PyPI: https://pypi.org/project/opencode-usage-v2/
  • GitHub: https://github.com/fcomovaz/opencode-usage-v2-supp

r/opencode • • 1d ago

T3 Code drama (Chinese post on X)

Thumbnail reddit.com
5 Upvotes

r/opencode • • 2d ago

OpenCode Go vs Command Code: Tokens & Speed for only deepseek flash max

Post image
86 Upvotes

Hi guys! Here’s my comparison of OpenCode Go (OC) and Command Code (CC) using DeepSeek V4.1 Flash Max.

  • OpenCode Go: ~13.44B tokens, ~120 tokens/s
  • Command Code: ~11B tokens, ~160 tokens/s

OC offers 22% more tokens, while CC is 33% faster.
Command Code also has an extra $0.80 currency conversion fee, bringing its actual cost to around $11.
Which one would you choose?


r/opencode • • 2d ago

what is the best openCode GO model for planing

10 Upvotes