A lightweight personal AI assistant framework
pip install shibaclaw==1.0.6 Copy PIP instructions
Self-hosted, security-first AI agent with a built-in web UI
Features · Quick Start · Security · Memory · Providers · Architecture · Channels · Troubleshooting
🌐 简体中文 · Español · Português (BR) · 日本語 · Deutsch · Français · Italiano
See CHANGELOG.md for the full release history.
ShibaClaw is a self-hosted AI agent you run on your own machine or server: a Python engine with a built-in web UI, native SDK support for 28 model providers, and 11 chat-platform integrations (Discord, Telegram, Slack, WhatsApp, Matrix, and more). It's built around three priorities — simplicity, security, and privacy — with defenses like install-time CVE auditing, prompt-injection wrapping, and SSRF protection shipped in the core engine instead of bolted on as external glue.
Requirements: Docker, or Python 3.12+ for the pip route. The Windows auto-installer needs neither — it ships a pre-built desktop app.
One command downloads the latest release, sets up shortcuts, and launches the UI.
irm https://github.com/RikyZ90/ShibaClaw/releases/latest/download/install.ps1 | iex 🐧 Linux / 🍎 macOS:
curl -fsSL https://github.com/RikyZ90/ShibaClaw/releases/latest/download/install.sh | bash Docker curl -fsSL https://raw.githubusercontent.com/RikyZ90/ShibaClaw/main/docker-compose.yml -o docker-compose.yml docker compose up -d # pulls from Docker Hub docker exec -it shibaclaw-gateway shibaclaw print-token Open http://localhost:3000, paste the token, and follow the onboarding wizard. Expose shibaclaw-web on your LAN (e.g. via reverse proxy) to reach it from your phone.
pip install shibaclaw shibaclaw web --with-gateway # starts WebUI + agent engine on :3000 Open http://localhost:3000 and follow the onboarding wizard, or run shibaclaw onboard for the CLI version of the same setup.
Defenses that are normally scattered across app glue or external proxies ship in the ShibaClaw core, on by default.
Every tool result is wrapped in a dynamically generated boundary with a randomized nonce (e.g. ), so an attacker can't prematurely close the tag or inject fake system instructions through tool output — the boundary is unpredictable per session.
ShibaClaw uses a three-tier memory architecture:
Proactive learning extracts and stores useful facts automatically, auto-compaction keeps context from overflowing, and sessions are stored as append-only JSONL for fast, cache-friendly logging.
ShibaClaw speaks the Model Context Protocol, so it can connect to any MCP-compliant server — Google Drive, Slack, GitHub, PostgreSQL, and more — without changing core code. Configure servers from the Settings panel.
For popular SaaS tools (Gmail, Google Drive, Slack, GitHub, Outlook...), ShibaClaw integrates with Klavis: one API key gets you one-click OAuth connections instead of manually registering an OAuth app with each provider. Connected apps are auto-registered as MCP servers in the active session.
ShibaClaw uses native SDKs — no LiteLLM proxy — and resolves the provider from the selected model or a provider-prefixed model ID. All configured provider catalogs are merged into one searchable list in the WebUI.
¹ Setting GEMINI_API_KEY is sufficient — the OpenAI-compatible endpoint is pre-configured.
Gateway / proxy — OpenRouter, AiHubMix, SiliconFlow, VolcEngine, BytePlus, auto-detected by key prefix or api_base.
Local — Ollama, LM Studio, llama.cpp, vLLM, or any OpenAI-compatible endpoint.
For OpenRouter, the callback reuses the current WebUI URL and port by default, so http://localhost:3000 is not a dedicated OAuth-only port. If you expose the WebUI behind a reverse proxy or need a different public callback origin, set SHIBACLAW_OPENROUTER_CALLBACK_BASE_URL=https://your-public-webui-host before starting the server.
ShibaClaw performs exceptionally well even without expensive API usage:
For zero-cost usage, OpenRouter's free tier (e.g. nvidia/nemotron-3-super-120b-a12b:free) and the GitHub Copilot OAuth integration (unlimited access to models like raptor) both work well without a paid API key.
Both share the ~/.shibaclaw/ volume (config, workspace, memory, automation jobs, media cache). shibaclaw web alone runs agent + WebUI + automations in a single process, no gateway container needed.
Stack — Uvicorn/Starlette (ASGI), native WebSocket, vanilla JS + Marked.js + Highlight.js frontend, JSONL append-only sessions.
Resource usage — ~120 MB idle / ~350 MB peak per component (gateway, WebUI). Docker Compose caps each container at 512 MB / 256 MB reservation; tool output streams with bounded buffers so long-running commands can't blow up memory.
shibaclaw web # Start WebUI (agent + automations in-process) shibaclaw gateway # Start gateway only (for Docker split) shibaclaw onboard # CLI-based first-time setup wizard shibaclaw agent -m "Hello" # One-shot message via terminal shibaclaw agent # Interactive REPL with history shibaclaw status # Provider, workspace, OAuth health check shibaclaw print-token # Show WebUI auth token shibaclaw channels status # List enabled channels shibaclaw provider login # OAuth login (github-copilot, openai-codex) shibaclaw desktop # Launch Windows desktop app Channels Channel Type Notes WebUI Built-in Primary interface, full feature access Discord Bot Rich embeds, slash commands, attachments Telegram Bot Inline keyboards, media, reply markup WhatsApp Plugin Via WhatsApp Web Slack Bot Block kit, threads, app mentions DingTalk Bot Enterprise messaging Feishu/Lark Bot Rich cards, interactive elements QQ Bot Group & private messages WeCom Bot Workplace communication Matrix Bot Decentralized, E2E encryption MoChat Bot WeChat ecosystem Each channel is configured independently in WebUI Settings and supports hot-reload on config changes.
ShibaClaw discovers plugins via Python entry points:
Built-in: shibaclaw-channel-whatsapp (WhatsApp Web) and shibaclaw-tts-supertonic (free, offline ONNX speech synthesis, 31 languages). Install or remove plugins from WebUI Settings > Plugins, with hot-reload and version pinning. See docs/PLUGINS_DEVELOPMENT_GUIDE.md to build your own.
The built-in Supertonic engine runs offline on ONNX (no PyTorch dependency, CPU-only), supports 31 languages with F1/M1 voice profiles and adjustable speed, and plays back through an in-browser widget. Enable it in WebUI Settings > TTS.
Background tasks run on cron-like schedules or event triggers (messages, webhooks, system events), in isolated sessions that don't pollute chat history. Manage, monitor, and view logs from the Automations panel; jobs persist across restarts via JSONL storage.
Local, privacy-first retrieval-augmented generation: organize documents into named collections (PDF, CSV, HTML, TXT, Markdown), upload via drag-and-drop, and search with a FAISS index over all-MiniLM-L6-v2 embeddings. The agent can call knowledge_search during conversation, or you can target a specific collection with @kb:name. It's an optional dependency — install with pip install shibaclaw[rag].
See CONTRIBUTING.md to contribute and CHANGELOG.md for release history.
all-channels audit desktop dev dingtalk feishu full matrix mochat qq rag rag-local server slack wecom windows-native
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.




