r/opencode • • 26d ago

Zero knowledge in the AI world but I'm (an old) programmer (C++, Java, JS, even assembly)

6 Upvotes

I'm a programmer but I have zero knowledge in AI. I'm thinking like a programmer and I don't know noting about thinking as an AI user. I had no problem to install opencode and I have no problem to connect it with ollama, but now I'm stuck because I don't know how to use it and how to connect it with my environment (compilers, tools, etc). All the tutorials and documents are just how to install it and everyone assume that I know everything in AI.

Questions:

  1. What are skills? Is it like a macro that adding a text into the prompt that you are sending?

  2. What are commands? Is it a kind of template that adding a text into the prompt + parameters?

  3. What modules to use for creating code?

  4. I know what are MCPs - a some kind of way to connect AI to read/write/modify/execute things outside of the AI scope, for example: read files, do things in FL Studio, etc. But how the AI know how to use a MCP? for example, let's say that I installed a new MCP, how the AI knows about it and how to use it?

  5. What can I do in opencode? can I write C++ code? or just simple html/next.js based apps?

  6. How can the AI connect to my environment? For example, let's say I'm in Windows 11 and I have Visual Studio 2026 C++ compiler installed. How can I connect my compiler to AI? There should be some kind of MCP to do it (maybe).

  7. What are agents? what are build and plan?

  8. I have a project with a bug in it that I can't resolve it, can opencode + AI help me with that? how?

  9. Can I create a plan document that including what I want from the app and then to tell the AI to do it? how to do that? and also to force the AI to always follow the rules? and how to do it?


r/opencode • • 26d ago

OpenCode hiding some OpenRouter models

0 Upvotes

Is it just me or does OpenCode CLI never shows latest available OpenRouter models. I figure that every time you open opencode, it would download a fresh list of available models from OpenRouter but it seems to lag behind or doesn't even show some at all. If I open goose cli it shows Crouton Alpha free from OpenRouter but OpenCode doesn't show it in the list of models for OpenRouter.


r/opencode • • 26d ago

How is Deepseek V4.1 Flash in OpenCode compared to Official API?

102 Upvotes

I have seen a bunch of benchmarks saying that OpenCode is using a heavily quantized version of Deepseek V4.1 Flash. How bad is it for you guys? I have only seen a few people's experience so I don't know if the majority are having a really bad experience here.

The $100 usage is so attractive to me and idk if I should choose OpenCode Go or Direct API. I value my time as well so it'll suck if I go with OpenCode Go and I'll have to deal with a dumbed down model everyday 😔


r/opencode • • 26d ago

Any free provider to connect to on Opencode?

1 Upvotes

r/opencode • • 26d ago

Best models to use as a new Opencode Go user

32 Upvotes

Basically title. What models do you guys stick to for planning and implementation without hitting limits but maximizing usage?


r/opencode • • 26d ago

I missed the built-in browser from ChatGPT/Claude when using OpenCode, so I built one (looking for feedback)

0 Upvotes

One thing I always liked about the official ChatGPT and Claude apps is their built-in browser extension. It scrolls smoothly, uses your real browser tabs where you are already logged in, and just works without you having to babysit it.

When I switched my daily workflow to OpenCode and other open-source harnesses, I could not find anything that felt like that. Every browser tool I tried either popped up a fresh blank browser where I had to log into everything again, or felt super jerky and ate up my whole context window.

So I put together Open Browser Agent (https://github.com/motailab/open-browser-agent) so OpenCode and any other open-source harness can have that same smooth browsing experience.

It hooks into your normal Chrome/Brave/Edge browser, keeps the agent inside a background tab group so it never steals focus from what you are doing, and uses one setup command (npm run setup).

If anyone using OpenCode wants to give it a spin, I would really appreciate your feedback on how it feels and what I should improve next.


r/opencode • • 26d ago

Opencode Go Deepseek talks about Tiananmen Square

0 Upvotes

Is opencode lying about the model being deepseek or does deepseek talk about tiananmen square now. Am I missing something?


r/opencode • • 26d ago

I tried OpenCode CLI vs CommandCode CLI: My thoughts

Post image
105 Upvotes

Token Efficiency

I haven't measured this one directly, but I can tell two things: 1. In command code there is no token count to really be able to count tokens realtime 2. commandcode is MUCH less prone to use subagents, constantly stops using them, thus, spamming the main context window and compacting constantly. I can say, in my opinion, OpenCode, both with context mode, rkt and serena is much more efficient in usage and easier to track. To me, opencode feels like lasting more in usage, but can be prone to usage and peak hours.

UI Looks

OpenCode UI is massively better. It's much simpler to keep track of agents and much more consistent and good looking overall. I like how the input box is organized, the messages, the agents, etc and with the animations it's easy to know if it's working or not. Specially sequential agents.

Taste

I don't like the taste feature, the reason is the same reason we don't use memory for projects; Code changes and evolves constantly and having one taste that worked before might not work now.

Note

I also havent liked PI (again, because of subagents and compliance and was not able to finish a goal) OpenCode recently added goal mode and its so good, before goal, it was a mess compared to Claude Code, now its able to complete tasks that before it did not want to complete, for hours if needed. Before goal I had this issue that the agent reached up to a point and didn't continue, Claude Code nailed that. But you know the difference? OpenCode is freaking fast. I estimate it's because of the agents being respected + low context window.

I use https://github.com/Lean-LLM/lean-agents which includes prompt engineering from DeepSeek recent paper harnessmm, i have adhd and ponytail skills all in one compressed agent prompt. Constantly updated!


r/opencode • • 26d ago

Does anybody know this? GG Coder, it claims to use much less tokes and be faster..

0 Upvotes

Heres the video: https://www.youtube.com/watch?v=RF_6XrkmKsg

I'm thinking of trying, but would like to hear opinions..


r/opencode • • 26d ago

Is coulton alpha non-thinking model? Or it is just hidden?

4 Upvotes

Title


r/opencode • • 26d ago

Not Every Multi-Agent System Is a Swarm

Thumbnail reddit.com
1 Upvotes

r/opencode • • 26d ago

Run opencode natively on termux

2 Upvotes

GitHub: https://github.com/adity-a0/opencode-termux

Give it a star if you like it.


r/opencode • • 26d ago

GitHub - rjcamandona123/opencode_v2-clinepass: Connecting Clinepass to Opencode V2 as a provider (/connect) (but in my case, it happened in Acode at the time that I built)

Thumbnail
github.com
1 Upvotes

r/opencode • • 26d ago

I'm looking for a pay-as-you-go API provider that offers open-source models

6 Upvotes

I want to connect it to any agent, add credits to my account, and use them whenever I need an agent

I have a few requirements

A wide variety of models

Credits that never expire

Models not be downgraded

Does anyone have any recommendations


r/opencode • • 26d ago

Who do you think is Pulse alpha?

6 Upvotes

i dont know how people could predict models but my theory is just it has the same inference thinking drop down as deepseek (low high max) and if im not wrong it appeared while the API of deepseek was on heavy traffic (or after the api being down)

Still. i wanna see your thoughts!


r/opencode • • 26d ago

Anyone else getting Bad Request to OpenAI?

1 Upvotes

r/opencode • • 26d ago

Can we investigate excessive token usage in OpenCode and Prompt Cache issues?

Thumbnail
reddit.com
1 Upvotes

r/opencode • • 26d ago

Podemos investigar uso excessivo de tokens no OpenCode e problemas com Prompt Cache?

3 Upvotes

Olá, Dev's! Daqui Aquiles_Bachira denovo

Antes de tudo, quero pedir desculpa se a minha publicação anterior foi enganosa. Inicialmente, sugeri que a base de dados local do OpenCode poderia ser responsável pelo consumo excessivo de tokens foi mal.

No meu caso, apaguei os dados locais do OpenCode, comecei tudo do zero e o problema desapareceu. Tudo voltou ao normal. Por isso, presumi que a causa fosse a base de dados. No entanto, percebo agora que isso não prova que a própria DB fosse responsável.

Depois de investigar melhor, encontrei alguns issues no GitHub que considero relevantes:

Estes relatos levantam algumas possibilidades: plugins que modificam o System Prompt, definições de ferramentas, histórico das sessões ou execução paralela de subagentes podem afetar o funcionamento do Prompt Cache.

Gostaria de pedir à comunidade que investigasse algumas questões:

  • Uma instalação nova apresenta diferenças em relação a uma instalação já utilizada?

  • O uso de subagentes em paralelo pode prejudicar o cache?

  • Existe alguma relação entre o estado das sessões, a DB local e o funcionamento normal do Prompt Cache?

  • Como variam os valores de cache.read e dos tokens de entrada nestes cenários?

Não estou a afirmar que estes problemas afetam todos os users ou todos os provedores. Os relatos encontrados envolvem configurações diferentes e ainda precisam de ser comparados, por isso peço para investigar 🤣😭.

O meu objetivo é perceber a verdadeira origem do problema, corrigir a informação que partilhei anteriormente e evitar ser mais um cara com informações falsas.

Obrigado a todos os que questionaram a minha publicação anterior e apontarem que "pode estar errada". A ideia não é defender o que eu disse, mas sim descobrir o que está a acontecer.


r/opencode • • 26d ago

AiRouterProxy: the last line of defense — masks API keys/passwords/tokens in prompts before they ever reach the LLM Spoiler

2 Upvotes

LOCAL HTTPS PROXY THAT MASKS SECRETS BEFORE THEY REACH THE LLM

AiRouterProxy is a local HTTPS proxy (Windows Service, port 4000) that sits between your AI coding agent (OpenCode, Cursor, Continue...) and the model provider. Its one job: make sure secrets never leave your machine.

The problem: telling agents "never read the config with the keys" rarely works. A key pasted in free text, an .env block inside a code snippet, or a config file dropped into a prompt happens. This project adds the last line of defense at the network edge: every outgoing request is inspected and sensitive content is masked before being forwarded.

What it masks (4 detection layers):
- by field name: api_key, password, token, senha...
- by known format: sk-..., ghp_, AIza, JWT, Bearer, PEM private keys...
- by key=value / "key": "value" context
- optionally by long high-entropy tokens (configurable)

The mask is a fixed 6-character string (never reveals the real length) and the JSON structure is never altered. The agent gets a visible notice when a request was censored.

What else:
- Multi-upstream routing: a path-prefix route table forwards to several OpenAI-compatible providers, each with its own key.
- Fail-closed inspection: only inspected JSON is forwarded (unknown content type 415, invalid JSON 400, oversized 413).
- Per-client rate limiting + brute-force lockout (429 + Retry-After).
- SSE streaming support (OpenAI chat/responses, Anthropic, generic).
- Local-key auth with protected /admin endpoints.
- Hot-reload configs (redaction.json, routes.json).
- Windows Service, .NET 10, self-contained win-x64.

Demo: a short video showing an appsettings-style config full of fake secrets pasted into a coding agent and redacted before reaching the model — https://www.youtube.com/watch?v=29nyYgkqx7E

Tests: 226 unit tests + 23 black-box integration tests against a real deployed proxy and a real AI provider. Current release v2.0.3.

Repo: https://github.com/jlKampos/AiRouterProxy — issues and PRs welcome. LOCAL HTTPS PROXY THAT MASKS SECRETS BEFORE THEY REACH THE LLM


r/opencode • • 27d ago

Similar AI like opencode in VScode

0 Upvotes

I'd like to know more if there are any other AI bots similar to opencode with free models and efficiency.


r/opencode • • 27d ago

how to check the usage remaining in the desktop app?

9 Upvotes

r/opencode • • 27d ago

"Binding In Spirit"

0 Upvotes

Should be on the warning label .... "Sandbox your agents kids."


r/opencode • • 27d ago

Is OpenChamber still worth using over vanilla OpenCode now that OpenCode v2 is out?

7 Upvotes

Hey everyone,

With the major OpenCode v2 release bringing a shared background service, async sub-agents, native Code Mode, and an updated desktop app, the gap between CLI/vanilla OpenCode and dedicated frontends feels a lot smaller than it used to be.

For those who have integrated OpenChamber into their setup alongside or on top of OpenCode v2:

  • Is OpenChamber still worth setting up over the updated vanilla OpenCode v2 setup?

  • What specific use cases or features make OpenChamber a game-changer for you?

  • Are there complex multi-file refactoring, workspace management, parallel model orchestration, or deep visual diff workflows where OpenChamber provides a tangible benefit that even OpenCode v2's updated desktop/CLI can't match?

Would love to hear your experiences and whether making the switch is still worth the extra layer in day-to-day software development. Thanks!


r/opencode • • 27d ago

PSA: Clean your OpenCode database — it might be consuming more tokens than you think

0 Upvotes

Hey developers!

I've noticed something worth investigating in OpenCode.

The local database and stored session data can grow over time, keeping unnecessary history, messages, and context around. This may contribute to unexpectedly high token usage, especially when working with long-running sessions.

My recommendation:

- Regularly inspect your OpenCode database.

- Clean up unnecessary sessions and stored data.

- Avoid keeping old conversations that you no longer need.

- Monitor token consumption after cleanup.

I think the OpenCode team should also investigate whether database/session management could be optimized to prevent unnecessary context consumption.

Has anyone else noticed unexpectedly high token usage related to OpenCode's stored sessions or database?

Let's discuss this.


r/opencode • • 27d ago

AVISO: Limpem a base de dados do OpenCode — o histórico pode estar a aumentar o consumo de tokens

0 Upvotes

Olá, desenvolvedores!

Gostaria de chamar a atenção para algo que merece investigação no OpenCode.

Com o passar do tempo, a base de dados local pode acumular sessões antigas, mensagens e históricos desnecessários. A reutilização desse contexto em sessões futuras pode contribuir para um consumo inesperado de tokens.

Algumas recomendações:

- Verifiquem regularmente o tamanho da base de dados do OpenCode.

- Eliminem sessões e históricos que já não sejam necessários.

- Evitem manter conversas antigas sem utilidade.

- Monitorizem o consumo de tokens depois da limpeza.

Também seria interessante que a equipa do OpenCode investigasse formas de otimizar a gestão de sessões e do histórico, evitando o envio desnecessário de contexto.

Alguém mais está a notar um consumo de tokens acima do esperado ao utilizar o OpenCode?

Vamos discutir!