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/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Describe Shannon and an agent
Write
~/.zeroclaw/config.toml. The provider slot does nothing on its own: an agent refers to it ascustom.<alias>, and every agent needs arisk_profilethat exists. Use theschema_versionyour build expects (zeroclaw config migrate --jsonreports it); 0.8.7 reads version 3.~/.zeroclaw/config.tomlschema_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 -
Pass the key and run the agent
This variable sets
providers.models.custom.shannon.api_keyat start, so the key stays out of the file.Shellexport 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."
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 id | Context window | Max output | Image 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.
| Setting | Value | Why |
|---|---|---|
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_profiledoes not start: "agents.main.risk_profile does not name a configured risk_profiles entry". - With
level = "full", tools run without asking; usesupervisedto approve medium-risk actions yourself. - Set
context_windowon the slot. Before we set it (together withmax_context_tokensin 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/modelsto warm the connection; that request does not use the model.
Tips
zeroclaw quickstartbuilds the same config interactively and stores the key in ZeroClaw's secrets store.- A
[runtime_profiles.<alias>]block withmax_tool_iterationscaps how many requests a turn may take. - Bind the agent to a channel to use the same Shannon model from Telegram or Discord.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
"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.