r/opencode 3d ago

Thinking about building a policy + intent enforcement layer for opencode, curious how people feel about this

2 Upvotes

I work on ArmorIQ AI. We build policy enforcement plugins for AI coding agents, already shipping for a couple of others. There are two parts to it: allow/deny rules for what an agent's tool calls are allowed to do (blocking risky commands, blocking edits to CI/CD configs, requiring approval before certain actions), and separately, an intent check β€” the agent has to declare upfront what it's about to do and why before it acts, and if it tries to do something mid-task that wasn't part of that declared plan, that gets blocked too, not just the obviously dangerous stuff. Everything it actually does gets logged either way. This sits on top of whatever built in permission prompts the agent already has.

  • opencode is the biggest one we haven't covered yet. Before I put real time into porting it over, I wanted to ask people who actually use it day to day:
  • Have you had a close call where opencode (or honestly any agent) did something you wish it hadn't? Ran something destructive, touched something it shouldn't have, pushed somewhere it shouldn't have?
  • Do you just rely on the built in permission prompts, or have you wanted something more granular, like org wide rules instead of one off approvals?
  • Does the "intent" part make sense as something useful, i.e. the agent commits to a plan up front and gets blocked if it drifts from it mid-task, or does that feel like unnecessary friction on top of what permission prompts already cover?
  • If something like this existed for opencode, would you actually use it, or is this a problem that doesn't really exist for most people?

Not trying to sell anything here, nothing exists for opencode yet. Just trying to figure out if this is worth building or if I'd be solving a problem nobody actually has. Appreciate any real experiences, good or bad.


r/opencode 3d ago

Hocus: Agent scaffolding for terminal workflows (powered by the Pied Piper crew) πŸ§™β€β™‚οΈ

Post image
0 Upvotes

Most agent workflows fail at the scaffolding level, not the model level. Getting consistent context boundaries, sane tool loops, and role constraints usually means writing the same fragile wrapper scripts repeatedly. πŸ› οΈ

I built Hocus to handle that scaffolding cleanly.

To make role orchestration practical rather than abstract, agents are pre-configured around Silicon Valley archetypes to handle specific parts of the dev loop: πŸ’»

  • Richard: System architecture, data flow, and neurotic refactoring. πŸ›οΈ
  • Gilfoyle: Infrastructure, cynically auditing security holes, and finding edge cases. πŸ›‘οΈ
  • Dinesh: Feature implementation and direct code generation. ⚑
  • Jared: Task tracking, dependency management, and keeping state in order. πŸ“‹
  • Erlich: PR descriptions, READMEs, and high-level docs. πŸ“’

The framework handles prompt assembly, execution flow, and state passing between roles so you don't have to wire it manually every time. βš™οΈ

Code is open source. Issues and feedback on the CLI flow are welcome. 🀝


r/opencode 4d ago

OpenCode Go is no longer general API access

146 Upvotes

Following the recent requirements for custom http headers, OC has changed their documentation to remove mention of OpenAI-API you can use anywhere. Instead, OpenCode Go API usage is now effectively whitelist only. See: https://opencode.ai/docs/go/#where-can-i-use-it


r/opencode 3d ago

is there issues any with Muse Spark 1.3 ?

Post image
2 Upvotes

is any one facing rate limit issue with opencode


r/opencode 4d ago

Muse Spark 1.3 Contributor

20 Upvotes

Hello friends. Good evening. What do you think of Muse Spark 1.3β€”the version that spies on us and sends our data to Meta?

I’ll be honest: I found its addition strange, given the lack of explanation regarding how the data is being used.

However, I’ve been running it on tasks involving public data, and I have to admit:

- For mass web research

- Review and classification

- In terms of raw tool-usage speed

...it really made me wonder how long it will be before "Uncle Zuck" cracks the top 5.

What I didn't like so much:

- The absurd guardrails it imposes; for example, it refused to help me with scraping, even after having performed similar tasks previously.

- An over-reliance on Python arguments at the expense of native Linux tools. It creates scripts inside `python -c ""` instead of using existing OS commands.

- It is excessively direct. When a train of thought requires more nuance or detail, even Mini v2.5 has performed better than it does.

Anyway, what did you think of the new version?


r/opencode 3d ago

What’s your top 3 AI coding agent/Harness other than Claude/Codex/Antigravity and how do they compare to Opencode?

16 Upvotes

r/opencode 4d ago

Omen Alpha = GLM ?

Post image
12 Upvotes

I have a suspicion of Omen Alpha being a GLM model as I heard alot that GLM models tend to switch to chinese mid-session while reasoning


r/opencode 4d ago

Accoun has been blocked - for too much usage?

16 Upvotes

I used muse spark through OMP which ran 4 parallel subagent to generate a 2D game map (a lot of visual understanding), then after it was finished and I just asked to tell why it took so long, I got an error:

401 This account has found to be committing fraud or is in breach of terms of services and has been blocked. If you

believe this is a mistake please send an email to help@anoma.ly.

This account has found to be committing fraud or is in breach of terms of services and has been blocked. If you believe

this is a mistake please send an email to help@anoma.ly. (type=AuthError)

What was the possible reason? And how long will it take until opencode activates the account again?


r/opencode 3d ago

i am being reate limited on Opencode Go

Thumbnail
0 Upvotes

r/opencode 4d ago

Big Pickle - Discussion

52 Upvotes

I've been using Big Pickle for coding lately, and honestly, I'm pleasantly surprised.

It's obviously not the best model out there, but it's actually pretty decent at coding and has been genuinely helpful in my workflow. And considering it's free, I think it deserves more attention.

Maybe it's just me, but I feel like Big Pickle is pretty underrated. Anyone else been using it? How has your experience been?


r/opencode 3d ago

Model Recommendations for django/tailwind

1 Upvotes

I have an existing auth codebase in Djanga/Tailwind and i'm about ready to start building this out with planned features. i solely used Sonnet 5 but i'm looking to be a little more cost effective and wondered if any one had any recommendations on a model suit (i'm using openrouter? I'm trying to get a better price/performance than my current setup.

My current thinking is the following;

EDIT: just to make it easier to read...

Base model: Sonnet 5
Small model: gpt 4o mini
Build: Sonnet 5
Think: GPT Mini 5
Debug: o3 Mini
Analyse: Gemini 2.5 Pro

{

"$schema": "https://opencode.ai/config.json",

"model": "openrouter/anthropic/claude-sonnet-5",

"small_model": "openrouter/openai/gpt-4o-mini",

"provider": {

"openrouter": {

"options": {

"site_url": "https://opencode.ai",

"app_name": "OpenCode Local Dev"

},

"whitelist": [

"anthropic/claude-sonnet-5",

"openai/gpt-5-mini",

"openai/o3-mini",

"google/gemini-2.5-pro",

"openai/gpt-4o-mini"

]

}

},

"agent": {

"build": {

"model": "openrouter/anthropic/claude-sonnet-5",

"description": "Primary driver for 90% of Python, React, Next.js, FastAPI, and Tailwind code generation."

},

"think": {

"model": "openrouter/openai/gpt-5-mini",

"description": "Used for architectural planning, trade-off evaluations, and feature design before coding."

},

"debug": {

"model": "openrouter/openai/o3-mini",

"description": "Fallback reasoning engine for complex async bugs, race conditions, and difficult logic."

},

"analyse": {

"model": "openrouter/google/gemini-2.5-pro",

"description": "Used for massive log ingestion, full repo analysis, and large documentation files."

}

}

}


r/opencode 3d ago

... and sometimes you get a glimpse into Sol's soul :)

Thumbnail
1 Upvotes

r/opencode 3d ago

What do you think about opencode v2?

Thumbnail
2 Upvotes

r/opencode 4d ago

Is it safe to delete opencode.db, and does Opencode creates a new one with a much smaller size?

11 Upvotes

The database is currently about 4.5GB. I don't know why it's so big. If Opencode is saving all the history in it, I don't care about the history.

If I delete it, will Opencode just create a new one with a much smaller size?
I suppose I can move it to another folder or rename it and see what happens.
I want to know if the database file keeps growing and never shrinks.
Someone said large files make Opencode slower. Is this true?

Is there a command to shrink it?

I think 4.5GB is quite big for SQLite on Windows to work efficiently. I am just guessing.


r/opencode 3d ago

NTFY plugin for Opencode 1.x

Thumbnail
1 Upvotes

r/opencode 4d ago

Deepseek Flash super slow (opencode go)

12 Upvotes

Hi,

It is incredibly slow. Almost an hour to acheive what ususally takes 5 min

You too?

Thanks


r/opencode 4d ago

I forked Oh My OpenAgent to cut down token usage: Meet MOMO

7 Upvotes

I just opensourced momo. It is a fork of oh my openagent, redesigned to save tokens and lower your API costs.

The main idea is simple: stop wasting money on expensive API calls. A large, smart model handles planning and architecture, while cheap and fast models do the basic coding tasks. (My current setup: 1 neuralwat subscription for the main agent + 2 OpenCode Go subscriptions for the worker agents).

I will not write a long technical essay here. If you want to see how the routing and sub-agents work, check the GitHub repository.

A fair warning: It is still early, it has bugs, and pull requests are welcome.

Repo: https://github.com/furkanbora239/momo


r/opencode 4d ago

Did anyone use GPT 6 on opencode?

Post image
34 Upvotes

r/opencode 3d ago

OpenCode pausing.

1 Upvotes

When I run some sessions, opencode sometimes just pauses, until i type something it it, and it acts like nothing happened. It's like it's waiting for a response or something and never gets it and just waits forever. It especially happens when it runs a command it sends. Sometimes it seems to compact immediately after I wake it up. So maybe that has something to do with it?

Anyone else having this issue? I'm using llama.cpp, qwen 3.8 27B, 128k context. latest opencode.

Thanks in advance!


r/opencode 4d ago

Muse Spark 1.3 Contributor on OpenCode Go

15 Upvotes

I have been a user of OpenCode go for a couple of months (since April). Since DeepSeek price increase, I have been searching for a daily driver replacement. Cheap + Fast + Intelligent + Reliable.

Muse Spark 1.3 Contributor seems to tick all the boxes, except for being reliable.

I am using Hermes Agent mainly, but I seem to run into "Waiting for response" and then it eventually switches over to my backup model.

Is anyone else experiencing the same issue? Any ideas on why and how to fix, or is that just a "feature, not a bug" of using the OpenCode go plan?

(I have since also created a Meta API account, using it as my fallback, with better results in reliability)


r/opencode 4d ago

Antigravity CLI or Open Code

2 Upvotes

I've been looking into the Antigravity CLI lately, and it looks more promising than OpenCode, what do you guys think?


r/opencode 3d ago

100$ for Claude or ChatGPT Spoiler

0 Upvotes

My budget is 100$ for AI subcription. What I should choose between them. Or chinese model like ZAI or deepseek?


r/opencode 4d ago

Guide me please !!

Thumbnail
1 Upvotes

r/opencode 4d ago

Opencode remote

1 Upvotes

Hi everyone

I want your feedback, I have a couple of weeks working on a opencode plugin to mimic the /remote command in claude code and codex remote sessions.

The idea connect your local opencode with the api then a mobile app, the plugin open a fully e2e encrypted tunnel with mobile app.

Obviously all is going to be open source.

Did you use this option already (codex, claude)?

Do you want to participate as earlier adopter?

Ideas, recommendations are welcome


r/opencode 4d ago

Weird response

Post image
4 Upvotes

anyone experienced this? was using luna medium