Gonka AI x OpenCode #1044
Dankosik
started this conversation in
Show and Tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Gonka AI x OpenCode
Hi everyone,
We just published a small OpenCode setup utility for GonkaGate.
@gonkagate/opencode-setupis an open source onboarding CLI for people whoalready use
opencodeand want to point it at GonkaGate without making setup aside quest. No hand-editing
opencode.json, no shell profile secret exports,and no need to learn the OpenCode custom-provider config shape before the first
request.
What we built
We built a local installer around:
It handles the config plumbing around provider setup, secret binding, scope
selection, and effective-config verification, then gets out of the way so you
can keep using plain
opencode.Why we built it
This is one of those pieces of plumbing that should be boring, but often is not.
If you already have a GonkaGate key, the next step should not be "open three
docs tabs and figure out where OpenCode wants provider config today."
The riskier parts are also the least fun: putting the secret in the wrong place,
leaving a repo-local
opencode.jsonin a weird state, or thinking setup workedbecause a file changed even though OpenCode resolves a different config at
runtime. We wanted the setup path to be short, explicit, and careful about what
it claims.
Quick start
Interactive
Non-interactive with
GONKAGATE_API_KEYNon-interactive with stdin
After setup:
What the installer does
opencodeis available and supported.userorprojectscope.GONKAGATE_API_KEY, or--api-key-stdin.--api-key.projectscope is selected, writes only activation settings torepo-local
opencode.json.opencodeconfig and the current session'seffective OpenCode config before reporting success.
Gateway, OpenCode config, and transport
gonkagatehttps://api.gonkagate.com/v1chat/completionsThe
projectscope is intentionally conservative. The repo-localopencode.jsononly gets activation settings. The provider definition andsecret binding stay in user scope, so the project file remains commit-safe by
default.
The installer does not write directly to
auth.json, does not create.envfiles, and does not mutate shell profiles.
Models right now
The public picker is deliberately small right now. It has one validated option:
qwen/qwen3-235b-a22b-instruct-2507-fp8We are treating this as a curated list, not a free-form custom model box. More
options can be added as they pass the same OpenCode validation path.
What we're not claiming
The boundaries are explicit:
/v1/responsessupport today--api-key.envgenerationauth.jsonlayer, although locally inspectable blockers are surfaced where possible
If
/v1/responsessupport lands later, it should be a migration on thisintegration, not a rename or a pretend-it-already-works claim.
Useful links
Beta Was this translation helpful? Give feedback.
All reactions