Personal and autonomous agents
Use IronClaw with Shannon
Set IronClaw's default LLM slot to the openai_compatible provider with Shannon's base URL, and the agent runs on Shannon models.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 3 min
About IronClaw
IronClaw is a personal agent from NEAR AI, written in Rust with a focus on isolation: tools run in sandboxes and secrets stay in an encrypted store. It runs in the terminal, as a web UI and as a service. Its generic openai_compatible provider takes any base URL, so IronClaw 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
-
Create IronClaw's home
onboardwritesconfig.tomlandproviders.jsonunder~/.ironclaw/reborn.--no-serviceskips installing it as a background service.Shellironclaw onboard --no-service -
Point the default LLM slot at Shannon
Add this to
~/.ironclaw/reborn/config.toml.openai_compatiblehas no default host, sobase_urlis required;api_key_envnames the variable with the key.~/.ironclaw/reborn/config.toml[llm.default] provider_id = "openai_compatible" base_url = "https://api.shannon-ai.com/v1" model = "Kimi-K3-uncensored-NVFP4" api_key_env = "SHANNON_API_KEY" -
Export the key, check and run
ironclaw doctorchecks the config;ironclaw models listshows the active slot.run -msends one message and exits.Shellexport SHANNON_API_KEY=YOUR_API_KEY ironclaw doctor ironclaw run --confirm-host-access -m "Create a file hello.txt that says: the brown dog digs."
A real run on IronClaw 1.4.1 with the slot above: the active model, one tool call, two requests.
Check that it works
Send: ironclaw models list
You should see: active: openai_compatible (<id>).
Models that fit IronClaw
Every id below meets what IronClaw 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 |
Good to know
- For one-off runs and containers, the variables
LLM_BACKEND=openai_compatible,LLM_BASE_URL,LLM_API_KEYandLLM_MODELwork instead of the TOML slot; IronClaw uses them when[llm.default]is not set. ironclaw runin the default local profile asks you to confirm host file access;--confirm-host-accessdoes that for scripts.onboardprints a login link for the web UI that contains a token; treat it like a password.
Tips
ironclaw models set-provider openai_compatible --model <id>changes the slot from the command line.ironclaw servestarts the web UI on the same configuration.- Our file-writing test took two requests: the tool call and the answer.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Model resolution fails at start | base_url is missing from the openai_compatible slot. | Add base_url = "https://api.shannon-ai.com/v1". |
401 | The variable in api_key_env is empty. | Export SHANNON_API_KEY before running IronClaw. |
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 IronClaw work with Shannon?
Yes, through its openai_compatible provider with base_url = "https://api.shannon-ai.com/v1".
Can I keep the key out of the config file?
Yes: api_key_env reads it from the environment, and ironclaw config set can store it in IronClaw's encrypted secret store.