Router9
Documentation
Integrations

ZeroClaw

Use Router9 as an LLM provider in ZeroClaw

ZeroClaw is a Rust-based autonomous AI agent with support for 25+ messaging platforms. You can connect it to Router9 using an OpenAI-compatible provider configuration.

Setup

Option 1: Onboard with Router9

Use the install script with your Router9 key:

curl -fsSL https://zeroclawlabs.ai/install.sh | bash
./install.sh --api-key "sk-r9k-your-key-here" --provider openrouter

Then edit ~/.zeroclaw/config.toml to point to Router9:

default_provider = "openai"

[providers.openai]
api_key = "sk-r9k-your-key-here"
api_base = "https://api.router9.com/v1"
default_model = "gpt-4o"

Option 2: Edit Config Directly

Create or edit ~/.zeroclaw/config.toml:

default_provider = "router9"

[providers.router9]
api_key = "sk-r9k-your-key-here"
api_base = "https://api.router9.com/v1"
default_model = "gpt-4o"

Using the Anthropic Endpoint

For Anthropic-native model access:

[providers.router9_anthropic]
api_key = "sk-r9k-your-key-here"
api_base = "https://api.router9.com/anthropic"
default_model = "claude-sonnet-4-20250514"

Channel Configuration

Once your provider is set, configure your messaging channels:

[channels.telegram]
bot_token = "123456:ABC-DEF..."

[channels.discord]
token = "your-bot-token"

[channels.slack]
bot_token = "xoxb-..."
app_token = "xapp-..."

Start the Agent

# Start the gateway
zeroclaw gateway

# Or start the full autonomous runtime
zeroclaw daemon

# Check status
zeroclaw status

Tips

  • Router9's flat monthly pricing works well with ZeroClaw's always-on daemon mode — no per-token cost surprises.
  • ZeroClaw supports auth profile rotation. Store your Router9 key in ~/.zeroclaw/auth-profiles.json for encrypted storage.
  • See the ZeroClaw docs for full configuration reference.

On this page