Personal and autonomous agents
Use Agent Zero with Shannon
Point Agent Zero's Main and Utility models at Shannon through its Other OpenAI compatible provider, and the agent plans, runs code and edits files on Shannon models.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 5 min
About Agent Zero
Agent Zero is an open-source personal agent framework that runs in a Docker container with its own Linux system. It uses the terminal, Python, a browser and files to finish tasks, can hand work to sub-agents, and keeps memory, skills and projects. Developers and tinkerers use it as a general assistant they can watch and change. With Shannon as its model provider, every step of the agent runs on the Shannon model you choose.
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
-
Start Agent Zero
Run the official image and open
http://localhost:5080. The/a0/usrvolume keeps settings, chats and files.Dockerdocker run -d --name agent-zero -p 127.0.0.1:5080:80 \ -v a0_usr:/a0/usr \ agent0ai/agent-zero -
Set Shannon as the Main and Utility model
Open Settings → Agent Settings → Models → Edit Presets and pick the preset you use (Default at first). For Main Model and for Utility Model choose the provider Other OpenAI compatible, type the model id and the key, set the context window, and put the address in Advanced Settings → API base URL. Press Save in the preset editor and again in Settings.
Main Model and Utility ModelProvider: Other OpenAI compatible Model name: Kimi-K3-uncensored-NVFP4 API key: YOUR_API_KEY Supports Vision: on Context window size: 1022976 API base URL: https://api.shannon-ai.com/v1
A real setup on Agent Zero 2.15: the Main Model slot of the Default preset pointed at Shannon. -
Give it a task
Type a task in the chat box. Agent Zero picks a tool, runs it inside the container, reads the result and repeats until it can answer. Each step is a line you can expand; the model menu under the chat shows the preset and model in use.
A real run on Agent Zero 2.15: one text_editor step wrote pet.txt, then the agent confirmed it.
Check that it works
Send: Write the word cat into a file named pet.txt
You should see: A text_editor tool step writing /a0/usr/workdir/pet.txt, then a short reply that the file was created.
Models that fit Agent Zero
Every id below meets what Agent Zero 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
Agent Zero asks for these values. They follow the model you picked.
| Setting | Value | Why |
|---|---|---|
Context window size | 1022976 | Agent Zero trims chat history to fit this number. |
Supports Vision | on | Turn it on only for a model that takes images. |
Good to know
- One task makes several requests: each tool step is a new turn, and the Utility model writes the chat title. Memory, when switched on, adds requests to save and recall memories.
- The embedding model stays local (
sentence-transformers/all-MiniLM-L6-v2on CPU), which is right: Shannon has no embeddings endpoint. - The model must follow Agent Zero's JSON tool format; Shannon models that call tools do.
Tips
- Use Edit Presets to keep Shannon in its own preset; the Model preset menu then switches every new chat between Shannon and other setups in one click.
- The API key for Other OpenAI compatible is shared by every slot that uses that provider; External Services → API Keys also takes several keys separated by commas and rotates through them.
- Files the agent writes land in
/a0/usr/workdirinside the container; mount the/a0/usrvolume to keep them, along with settings and chats, across updates. - Switch off plugins you do not need under Plugins, such as Memory, to cut background requests; Chat Naming is always on and asks the Utility model for a title.
- Set UI Login and UI Password under Settings → External Services → Authentication before you open the web UI to anyone else.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| The chat asks you to finish onboarding or set up a model | The active preset still names a provider without a key, such as the bundled OpenRouter defaults. | Set both Main Model and Utility Model of the selected preset to Other OpenAI compatible and save. |
| Requests fail right after you switch to Other OpenAI compatible | API base URL under Advanced Settings is empty, so the slot has no Shannon address. | Enter https://api.shannon-ai.com/v1 in every slot that uses Shannon, Utility included. |
localhost addresses fail from inside the container | Inside Docker, localhost is the container itself. | Use the public https://api.shannon-ai.com/v1, or host.docker.internal for a proxy on the same machine. |
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 Agent Zero work with Shannon?
Yes. Choose Other OpenAI compatible in a model preset and set its API base URL to https://api.shannon-ai.com/v1.
Should the Utility model be a Shannon model too?
It can be the same id. The Utility model writes chat titles and summaries, so a smaller model saves balance if you have one.