Skip to content
PicoClaw

Personal and autonomous agents

Use PicoClaw with Shannon

Add a Shannon entry to PicoClaw's model_list with the openai provider and api_base, make it the default, and chat from the terminal or a channel.

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

About PicoClaw

PicoClaw is a very small personal assistant written in Go by Sipeed, built to run on cheap boards and old phones as well as servers. It works from the terminal and chat apps, with tools for files, shell and the web. Models come from a model_list, where any OpenAI-compatible endpoint can be added, including Shannon.

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. Create the config

    picoclaw onboard writes ~/.picoclaw/config.json and the workspace.

    Shell
    picoclaw onboard
  2. Add Shannon to model_list

    With provider set, PicoClaw sends model unchanged to that provider; api_base points the openai provider at Shannon. model_name is the name the agent refers to.

    ~/.picoclaw/config.json
    {
      "agents": {
        "defaults": { "model_name": "Kimi-K3-uncensored-NVFP4" }
      },
      "model_list": [
        {
          "model_name": "Kimi-K3-uncensored-NVFP4",
          "provider": "openai",
          "model": "Kimi-K3-uncensored-NVFP4",
          "api_base": "https://api.shannon-ai.com/v1",
          "api_keys": ["YOUR_API_KEY"]
        }
      ]
    }
  3. Send a message

    Shell
    picoclaw agent -m "Create a file hello.txt in your workspace that says: the brown dog digs."
    PicoClaw in a terminal on the Shannon model shannon-coder-1: it reports writing hello.txt and the file holds the sentence
    A real run on PicoClaw 0.3.1 with the model_list entry 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 in the terminal.

Models that fit PicoClaw

Every id below meets what PicoClaw 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

Good to know

  • PicoClaw's docs keep keys in ~/.picoclaw/.security.yml once an old config is migrated. A key written by hand into a current config.json stayed there in our test; keep the file private.
  • The older "model": "openai/<id>" form without provider still works; with provider set, model is the plain Shannon id.
  • Streaming is off unless both the model entry and the channel turn it on.

Tips

  1. List several Shannon ids in model_list and use fallbacks on an entry to fail over between them.
  2. rpm on an entry caps requests per minute, which helps on a small board that runs many jobs.
  3. picoclaw gateway connects the same agent to Telegram, Discord and other channels.

Troubleshooting

SymptomCauseFix
404 Not Found api_base lacks /v1. Use https://api.shannon-ai.com/v1.
model not found at start agents.defaults.model_name does not match a model_name in the list. Use the same name in both places.
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 PicoClaw work with Shannon?

Yes, as a model_list entry with provider: openai and api_base: https://api.shannon-ai.com/v1.

Can it run on a Raspberry Pi?

Yes; the model runs on Shannon, so the board only runs PicoClaw itself.

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