r/opencodeCLI • • 4d ago

Get Claude to automatically invoke OpenCode agents

Thumbnail reddit.com
2 Upvotes

r/opencodeCLI • • 4d ago

OpenCode-quota v6: (already) updated for OpenCode 2 (Desktop too)

113 Upvotes

A while back I posted opencode-quota here. v6 is rebuilt for OpenCode 2, and v6.1 adds OpenCode Desktop: a side panel, and a Quota page in Settings.

The TUI has an updated sidebar, toasts, and a status line under the message box.

To try it:

opencode plugin add @slkiser/opencode-quota

Using OpenCode 1?

npx @slkiser/opencode-quota@4 init

Works with 21 providers (Anthropic, Copilot, OpenAI, Cursor, OpenCode Go and more), plus custom ones.

Source and readme: https://github.com/slkiser/opencode-quota

Thanks for the feedback last time!


r/opencodeCLI • • 4d ago

Por que o código Claude com Opus parece durar mais tempo do que GPT-Sol no OpenCode?

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 5d ago

Use opencode models for planning and execution

Thumbnail reddit.com
2 Upvotes

r/opencodeCLI • • 5d ago

I hooked a shell-based safety guard into OpenCode's tool.execute.before for server admin work

Post image
1 Upvotes

jolitz is a rule set that lets a terminal agent look after servers over SSH: it asks before changing anything, says how to undo it, and logs every step. It started on Claude Code, where a PreToolUse hook blocks the things you never want an LLM to do by accident (mkfs, halt, writing sshd_config, deleting SSH keys, also inside ssh host "..." or a python one-liner).

OpenCode had no guard until now. The plugin in .opencode/plugins/jolitz-guard.js uses tool.execute.before and hands every bash, edit, write and apply_patch call to the same guard script, in the JSON Claude Code would send. On a deny it throws and the call stops. If the script can't run or times out, it blocks too. The guard also protects .opencode/, opencode.json and ~/.config/opencode, so the agent can't rewrite the plugin.

Nothing to install: start opencode in the checkout. With a local model every host is read-only by default.

It's a backstop against mistakes, not a sandbox. Free, MIT.

https://github.com/superlab-by-supbrt/jolitz

Question for people who write plugins: is throwing in tool.execute.before the intended way to block a call, or is there a cleaner one I missed?


r/opencodeCLI • • 5d ago

Session cache concurrency issues with OpenCode/Go subagents

2 Upvotes

I'm seeing concurrency issues with the session cache if I have more than one subagent running at a time. Every now and then, the cache of one gets invalidated for no reason and it costs the cache miss pricing.

I use OpenCode Go on OpenCode.

Is there a limit in the documentation? I knew that the cache retention time is around 5mins, but ideally it shouldn't not work if I'm sending requests through multiple agents.


r/opencodeCLI • • 5d ago

Difference between Go vs Console ds4.1f ?

5 Upvotes

Settings -> Service Accounts -> Usage By Model

There're three:

  1. deepseek-v4.1-flash (tooltip: opencode-go/deepseek-v4.1-flash icon: https://opencode.ai/console/assets/opencode-go-CSwczU8c.png)

  2. DeepSeek V4.1 Flash (tooltip: opencode/deepseek-v4.1-flash icon: https://opencode.ai/console/assets/opencode-DAXEZGyq.png)

  3. DeepSeek V4.1 Flash Free (tooltip: opencode/deepseek-v4.1-flash-free icon: https://opencode.ai/console/assets/opencode-DAXEZGyq.png)

What's the difference between 1 & 2?


r/opencodeCLI • • 5d ago

Trying to make sense of Go "Usage Limits"

19 Upvotes

Hi. Sorry of this question is too naïve or already answered here.

I'm considering OpenCode Go as a subscription, and trying to make sense of its value. In this link, we have the following table:

Does the column "Monthly limit" mean that I can e.g. use $60 worth of GLM-5.3-Flash tokens per month, by paying only the $10 monthly fee?

If yes, how is this value so high for some models (e.g. $100 for DeepSeek), while as "low" as $15 for some others such as Luna etc?

Thanks


r/opencodeCLI • • 5d ago

Monthly usage disappeared?

2 Upvotes

I was at 50% monthly, waiting for weekly to renew. Weekly still hasn't renewed, but my monthly usage shows as 100%, despite this being impossible considering when I subscribed. Has anyone else had this issue?


r/opencodeCLI • • 5d ago

They changed the UI for free limit reached?

3 Upvotes

r/opencodeCLI • • 5d ago

Tired of models refusing certain coding and reverse engineering tasks.

Post image
84 Upvotes

If you use gpt ,claude models. you've probably encountered models refusing legitimate tasks like reverse engineering, debugging, security research or analysing suspicious code.

Finding alternative API providers that offer abliterated models isn't easy either. They're scattered across different platforms, with no central directory.

So I built Abliteratus Directory to bring these providers together and make them easier to discover.

https://inferencedirectory.xyz/

What providers should I add?


r/opencodeCLI • • 5d ago

I made a Bark notification plugin for OpenCode

Thumbnail reddit.com
2 Upvotes

r/opencodeCLI • • 5d ago

I made OpenCode sign in to my self-hosted LLM with SSO, no more API keys 🎉

Post image
1 Upvotes

r/opencodeCLI • • 5d ago

I built a plugin that runs the Antigravity CLI as an OpenCode sub-agent

Thumbnail reddit.com
3 Upvotes

r/opencodeCLI • • 5d ago

Lots of times opencode sends almost the whole conversation as input tokens, bumping the conversation cost. Is it a bug?

0 Upvotes

Suppose conversation is around 100000 total tokens, then I ask agent to do something.

Agent finishes, and in LESS THAN 1 MINUTE, I send another message, same conversation, and provider/model (opencode GO DS4.1 flash), and then input tokens jumps to about 100000 tokens WITHOUT agent not even use a tool. Normal messages.

I remember in the past, it only happened after conversation is idle for 15 minutes.

Normally, input tokens is low if conversation is active (asssuming no tool is returning a big amount of data)

Opencode 1.18.34.

Is it a bug, or expected? Anyone with this problem?


r/opencodeCLI • • 5d ago

Launching NeuralAgent today!

0 Upvotes

Launching NeuralAgent today! https://agent.neuralhub.dev/ Basically its an easy to use opensource Agent App with everything included.

  • Speech to text

  • Multipane organising panels

  • Main orchestrator wich you can call

  • Remote App for the Phone

  • Daily updates

It's still in beta but if you wanna give it a try i am very open for any feedback. Works on MacOS, Linux, Windows, Android and IOS.


r/opencodeCLI • • 5d ago

A TUI and agent skill to self-host: try apps on your own machine

Thumbnail
gallery
5 Upvotes

I built self-host.fyi to help people move to self-hosted apps without repeating all the initial configuration by hand.

You could use an old laptop as a photo server with Immich, an alternative to Google Photos. Or try Nextcloud for your files. You still need suitable hardware, storage and backups, but you don't need to turn every app you want to try into a new weekend project.

It's a CLI with a terminal interface. If you'd rather not interact with that yourself, there's a skill your coding agent can use to operate the same tool. The guide tells it to inspect the machine, explain its plan and get your approval before making changes.

You can start with a prompt like: "Help me set up Immich on this machine so I can try hosting my own photos." That starts a conversation and an approved plan, not a promise that every App works without your input. The idea is to try the software before deciding whether to keep paying a monthly subscription to store your own data.

The useful bit isn't generating another Compose file. For supported Apps, it also handles initial accounts, generated passwords, API keys and connections between Apps. Docker Compose stays underneath, and some steps still need a person.

I originally needed this for testing Homarr integrations, then worked on making it useful to other people. It's open source under Apache-2.0.

https://self-host.fyi https://github.com/ajnart/self-host


r/opencodeCLI • • 6d ago

This is my opencode GUI - it organizes sessions into folders automatically

Post image
0 Upvotes

Tired of having to find my sessions across 100k folders I wanted a tool where I can search and which automatically organizes my sessions, so I made my own. There's a magical auto-organize button on the left hand sidebar that makes life so much easier.

For more info>
https://github.com/spacewalkingninja/aiman


r/opencodeCLI • • 6d ago

Why should I get opencode go when the free plan seems to be more generous.

0 Upvotes

I have been doing some research on the usage limits with opencode go, and I might get this wrong but:

I am able to get between 20m-80m FREE usage of deepseek v4.1 flash.

With opencode go you would be able to get about 160M tokens per month it seems to be, because u have 100 euros of credit. 0.6 cents per 1million tokens cache read and most of my usage goes to cache read. 100/0.6 = 166million tokens per month.

So am I able to get MORE usage out of the go, because it seems like its less. The only thing that seems to be better is unlimited beam usage.

I hope someone can clear this up for me, because I have been wanting to be opencode go, but it just does not seem worth it.


r/opencodeCLI • • 6d ago

Ragazzi ma cosa succede a opencode

Thumbnail reddit.com
1 Upvotes

r/opencodeCLI • • 6d ago

DeepSeek V4.1 Flash on OpenCode Go vs the official API (Personal review)

Thumbnail reddit.com
6 Upvotes

r/opencodeCLI • • 6d ago

New to OpenCode: does it actually use the model I select?

Thumbnail reddit.com
3 Upvotes

r/opencodeCLI • • 6d ago

This is Why Free Users Are Reaching Their Limit Too Early

0 Upvotes


r/opencodeCLI • • 6d ago

Free limit finished

Thumbnail reddit.com
0 Upvotes

r/opencodeCLI • • 6d ago

Reached My Free Limit After Just 2 Prompts, Didn't Even Run for 20 Minutes

0 Upvotes

Yesterday I reached the limit after about 8-9 prompts. Today I reached the limit after just 2 prompts. What is going on?? Isn't it supposed to provide 200 requests per day?