A fork of OpenCode with integrated Saturn network provider for zero-configuration AI service discovery.
This fork adds support for Saturn, a service discovery system that enables applications to automatically locate and use AI backends on a local network via mDNS—like Bonjour, but for AI services.
Saturn eliminates the need for per-application API key configuration. Instead of configuring each application with provider credentials, Saturn advertises AI services on your network:
- Cloud Deployments ("Beacons") — Advertise remote API credentials (OpenRouter, OpenAI, DeepInfra) with ephemeral key rotation
- Network Deployments ("Proxies") — Advertise local LAN services (Ollama, vLLM) by host/port
Applications using the Saturn provider automatically discover and connect to available AI backends. See the Saturn SPEC for full details.
This fork integrates ai-sdk-provider-saturn as a bundled provider:
- Saturn provider added to
BUNDLED_PROVIDERSinpackages/opencode/src/provider/provider.ts - Custom loader that performs mDNS discovery to find
_saturn._tcp.localservices - Dynamic model registration from discovered network services
- Default configuration in
.opencode/opencode.jsoncwith Saturn enabled
When you launch OpenCode-Saturn, it automatically discovers Saturn services on your network and makes their models available for use—no API keys or manual configuration required.
- Ensure a Saturn service is running on your network (beacon or proxy)
- Clone and build this fork
- Run OpenCode—Saturn models appear automatically
git clone https://github.com/jperrello/opencode-saturn
cd opencode-saturn
bun install
bun run dev- Saturn — The core service discovery system and provider SDK
- ai-sdk-provider-saturn — The Vercel AI SDK provider used by this fork
The open source AI coding agent.
OpenCode is a 100% open source AI coding agent created by Anomaly. Key features:
- Provider agnostic — Works with Claude, OpenAI, Google, local models, or Saturn-discovered services
- LSP support — Out of the box language server integration
- TUI focus — Built by neovim users and the creators of terminal.shop
- Client/server architecture — Run OpenCode locally and drive it remotely
For upstream installation, documentation, and community links, visit the official OpenCode repository.
This fork is not affiliated with the OpenCode team as of February 2026.