Skip to content

jperrello/opencode-saturn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8,473 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCode-Saturn

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.


What is Saturn?

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.

What Changed in This Fork

This fork integrates ai-sdk-provider-saturn as a bundled provider:

  • Saturn provider added to BUNDLED_PROVIDERS in packages/opencode/src/provider/provider.ts
  • Custom loader that performs mDNS discovery to find _saturn._tcp.local services
  • Dynamic model registration from discovered network services
  • Default configuration in .opencode/opencode.jsonc with 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.

Quick Start

  1. Ensure a Saturn service is running on your network (beacon or proxy)
  2. Clone and build this fork
  3. Run OpenCode—Saturn models appear automatically
git clone https://github.com/jperrello/opencode-saturn
cd opencode-saturn
bun install
bun run dev

Related Projects


About OpenCode

OpenCode logo

The open source AI coding agent.

Discord npm Build status

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.

About

The open source coding agent.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • TypeScript 86.6%
  • CSS 6.7%
  • MDX 5.3%
  • Rust 0.5%
  • Astro 0.4%
  • Shell 0.2%
  • Other 0.3%