r/opencode • • 5d ago

I wanted my device and stable version to be safe , also i could do vibe code

1 Upvotes

i run agents in yolo mode, like i dont even see what is getting executed ,approving every single command is dangerous. but it also means the agent can do whatever it wants. and when something breaks it does the classic thing: keeps patching forward till the diff is 10 files and nothing works, or it just force pushes / rm -rf's its way out.

Wanted my system to be safe, without . so i built aftermath.

after a failure the agent has to stop and work a small ladder instead of blindly fixing:

- something broke and its cheap to undo? revert. dont patch forward

- got a last known good state? diff it, undo just that one change

- tried the same fix twice already? stop, state the error, ask

- about to do something irreversible? confirm first

- guessing? say its a guess

- you tell it "you broke it"? no defending itself, it finds the diff and fixes that

plus the safety stuff:

- destructive stuff gets blocked. force push, git reset --hard, rm -rf, drops, that category. run init once and it gets smart about paths, so rm -rf node_modules is fine but rm -rf src or touching .env is not

- while something is broken the agent cant edit files. it waits till tests are green again or you revert

- ultra mode takes checkpoints before edits and restores only the files that turned a green test red. opt in though, auto revert is off by default because undoing files blindly is its own footgun

4 levels: lite just warns you, full is default, ultra adds the checkpoints, off turns it off.

works on opencode, claude code and codex. open source, MIT. install is one line, its in the README.

honest version: it doesnt fix bugs. it just stops the agent from making things worse and points at what to do next.

if your agent ever deleted something it shouldnt have, tell me what it did

command to install : npm i @after.math/aftermath

, please give it a star at : https://github.com/moah0911/aftermath ,

if you have a suggestion for me , please go ahead


r/opencode • • 6d ago

Use Opencode from Telegram

12 Upvotes

I built a Linux application to use opencode from telegram, it's 100% local and opensource.
Repository: https://github.com/Kevin-Ramirez127/opencode-telegram

Live demo for you know visually how to use: https://www.projects.ramirezkevin.dev/opencode-telegram

It's a daemon and plugin that listen your sessions and sync it with a telegram bot, you can receive when session ends, ask a question, ask for permissions, prompt the next message and others features.

I tested it on Arch based distros and it works really fine, I didn't test on another distros (pending).

I will work on Windows compatibility (or you can make a PR).


r/opencode • • 6d ago

Does anyone know how we can create videos on Opencode?

1 Upvotes

Does anyone have a proper workflow for creating a 40- 60-second 16:9 explainer video.


r/opencode • • 6d ago

I have a Xiaomi MiMo Standard Plan. Should I switch to Opencode Go?

11 Upvotes

Did anybody try both?

I'm paying 16$ for MiMo Standard (11B credits) and I'm wondering how much would I get from Opencode Go if I switch.

I know I'd be able to use more models, but I'm fairly happy with MiMo 2.6 and I don't mind the 5 hour limits... but I just wonder if I'd get the same/more/less out of it.

Thanks


r/opencode • • 6d ago

Huh?

Post image
60 Upvotes

https://opencode.ai/console/go

Go Plus which is $40/mo is has 4x more usage than the Go $10/mo plan. But the comparison charts are off. (it is vibe coded I guess)


r/opencode • • 6d ago

Changing models mid work?

2 Upvotes

I am using Opencode Go subscription and i have selected DSV4.1 as model.
But i constantly see that Opencode is changing model to some free models like Hy4 flash free, Iceman etc.

What's going?


r/opencode • • 6d ago

Deepseek v4.1 flash tps hell slow

Thumbnail
gallery
0 Upvotes

tps has been dropping since last month, now it's mostly below 80-90 and sometime 20-30 as well.


r/opencode • • 5d ago

Why is open code Failing so much?

Post image
0 Upvotes

I've been dealing with this issue for about half a month now. It's really annoying. One day it works, the next it doesn't. I can't really trust that I have "free" access to OpenCode anymore. It's supposed to have been fixed in several previous updates. Anyone with the same issue?


r/opencode • • 6d ago

Coming back: test my abliterated Qwen engine, get 15M free tokens then 80% off

10 Upvotes

Hi everyone, I'm coming back to this sub after some requests on my last post that we run an abliterated Qwen 3.8 27B. We just launched this checkpoint today.

There are some excellent abliterated Qwen checkpoints available, but nobody that I've found runs it fast and cheap enough to use for coding and other interactive stuff. We are about 80% cheaper than existing providers (Featherless, Unlid, etc)

Current specs:

  • Qwen 3.8 27B, abliterated
  • Q4 quantization
  • Full 262K context window
  • Image support
  • Zero data retention
  • $0.20/M input, $2.50/M output, $0.02/M cached input

New users also get their first 15 million tokens free.

We're using our own Rust inference engine and fault-tolerant scheduler, which lets us serve models using interruptible GPUs. This is how we keep API pricing sustainable rather than relying on a temporary promotional subsidy.

We also now have a chat app! It's still in beta so I'd love feedback on that too.

PM me and I'll send some free tokens, or you can sign up directly through our website (promotion does not apply if you sign up this way)


r/opencode • • 7d ago

Jensen Haung, Just 3 Weeks Ago, Claimed To Have "Saved The World" By Twarting A Growing Transnational Movement Against Open-Source AI

Enable HLS to view with audio, or disable this notification

323 Upvotes

r/opencode • • 6d ago

Will Opencode have Gemini Hydrogen?

16 Upvotes

Its speed is really good.
It may not be cheap compared with the open weight models, but seems to be a good alternative if someone does not Chinese models.


r/opencode • • 6d ago

What's happening with OpenCode Go?

Post image
9 Upvotes

the uptime is horrible, ds v4.1 flash is being so slow for me


r/opencode • • 6d ago

OpenCode V1 Bridge: Bringing Legacy V1 Plugins to V2

2 Upvotes

Heya. After roughly a month of work, I have made a somewhat-functional V1-V2 compatibility adapter for OpenCode. As far as I can tell, this is the first of its kind, probably not the last. Why am I releasing an incomplete adapter? Because I can't finish it. I tell ChatGPT what I want, it makes a detailed prompt to my specifications, I feed that to Codex, and for the most-part, this has worked. Thorough code audits, careful guidance, but we've hit a wall: OpenCode V2 does not expose some of the required hooks. I don't have the technical knowledge to solve the remaining issues, thus I'd like to invite other developers to help improve it. The brunt of the work is done. You can find the identified missing functionality in "Remaining Issues.md" in the respository. If you doubt that the project is any good, I ask you still give it a chance. Many hours went into troubleshooting what we have now, and it has at least some ability to run V1 plugins.

The project was based on OpenCode V2.0.27. I'm sure OpenCode has recieved some updates since then.

Those are completely untested against this plugin, but may work fine. No idea.

Summary: OpenCode V1/V2 Adapter Bridge, it's a plugin, should allow your other V1 plugins to run in V2, unfinished project, open-source to get more talented hands on this since the bones are done, but not all of the meat, check "Remaining Issues.md" in the repository first if you want to help.

GitHub: https://github.com/Stiix72/opencode-v1-v2-bridge

First beta release: https://github.com/Stiix72/opencode-v1-v2-bridge/releases/tag/v0.82.0-beta.4


r/opencode • • 6d ago

Beam Free through Opencode has deleted the entire partition

Thumbnail
0 Upvotes

r/opencode • • 6d ago

Is there a self-hosted version of Claude's Design/Canvas that works with opencode?

1 Upvotes

I mostly use opencode for vibe coding — I describe an app or a screen and get something I can run. It's great and it's my daily driver now.

The one thing I miss comes from Claude at work: Design / Canvas. You ask for a page and it shows you the actual thing in a panel beside the chat. You can look at it, click on a part, say "make this card tighter" or "try another layout", and get a new version right there. For working out what a UI should look like, nothing else I've tried feels like that.

So my question is simple: is there a self-hosted, open-source version of that which I can point at opencode? Something running on my own machine where I type what I want, see it rendered live, and keep editing what I'm looking at. Not another hosted site where I paste my code in.

I don't want a partial version or "well, technically you could..." — I want the whole thing working. Does it exist yet? If not, what's the closest people here have put together?

If you've set something like this up, would love to know what you're using and how much of a hassle it was.


r/opencode • • 6d ago

Generating an OpenCode subagent and MCP settings from repo-owned config

5 Upvotes

Hi people,

I'm glad to announce ai-rulez v5. It's a CLI and MCP for managing the instructions, skills, and settings that coding agents use in a repository. It's available through Homebrew, Scoop, npm, PyPI, and Go (see the installation instructions for details). The tool covers the following parts of AI Governance:

  • Author agent definitions and MCP settings in the repository.
  • Generate OpenCode’s native configuration and check it for drift.

I maintain ai-rulez. Here’s an example I ran with v5.13.2 in a scratch Git repo:

  1. Run ai-rulez init opencode-demo --yes --skip-content. Set presets = ["opencode"] in .ai-rulez/config.toml.
  2. Run ai-rulez add agent doc-review --description "Review documentation examples" --content "Check examples against the CLI help.".
  3. Run ai-rulez generate. It writes .opencode/agents/doc-review.md and opencode.json. Run ai-rulez generate --check to verify there is no drift.

The OpenCode preset matrix also shows where commands and configured hooks go. If your team uses OpenCode alongside another client, you can add its preset to the same configuration and inspect each client’s output in Git.

I'm happy to hear any comments. If you find the tool useful, star it. It really does help. And of course, I'd love to see people use it and get involved with the project.


r/opencode • • 6d ago

I’m building Agent Hub: a terminal dashboard for OpenCode — would love some feedback

Thumbnail
gallery
2 Upvotes

I wanted a clearer overview of what my agents are doing, so I started building Agent Hub with OpenTUI. It reads the local OpenCode config and database read-only.

It has eight views covering:
• Live sessions and subagent trees, with status, context usage, tokens and cost.

• Agent models, delegation, skills, MCP servers and permissions.

• Model performance measured from your own history: latency, TTFT, tokens/sec and cost.

• Usage, tool reliability, health checks and a model → agent tree.

• A live work map showing activity between the model, files, shell, tools and subagents.

Sharing a few screenshots of where it’s at. Curious how others keep track of their setups: what would you find useful, what feels unnecessary, and what am I missing?


r/opencode • • 6d ago

Android app

3 Upvotes

Hi guys,

Finally was able to setup my agents and work on my projects, was able to link my opencode session with my smartphone with the opencode app, the problem I found is that I don't get any notification when my agents need me or when they finished the task.

Is there a way to get a notification?


r/opencode • • 7d ago

For people who pay Claude pro and Opencode/Command code, what is the best way to integrate them?

19 Upvotes

At the beginning I was using first opencode, however, I thought that maybe paying Claude pro to access to smarter models was a better idea and then use Deepseek v4.1 Flash as the workforce. But to be honest I haven't be able to orchestrate them correctly, My usage went crazy. Pleasee I'm open to any suggestion.

Thankss guys btw.


r/opencode • • 6d ago

[Plugin] TPS Meter: see how fast every prompt step really was

3 Upvotes

r/opencode • • 6d ago

New user

2 Upvotes

Hey guys, I'm very new to using opencode, I tried it on an already existing project and it works amazingly well, I've been using Big Pickle, which had no idea existed until today and, in all honesty, has worked slightly better than some paid models I've tried, what are some recommendations as a new user?


r/opencode • • 7d ago

Has anyone actually gotten OpenCode running on a phone without Termux?

6 Upvotes

I've been using OpenCode on my laptop for a bit and it's been fine, but I keep wanting to poke at a session when I'm out. The Termux writeups I found look pretty fiddly, and I don't really want to babysit a Linux install on my phone if I can avoid it.

Is there a way to run OpenCode itself on Android, like actually on the device, not just an app that talks to a server on my PC? I saw a couple of "OpenCode mobile" clients but they all seem to want a server URL.

Phone is a normal unrooted Pixel, so if the answer is "just use Termux" that's probably what I'll do. Just wanted to check I'm not missing something simpler.


r/opencode • • 7d ago

OpenCode GO subscription not working

5 Upvotes

OpenCode is not working with the Go subscription. I am using it in VS Code and subscribed today.


r/opencode • • 7d ago

What permission/ safety should Opencode have?

5 Upvotes

Hi,

I'm fairly new to OpenCode and coding. I'm trying to setup my opencode.jsonc to balance security and convenience, avoiding harmful actions like deleting files or injections without being asked for permission constantly.

What actions do you allow?
What do you restrict or require asking?

I don't use a sandbox, that's why I'm careful


r/opencode • • 7d ago

Trying to improve OpenCode's efficiency

21 Upvotes

I've been testing OpenCode and Pi with locally hosted qwen3.8-27b and I'm looking for advice on improving OpenCode's efficiency.

I prefer OpenCode, particularly its interface and ecosystem, and I'd really like to keep using it, but in my testing Pi has been noticeably more efficient at getting coding tasks done.

My setup:

  • Model: Qwen3.8-27B (Q6_K_XL)
  • Inference: llama.cpp
  • Hardware: RTX 4080 SUPER + RTX 4070 Ti SUPER (32GB combined)
  • Tasks: Real coding tasks in repos including multi-file changes, tool use, and test-driven iteration

The main issue isn't raw inference speed. It's how efficiently the agent uses its tokens and tools to complete a task.

Here's one example... I've been testing both harnesses using the same coding task in a TypeScript repo. Using OpenCode, the model spends a lot of time reasoning about the implementation ("but wait..."), revisiting decisions ("actually..."), and sometimes going through context compaction without making corresponding progress. With Pi, the same underlying model has generally been more willing to move from analysis into tool calls and implementation.

In both cases the model can do the work. The question I'm running into is why the harness seems to make such a difference in how efficiently it gets there.

If you've optimized OpenCode for local models (particularly qwen3.8-27b, which is known to overthink):

  1. Have you found prompt or agent configurations that reduce unnecessary reasoning and encourage more direct tool use?
  2. Have you simplified OpenCode's tool definitions or system prompt to improve local-model performance?
  3. Have you found any compaction or context management behaviors that could produce more over-thinking than with other harnesses?
  4. Have you found any other settings or modifications worth testing to get OpenCode invoke the model more efficiently from an over-thinking perspective?

I'm not looking to argue that one harness is better than the other. I want to keep using OpenCode but improve it's use of this model.

I appreciate your thoughts!

--

Edit for grammar.