Skip to content
ZeroClaw

Personal and autonomous agents

Use ZeroClaw with Shannon

Add Shannon to ZeroClaw's config.toml as a custom provider slot, give an agent that slot and a risk profile, and run it.

  • Tested Nov 7, 2026
  • OpenAI Chat Completions
  • About 4 min

About ZeroClaw

ZeroClaw is a small, fast agent runtime written in Rust, with agents bound to chat channels, a gateway, scheduled jobs and per-agent risk profiles. Providers are named slots in config.toml; the custom slot takes any OpenAI-compatible endpoint, so agents can run on Shannon models.

What you need

A Shannon API key
Keys & usage
Base URL
https://api.shannon-ai.com/v1 Endpoint: /v1/chat/completions
Every snippet below follows your choice.

Set it up

  1. Describe Shannon and an agent

    Write ~/.zeroclaw/config.toml. The provider slot does nothing on its own: an agent refers to it as custom.<alias>, and every agent needs a risk_profile that exists. Use the schema_version your build expects (zeroclaw config migrate --json reports it); 0.8.7 reads version 3.

    ~/.zeroclaw/config.toml
    schema_version = 3
    
    [providers.models.custom.shannon]
    uri            = "https://api.shannon-ai.com/v1"
    model          = "Kimi-K3-uncensored-NVFP4"
    context_window = 1022976
    max_tokens     = 262144
    
    [agents.main]
    model_provider = "custom.shannon"
    risk_profile   = "trusted"
    
    [risk_profiles.trusted]
    level          = "full"
    workspace_only = true
  2. Pass the key and run the agent

    This variable sets providers.models.custom.shannon.api_key at start, so the key stays out of the file.

    Shell
    export ZEROCLAW_providers__models__custom__shannon__api_key=YOUR_API_KEY
    zeroclaw agent -a main -m "Create a file hello.txt that says: the brown dog digs."
    ZeroClaw 0.8.7 in a terminal: agent main on the custom Shannon slot writes hello.txt and reports it
    A real run on ZeroClaw 0.8.7 with the config above: one tool call, two requests.

Check that it works

Send: Hello! Which model are you?

You should see: A reply from the Shannon model through agent main.

Models that fit ZeroClaw

Every id below meets what ZeroClaw needs. The first one is the default in the snippets.

Model idContext windowMax outputImage input
Kimi-K3-uncensored-NVFP4 1,022,976 262,144 Yes
Kimi-K3.1-Pro-uncensored-NVFP4 1,022,976 262,144 Yes
MiMo-V2.6-Pro-uncensored-NVFP4 1,022,976 131,072 Yes
Kimi-K3-uncensored-3BIT-REAP 225,280 225,280 Yes
shannon-3 196,608 65,536 Yes

Model settings

ZeroClaw asks for these values. They follow the model you picked.

SettingValueWhy
context_window 1022976 The model's window, used for ZeroClaw's local budgeting.
max_tokens 262144 The longest answer.

Good to know

  • The docs on the main branch show schema_version = 4; release 0.8.7 rejects that with "config schema_version 4 is newer than this binary supports (3)" and then ignores the whole file.
  • An agent without a configured risk_profile does not start: "agents.main.risk_profile does not name a configured risk_profiles entry".
  • With level = "full", tools run without asking; use supervised to approve medium-risk actions yourself.
  • Set context_window on the slot. Before we set it (together with max_context_tokens in a runtime profile), the second turn failed inside ZeroClaw with "This request exceeds the selected model's context window" without sending a request.
  • On start, ZeroClaw calls GET /v1/models to warm the connection; that request does not use the model.

Tips

  1. zeroclaw quickstart builds the same config interactively and stores the key in ZeroClaw's secrets store.
  2. A [runtime_profiles.<alias>] block with max_tool_iterations caps how many requests a turn may take.
  3. Bind the agent to a channel to use the same Shannon model from Telegram or Discord.

Troubleshooting

SymptomCauseFix
"config section <entire-config> … is malformed and was reset to defaults" A schema version or key the build does not know. Run zeroclaw config migrate --json to see the parse error, then fix the file.
zeroclaw agent --agent main is not configured The file did not load, so no [agents.main] exists. Fix the config error above first.
404 Not Found uri lacks /v1. Use https://api.shannon-ai.com/v1.
401 Unauthorized The key is missing, mistyped or rotated. Copy the key again from Keys & usage; it starts with sk-.
context_length_exceeded / "prompt is too long" The conversation is longer than the model's window. Start a new chat, let the tool compact it, or pick a model with a larger window.
insufficient_quota Your balance cannot pay for the request. Top up or change plan; the request is not retried by itself.

Questions

Does ZeroClaw work with Shannon?

Yes, through the custom provider slot with uri = "https://api.shannon-ai.com/v1".

Can different agents use different Shannon models?

Yes: add one slot per model and point each agent's model_provider at its slot.

Choose your language

All languages are equal. Pick the one you want to browse in.

Europe

Middle East & North Africa

South Asia

Southeast Asia

East Asia

Central Asia & Caucasus

Africa

Oceania

Constructed & Classical