# OpenCode Provider Shape Last updated: dev@28d27ee | 2026-07-17 ## Scope Canonical provider identity `opencode` with Zen/Go endpoint variants; OpenAI-compatible transport and webhook presets in `src/llm_core.py` and `routes/webhook_routes.py`. ## Shape Keep Zen and Go path identity in endpoint metadata even though the canonical provider family is OpenCode. Model discovery uses general identity-only fallback. Path/version, account policy, and model selection can differ between variants; do not flatten them into OpenAI. ## Fallback And Current Gaps Exact `*.opencode.ai` plus configured `/zen` or `/zen/go` selects this family. No provider-specific rich capability catalog is mapped, and runtime still has separate variant labels that should eventually become structured endpoint metadata.