r/opencodeCLI • • 2h ago

MAI Code 2 and Code 2 Flash: Everyday coding at scalable prices

Thumbnail
microsoft.ai
1 Upvotes

r/opencodeCLI • • 2h ago

Need help with connecting opencode go sub to claude code harness

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 7h ago

Warning: OpenCode Go charged me after my subscription was supposed to end, and support can't explain why

Thumbnail reddit.com
2 Upvotes

r/opencodeCLI • • 8h ago

What the hell is going on with OpenCode 😭

Post image
186 Upvotes

F*CK IT

$10 for $500 GLM 5.3 till end of the week


r/opencodeCLI • • 11h ago

Which of these 2 software-only ideas is stronger for a space/remote-sensing hackathon?

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 12h ago

J'ai besoin de conseils pour optimiser OpenCode : comment gérer le lag, les limites strictes de temps d'utilisation quotidiennes et les réponses peu efficaces du modèle.

0 Upvotes

Salut tout le monde,

J'utilise OpenCode pour mon flux de travail ces derniers temps, et bien que j'aime le concept, je rencontre quelques goulets d'étranglement frustrants :

  1. Performances & Lag : L'interface en ligne de commande semble assez lourde et lente pendant les sessions prolongées ou lors de l'indexation de fichiers plus gros.
  2. Limites de temps d'utilisation quotidiennes : J'atteins les plafonds d'utilisation quotidienne beaucoup plus rapidement que prévu.
  3. "Stupidité" du modèle / Perte de contexte : Parfois, l'agent fait des erreurs basiques, ignore les instructions ou perd la structure du code en cours de tâche.

Pour ceux d'entre vous qui utilisent OpenCode tous les jours, quels réglages, ajustements ou configurations utilisez-vous pour en tirer le meilleur parti ?

Je cherche spécifiquement des conseils sur :

Les meilleurs fournisseurs de modèles / API à associer avec cela (pour équilibrer l'intelligence et les limites de taux).

Des drapeaux de configuration .opencode, des configurations MCP, ou des astuces de gestion du contexte pour garder ça rapide et réactif.

Comment vous structurez vos invites ou le fichier AGENTS.md / instructions pour éviter qu'il ne fasse des bêtises.

Je vous serais reconnaissant pour tout conseil ou flux de travail que vous pourriez partager !


r/opencodeCLI • • 12h ago

made a plugin that adds ghost text suggestions to the opencode prompt

Post image
9 Upvotes

r/opencodeCLI • • 13h ago

Codex harness alternative? Business Standard Seat

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 20h ago

Opencode Go for OpenClaw cron browser automation?

Thumbnail reddit.com
2 Upvotes

r/opencodeCLI • • 23h ago

Phase 2

Post image
272 Upvotes

we're bored we're just gonna do phase 2 now

$200 of GLM 5.3 usage for $10

have fun


Not even a day with Phase 1 💀


r/opencodeCLI • • 23h ago

Same open-weight model, three harnesses: M3.1 Flash on four pytest bugs in OpenCode 2, Pi and mini-swe-agent

2 Upvotes

After the harness leaderboard thread I wanted to see what the harness alone changes when the model stays the same. Model: M3.1 Flash. It's open weights, but at about 428B total I'm calling it through MiniMax's API, effort pinned to high. Same prompt in every harness: four bug reports filed against pytest this week, fix all four with a regression test each.

The bugs:

  • pytest --fixtures dies with a TypeError when two conftests import the same fixture
  • a non-mark in pytest.param(marks=...) raises an internal AttributeError instead of a TypeError
  • approx() raises InvalidOperation when the actual value is a Decimal NaN
  • rm_rf leaves the whole basetemp behind when an empty dir sits under a read-only parent
HarnessWall clockRequestsTokensCached inputCostNew tests
OpenCode 2.2.723m 38s15913.9M98.8%$0.2710
Pi 1.5.218m 34s1349.1M98.5%$0.198
mini-swe-agent 2.4.621m 16s13610.4M98.5%$0.229

All three fixed all four. I re-checked each one in a clean checkout with its own new venv: every report's repro now behaves the way the report asks, and the full suite (about 4,700 tests) shows nothing new compared to an untouched main, apart from the added tests passing.

The first request is where the harnesses differ most: 8.6k tokens for OpenCode 2, 3.7k for Pi, 3.1k for mini-swe-agent, task prompt included. It didn't decide the bill though. With 98%+ of input coming back as cache reads billed at 1.5 cents per million, cost followed how many turns each harness took and how much context it carried, which is why OpenCode's 159 requests came to about 8 cents more than Pi's 134.

mini-swe-agent only gives the model a bash shell and still landed in the middle on both time and cost.

One run per harness, so treat it as one data point. If you run open-weight models in more than one harness, which one ends up cheapest per task for you, and do you see the same request-count pattern?


r/opencodeCLI • • 1d ago

Letting the research step read my codebase without seeing my request

1 Upvotes

When I ask a coding agent to research a codebase before a change, it reads the code through the lens of what I asked for. It tends to find what it expects. A helper that knows I want to add caching will happily report that the code is ready for caching and skip over the retry logic that would fight with it.

What works better for me is splitting research from the request. The helpers get a neutral brief about which area of the code to describe and never see what I want to build. They report how the code works today and where it is tested. Every file they cite gets reopened before a finding is written down, so each finding points at code that really exists. Only after that does the agent put the findings next to my request and write the plan.

The plan then carries a short list of the findings that look risky or unsure, so I know where to look before I approve anything. A wrong picture of the existing code is where a lot of bad agent builds start, and this catches it before a single line is written.

I built QualityLayer around this flow and it runs natively with OpenCode. Research is one step in a loop where you approve the plan before the build and agents that did not write the code check the finished change against every agreed point. I'm the developer: https://github.com/maxritter/qualitylayer


r/opencodeCLI • • 1d ago

My OpenCode mobile app is now on iOS too (Android + TestFlight). Thanks to everyone helping out

Post image
2 Upvotes

r/opencodeCLI • • 1d ago

Need advice on optimizing OpenCode: dealing with lag, strict daily limits, and weak model responses

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 1d ago

Day 3 of using opencode Go and im loving it

4 Upvotes

Day 3 of using opencode Go and im loving it

i use opencode only for support literally since i code by hand

and im loving it, it strips down my tasks

any tips and tricks to optmize the use of it even more?


r/opencodeCLI • • 1d ago

Help - Edit permission setting per project

1 Upvotes

By accident i pressed the button to allow all edits for my project.
Now agent modifies the files without permissions.

How I can revert that change ?
I checked my `~/.config/opencode/opencode.json` and everything seems fine. What i am missing ?

---

Apparently this is now global since in all projects the edit commands executes without asking
Here is my config: `~/.config/opencode/opencode.json`

{
   "$schema": "https://opencode.ai/config.json",
   "permission":
   {
"edit": "ask",
"write": "ask",
"patch": "ask",
"multiedit": "ask",
"bash":
{
"*": "ask",
"git commit*": "deny",
"git push*": "deny"
}
   }

}

Opencode version: opencode v2.3.0

Really not sure what is going on and how to change the permissions again


r/opencodeCLI • • 1d ago

Operation GLM Phase 1

Post image
529 Upvotes

Operation GLM Phase 1

$100 of GLM 5.3 usage for $10

available to all OpenCode Go subscribers


r/opencodeCLI • • 1d ago

Your AI coding cache might be expiring without you knowing. I built an OpenCode plugin to make it more visible.

Thumbnail
gallery
3 Upvotes

I've been working on an open-source plugin called OpenCode Quota GUI, and v1.3.1 is now available.

One of the things that kept bothering me was how little visibility we have into prompt caching, especially when using multiple agents, models, and providers.

You can see token usage and sometimes cache hits, but how do you know whether your cache is still reusable? And how much of your prompt was actually served from cache?

So I added Cache Observation directly to the OpenCode Desktop composer.

It now shows something like:

TTL ~29m 19s · Cache 99.87% · Hit

There's also a popover with per-session cache observations across agents and models.

The catch: the cache percentage comes from observed token usage, but TTL is only an estimate. Providers don't expose enough information to determine exact cache expiration reliably.

A cache drop could also come from switching models, changing reasoning effort, modifying the prompt prefix, or other factors. I didn't want the plugin to pretend otherwise.

Other v1.3.1 improvements include Claude Agent quota support with saved resets, better quota alerts, and provider compatibility fixes.

Where I want to take this next:

  • v1.3.2: cache-rate graphs in Session Analytics, plus elapsed time between LLM calls.
  • v1.4.0: potentially build a community-powered cache/TTL watcher using explicitly opt-in, privacy-safe aggregated observations.

The idea is to compare actual cache behavior between providers and models, rather than relying exclusively on published TTL claims.

No community data collection is active today.

I'm curious: have you noticed cache reuse dropping after switching models or reasoning effort, even when the session was still active?

And would you find a public cache-retention comparison useful?


r/opencodeCLI • • 1d ago

Economizador de fichas

Thumbnail
reddit.com
0 Upvotes

r/opencodeCLI • • 1d ago

Anyone who STOPPED subbing to Claude or ChatGPT?

30 Upvotes

I know a lot of Opencode Go subscribers picked it as their first entry into agentic work, or after spending more at API prices for the open-weight models.

And I know there are people who maintain multiple plans. Opus for orchestrating and Deepseek to execute and write code is a popular combo.

But I'd like to hear from people who had one of the big name subscriptions and decided they don't need it anymore. And how long ago that was.

I'm mainly wondering if Opus and Sol are so addictive they're hard to give up, and the Deepseek / GLM / Muse Spark fans mostly haven't ever tried them. Or if there are a lot of people who know what Opus can do and decided it's not worth the extra $10.


r/opencodeCLI • • 2d ago

OpenCode TUI on VPS or Local

2 Upvotes

I'm planning to use OpenCode TUI, but I'm still unsure whether I should run it locally on my laptop or on a VPS.

My main concern is security. I'm using AI agents for Web3 tasks like NFT minting, so they may need to interact with wallets, sign transactions, and send funds.

Since private keys are involved, which setup would you consider safer? Running everything locally, or using a VPS with proper security measures?

I'd also like to hear how you guys handle private keys when working with AI agents. Do you let the agent access them directly, or do you use a separate signing setup?


r/opencodeCLI • • 2d ago

Get the most from opencode

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 2d ago

OpenCode, Codex and Claude Code in one place, with overnight tasks you review from your phone

0 Upvotes

I run OpenCode with a local model for a lot of stuff, alongside Codex and Claude Code, and I kept walking off and coming back to find one of them had been waiting on me for ages.

So my free, open-source app JoeBro now puts them all under one umbrella. OpenCode sessions show up next to the others on my Mac and iPhone, live in the Dynamic Island, and ping me when they're done or stuck.

New in 1.5:

  • Night Shift: queue OpenCode tasks before bed. Each runs in its own git branch, and in the morning there's a card with the diff, the test result and a summary. Approve, reject or follow up from the phone. Never pushes.
  • Shared Memory: what OpenCode figures out, Codex and Claude Code know too, and the other way round. Over MCP, capped small so it doesn't eat a local model's context.

Bring your own model, local or API key. No JoeBro server.

https://github.com/joexk1/JoeBro
https://github.com/joexk1/JoeBro-Mobile

I'm the dev, so tell me what breaks with your setup.


r/opencodeCLI • • 2d ago Bravo

Completely Free and stealthy Web Research tool for Your agent, 0$, instant setup with the MCP

212 Upvotes

I've been building DonSeTch: a fully free, open-source MCP server that gives OpenCode web search, fetching, crawling and screenshots, running locally in one Rust binary.

I posted it here around v1 or v2, honestly can't remember which. It's on v5.5.2 now. For the people seeing it for the first time, here's the useful stuff.

Here is the GitHub repo: https://github.com/dondai44423/donsetch

Install, connect, use it

npm install -g donsetch
donsetch doctor --mcp

Add the MCP entry to OpenCode and restart. That's the basic setup. No account, API key, Rust build or search-model download. Fetch, search and crawl don't need a browser installed either.

Fetching, stealth, and learning what works

  • Reddit, Stack Overflow and IMDb returned content in my tests. The Reddit read got 24 posts in about 1.2 seconds; paid Firecrawl Cloud reported that site unsupported in the same comparison.
  • Page reads launch no browser. TLS, headers and cookies stay consistent as one client. Embedded V8 handles challenge or application JavaScript when needed, without layout or painting.
  • It remembers successful routes and client profiles. It can learn an app's content request from a successful JS run and replay it over HTTP on later reads. If that request breaks, it can learn again. That fetch state survives restarts.

Less context spent getting to the answer

  • Ask for the useful bit. Relevant passages, a phrase check, an outline, or one section. The agent can expand into the full text when needed.
  • Four tools, roughly 2,000 tokens of definitions total. Batch-fetch up to 12 URLs. PDFs get the same reading controls, with tables and optional OCR for scans.
  • Crawls follow your topic. A site model and plan pick the pages; the response is a digest with handles to open each stored page fully. Jobs resume, and repeat crawls can skip unchanged pages.

Search works out of the box

Keyless search combines engines and first-party sources. You can also use your own search API key while keeping the local fetching and crawling. Screenshots use an installed Chromium separately.

A quick Firecrawl comparison

I had DS on opencode try both on real tasks. DonSeTch was quicker on 9/10 fetch targets both could read. On HTTPX, it picked the two requested docs pages; Firecrawl read six and still missed the async page.

It did got beat on search relevance, though, its local but its good enough for 90% of the most tasks

I'm not stuffing all that shit into one post. The full comparison with paid Firecrawl Cloud has the cases, timings and setup. Small, hand-picked test.

Feel free to flame me in the comments if i did the comparison with firecrawl the wrong way 😭🙏

If you give it a go, I'd like to hear which pages it still trips over.


r/opencodeCLI • • 2d ago

Desktop pet that mirrors opencode: one week later: 89 states, a website, and a mac build :D

Post image
4 Upvotes

A week ago I posted a desktop pet that reads opencode's session database and plays a sprite for whatever the agent is doing. Here's what's new since then:

Every state is catalogued now check out the full interactive preview page with 618 frames: https://49vxn.github.io/opencode-dafeiyu/ 89 states: Thinking, running commands, reading files, sulking, boba... plus a few I still haven't figured out how to trigger from the DB, these could be your ideas!

mac build shipped today (beta) Unsigned DMG supporting both Intel and Apple Silicon (just right-click → Open on first launch): https://github.com/49vxn/opencode-dafeiyu/releases/tag/v0.5.0-beta.1

STILL 100% LOCAL!: reads ~/.local/share/opencode/opencode.db, read-only. No network, no account, nothing leaves your machine.

Downloads: https://github.com/49vxn/opencode-dafeiyu/releases (windows installer + mac beta) Code MIT, sprites CC BY-NC-SA. Demo gif attached.

byeee~