Skip to content
NanoClaw

Personal and autonomous agents

Use NanoClaw with Shannon

Point NanoClaw's agents at Shannon's Anthropic-compatible endpoint with two lines in .env.

  • From the NanoClaw docs, Nov 7, 2026
  • Anthropic Messages
  • About 10 min

About NanoClaw

NanoClaw is a small, self-hosted personal assistant. Each agent runs in its own Docker container through the Claude Agent SDK, and talks to you through Slack, Telegram, Discord, WhatsApp or a local CLI channel. Because the agents speak the Anthropic Messages format, they can run on Shannon models through Shannon's Anthropic-compatible endpoint.

What you need

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

Set it up

  1. Install NanoClaw

    nanoclaw.sh installs Node, pnpm and Docker if needed, builds the agent container and pairs a first channel. Run it in a normal terminal; it asks questions as it goes.

    Shell
    git clone https://github.com/qwibitai/nanoclaw
    cd nanoclaw
    bash nanoclaw.sh
  2. Point the agents at Shannon

    Add these lines to .env in the NanoClaw folder. The base URL has no /v1: the Claude Agent SDK adds /v1/messages itself.

    .env
    ANTHROPIC_BASE_URL=https://api.shannon-ai.com
    ANTHROPIC_AUTH_TOKEN=YOUR_API_KEY
  3. Restart and send a message

    Restart the NanoClaw service so new agent containers start with the new settings, then message your agent on the channel you paired, or with pnpm run chat on the CLI channel.

    Shell
    pnpm run chat "Hello! Which model are you?"

Check that it works

Send: Hello! Which model are you?

You should see: A reply on your channel from the Shannon model you set.

Models that fit NanoClaw

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

  • NanoClaw's README calls the .env route a one-off experiment path; its supported path for other models is the /add-opencode skill, which can use Shannon's OpenAI-compatible endpoint at https://api.shannon-ai.com/v1 instead.
  • Credentials stay outside the containers: NanoClaw's credential gateway adds them to outgoing requests.
  • We have not run NanoClaw against Shannon yet; this guide follows NanoClaw's README, which documents only the two .env lines. The README does not say how to pick a model id on this route.

Tips

  1. Use a model with tool calls and a long window, such as one from the picker, since every agent works through tools.
  2. Different agent groups can use different backends, so you can try Shannon on one group first.
  3. bash nanoclaw.sh --uninstall --dry-run shows what an uninstall would remove.

Troubleshooting

SymptomCauseFix
404 on every request ANTHROPIC_BASE_URL ends in /v1. Use https://api.shannon-ai.com, without /v1.
401 The token did not reach the credential gateway, or the service was not restarted. Check .env and restart NanoClaw.
unknown model: claude-… The agent still asks for a Claude model id. Set the agent group's model to a Shannon id, or use the /add-opencode route, where the model is part of the provider config.
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 NanoClaw work with Shannon?

Its README documents ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN for any Claude API-compatible endpoint, which Shannon serves at https://api.shannon-ai.com/v1/messages.

Can I use the OpenAI format instead?

Yes, through NanoClaw's /add-opencode skill with Shannon as an OpenAI-compatible provider.

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