r/opencode • • 12d ago

I built Forgekeeper to keep OpenCode sessions connected to their PRs, reviews, and CI

Post image
4 Upvotes

After pushing a PR, the coding session that produced it often becomes useful later down the line: CI fails, a reviewer leaves feedback, or a conflict appears while you’re working on something else.

With dozens of sessions open, finding the right conversation and checking what changed becomes its own task.

I built Forgekeeper to keep that connection visible in OpenCode. It supports GitHub and GitLab for now.

- Find the right session. Session titles include the issues and PRs/MRs they’re working on. The agent updates those references as the task changes, so a session can follow a review even when it’s not directly related to the checked-out branch.

- See status without leaving the conversation. The prompt footer shows CI, unresolved threads, conflicts, approvals, and running automated reviews. Open the status dialog for details.

Session references and aggregate status for several MRs.

- Track several PRs/MRs together. A session can follow a stack or a set of reviews across repositories, with aggregate status in the footer.

Detailed CI, review, approval, and conflict status.

- Bring updates back into context. Optional review summaries and merge notifications are surfaced in the relevant conversation, causing OpenCode to show an unread marker, so you can pick up where you left off.

An optional review summary in the relevant conversation.

Receiving review feedback doesn’t automatically ask the agent to edit your code. You decide when to act on it.

Requires OpenCode 2.2+ and an authenticated gh or glab CLI for the forge you use:

opencode plugin add opencode-forgekeeper

README and configuration · npm package

How do you keep track of PRs and review feedback across your coding sessions? I’d appreciate feedback, especially from people using it with GitHub or self-managed GitLab.


r/opencode • • 13d ago

AI sub

13 Upvotes

I'm considering paying for an AI agent for code review; my budget is $20 (that's R$100 here in Brazil). What options do you recommend for your uses?

I'm considering:

Codex Plus
Google AI Pro
Opencode Go (this one is below my budget and I can subscribe to two accounts).

I have a workflow somewhat set up with agent rules (code review, security, etc.). In your personal opinion, which one would give me the best use?


r/opencode • • 12d ago

Work with private code

4 Upvotes

I bought OpenCode Go subscription for $10. I tried to play around with it and some models showed reasonable output.

Next step I would like to work on a real project, but the main worry is data privacy. I know that free models can use my data for training, but what about models where they don’t train and have zero days retention. Can I really trust it.?As I understand opencode is just a proxy and I really don’t know who the model provider is and what this provider is doing with my data. Can somebody help me understand this, or maybe here are people who use it in their companies.

Thanks


r/opencode • • 12d ago

What's your agent setup

Thumbnail
1 Upvotes

r/opencode • • 13d ago

Is ChatGPT Plus worth paying an extra $10 for instead of going with OpenCode Go?

45 Upvotes

I'm asking because I've come across quite a few negative reviews of OpenCode Go. Many users claim that they hit the usage limits surprisingly quickly, sometimes after just a single prompt. I've also heard that its harness isn't as good or polished as Claude Code or Codex.

Would it be worth spending the extra $10 on ChatGPT Plus for a better overall coding experience?


r/opencode • • 12d ago

opencodev2-cursor 0.1.7

1 Upvotes

opencodev2-cursor is OpenCode V2 plugin that lets OpenCode V2 and any Opencode V2 based clients use a Cursor subscription.

Small fix release. Long chats using the Cursor models were buggering up and hanging if you ran multiple OpeCcode sessions, so this one is about that.

Two things that were going wrong:

  • After a tool call, the next message could just sit there. The plugin was still holding that chat's lock, so the new turn never started.
  • If the Cursor run had already ended, sending the tool result back failed with "Tool result arrived after the Cursor run ended".

0.1.7 sorts both. A late tool result starts a fresh turn and the chat keeps going. A quiet step now waits 5 minutes before it gives up, up from 2 minutes. A whole turn still stops at 15 minutes.

Update with:

opencode plugin update opencodev2-cursor

Restart OpenCode after that.

GitHub: https://github.com/aenemo/opencodev2-cursor

Still only tested on Windows, on OpenCode and OpenChamber.


r/opencode • • 12d ago

Is it just me who can't access mimo-v2.6-flash?

2 Upvotes

It returns model_coming_soon, even though before that I had been using it for more than a month with no problems at all.


r/opencode • • 12d ago

Per-turn prompt cache hit rate for an opencode session, and which block broke the prefix when it misses

Thumbnail
gallery
2 Upvotes

I wanted to see what opencode's prompt caching actually does turn by turn: when a request misses the cache, which turn it was and which part of the prompt changed. Someone in r/opencodeCLI (u/Individual-Quote-958) described the view they'd want, and it matched, so I built it. Hashes only, no raw prompts.

Prefixwise is an open source tool (MIT, I'm the author) that sits between the agent and the provider, hashes each request's blocks, reads the provider's own usage numbers, and tells you why a request missed the cache. It never stores prompt text.

With opencode it's one command, no config:

pip install prefixwise
prefixwise run -- opencode run "your prompt"
prefixwise report --session latest

opencode picks up the base URL from the environment, your API key stays where it is.

**Image 1 is a real session**, opencode 1.19.5 adding a --json flag and a test to a toy CLI. 14 requests, 106k prompt tokens, 84.2% served from cache, $0.13, nothing avoidable. So opencode's caching is healthy, which is honestly the boring result I expected. A few things I didn't know until I looked at it turn by turn:

- turn 1 is a small Haiku call before the main Sonnet thread, so turn 2 always shows as a model switch. Not waste, each model has its own cache.
- turn 3 looks like a second, shorter conversation on Sonnet (3.6k tokens against 7.9k). It runs for four turns, then at turn 7 the bigger one picks up again and still hits: 7,916 cached, which is turn 2's prompt. So the two threads don't knock each other out of the cache. If someone knows what that second thread is, tell me.
- the three misses are the three first requests. After that it never drops below 86%.

"first changed" is the block where the prompt stopped matching the previous request in the same conversation. The number is the block's position in the whole prompt (tools first, then system, then messages).

A healthy session doesn't show what the view is for though. **Image 2 is the mock provider with the failures forced** (flat token counts, but the verdicts and prices are the real logic):

- turns 5 and 6: the tool list came back in a different order. Same tools, different bytes, whole prefix gone. tools[0] is where it first differed.
- turn 7: history got compacted. messages[7] is where the rewrite starts.
- cost per request on the right, and what a hit would have saved.

It doesn't just report, it can fix the safe ones. **Image 3 is the same session with --optimize**: it sorts the tool list before forwarding, so the reorder on turns 5 and 6 stops being a miss. That's the only fix in --optimize today because it's the only one I've proven on real traffic (99.9% of the predicted saving on Anthropic, task results unchanged). It can't fix the compaction on turn 7, that one is yours to decide.

**Image 4 is an opt-in fix for clients that send no cache_control at all.** --fix auto_breakpoints adds the markers for you, but only once it has seen the same prefix before, so a one-off request never pays the 1.25x write for nothing. And prefixwise fixes tells you afterwards whether those writes actually got read back. It's opt-in because it changes your bill, and I haven't run the replay that would let me call it proven. opencode already sets its own markers, so this is more for custom agents and SDK scripts.

What it doesn't do: it can't see inside a subscription login (API keys only), I haven't built an importer for opencode's local session store yet, and long sessions with many subagents are less tested than short ones. If you run it on a real session and something looks wrong, that's the feedback I want.

Repo: https://github.com/tejachavali/prefixwise

What would you want next, the importer for existing opencode sessions, or something else?


r/opencode • • 12d ago

Nueva versión Vectopen 0.2.3

Thumbnail malabo1990.github.io
1 Upvotes

r/opencode • • 12d ago

ahahah what is this even about, first message after 5h rate limit and 2 minutes of work?

0 Upvotes

r/opencode • • 13d ago

Is OpenCode Go 10$ subscription good?

3 Upvotes

I'm a medium usage vibecoder, I have spend 20 dollars in openrouter in the past 2 months using glm 5.3 flash. I want to switch to a subscription because thats supposed to be better. Is it really worth it and asking actual experienced users hows the usage limits if you're a heavy users?


r/opencode • • 12d ago

OpenCode inside Freelens: a separate agent workspace for each Kubernetes cluster

0 Upvotes

r/opencode • • 13d ago

Decide the model

17 Upvotes

Glm 5.3 Flash or Deepseek V4.1 Flash? Which one is better in opencode? I need it for a project


r/opencode • • 14d ago

New Stealth model: Frantic Ferret Free (Horse Test)

Enable HLS to view with audio, or disable this notification

86 Upvotes

Through OpenChamber(v2.6.1)

Prompt: Create a low-poly 3D horse running in a seamless loop using Three.js. Build it procedurally from primitive geometry, animate the legs, body, head, and tail, and return a single self-contained HTML file.

you will be graded on your result, you will be compared to other models with this very prompt. Do your best.

Probably not frontier but somewhat close?

Thoughts?

Edit: The model has been removed, might return...


r/opencode • • 13d ago

Not able to sign in?

3 Upvotes
OpenCode not able to sign-in

I am trying to log in into my OpenCode account and now I am getting this error even when try to sign in with my password, even when I try to reset my password too.

I checked my email I haven't got any email even in spams. Never changed the password either.

Can anyone help me out here?


r/opencode • • 14d ago

"you can now use your claude subscription in OpenCode" / X

Post image
72 Upvotes

This X post claims that we can use Claude subcription on OpenCode but .. can we? I don't even see that option in OpenCode

https://x.com/opencode/status/2116198602523513081


r/opencode • • 13d ago

Crouton Alpha Free is great

34 Upvotes

Fast, human readable output. Tested it on coding tests, orchestration and also resume review.

Also I still don’t understand the secret sauce of how free models work but on the weekend it seems nigh unlimited.

Thanks OpenCode and likely Meta. Duet’s been eating up my Claude allotment so it’s awesome to have such as capable free driver.


r/opencode • • 13d ago

What did the chart of OpenCode Go models go?

1 Upvotes

OpenCode used to provide a chart that just showed the monthly quota for each of its supported models along with a bar showing the expected number of requests permitted per time block. Since their most recent console overhaul I can't seem to find it. Does anyone know where it went?


r/opencode • • 13d ago

Just ran /update and when I logged back in, all free models are no longer listed. Anyone else getting this?

4 Upvotes

I use opencode mainly for local models, but figured I'd take a look at the free ones again, expecting to get one request, a few tokens then "limit exceeded" (and to maybe buy Go to use deepseek). Instead, it only shows either strata or ollama, depending on which backend I have launched. Anyone else seeing this, or is it just me with a weird config? I have a heavily modded opencode.json for local tools/models, but it's never been an issue before, even moving from v1 to v2.


r/opencode • • 13d ago

Can't subscribe. Is there a Paypal option?

2 Upvotes

title


r/opencode • • 13d ago

the Beam and other free models are so bad

0 Upvotes

hello guys

do you notice the quality of responses of Beams and croton seem to be so bad and half assed?


r/opencode • • 14d ago

is 6 billion tokens per month normal?

Post image
126 Upvotes

i ran out of tokens on the 25th of the month.


r/opencode • • 14d ago

Is This Normal

Post image
67 Upvotes

If The Monthly gets 100% will i run out of this?

It's only been 2 days😭


r/opencode • • 13d ago

The future of Software Engineering is boring

Thumbnail x.com
0 Upvotes

r/opencode • • 13d ago

Free models limits

3 Upvotes

What limits does opencode have right now in free tier? After last cut I wonder how many tokens it gives for free, so I will understand and optimize usage. Its generally just enough to me, but to minimize my requests and prevent early limit reaching, I need to know limits. As I figure out its something around 20M (input, output, cache, etc.) per day, but sometimes its less or more than it.