Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
🐕 Self-hosted security-first AI agent · 28 providers · 11 chat channels · WebUI · 3-level memory · task-schedule · automation · skills · MCP
Fetched from the repository for this visit.
A self-hosted personal AI agent with a built-in WebUI. Use local or cloud models, with memory, tools and automations in one place.
For people who want a personal AI assistant they can install and operate on their own machine or server, with a UI and configurable tools ready to use.
Compare requirements in ShibaClaw vs OpenClaw, nanobot and Hermes Agent.
Requirements: Docker, or Python 3.12+ for the pip route. The Windows auto-installer needs neither — it ships a pre-built desktop app.
Choose the installer for your operating system, or use Docker or pip below.
[!TIP] Bring your own model: start with Ollama, an OpenAI-compatible endpoint, or a cloud provider such as OpenRouter. Model availability, pricing and limits depend on the provider.
🪟 Windows (PowerShell):
irm https://github.com/RikyZ90/ShibaClaw/releases/latest/download/install.ps1 | iex
Or download and open ShibaClaw-Setup.exe. The PowerShell command downloads the same setup, verifies its SHA256 against the GitHub release asset digest, and starts it.
🐧 Linux / 🍎 macOS:
curl -fsSL https://github.com/RikyZ90/ShibaClaw/releases/latest/download/install.sh | bash
[!NOTE] Windows setup installs per user and preserves existing data. Linux/macOS use pip in an isolated virtual environment. See Windows installation, updates and portable ZIP options.
curl -fsSL https://raw.githubusercontent.com/RikyZ90/ShibaClaw/main/docker-compose.yml -o docker-compose.yml
docker compose up -d # pulls from Docker Hub
Open http://localhost:3000, create your admin account on first launch (or sign in to an existing account), and follow the onboarding wizard. To reach it from your phone, configure authenticated access over your LAN, for example through an HTTPS reverse proxy.
pip install shibaclaw
shibaclaw web --with-gateway # starts WebUI + agent engine on :3000
Open http://localhost:3000, create your admin account on first launch and follow the onboarding wizard. shibaclaw onboard configures the agent and workspace from the CLI; WebUI account creation still happens in the browser.
If ShibaClaw is useful to you, consider starring the repository to help others discover it.
Demo · Why ShibaClaw? · Installation · Features · Integrations · Documentation
Providers · MCP · Memory · Security · Comparison · Architecture · Contributing · Releases
🌐 简体中文 · Español · Português (BR) · 日本語 · Deutsch · Français · Italiano
Translations retain their existing content; see the synchronization checklist for this README revision.
| Area | Included capabilities | Learn more |
|---|---|---|
| Agent runtime | Provider retries, durable tool journaling, context/resource guards, isolated or forked sub-agents | Project verification |
| Interactive WebUI | In-turn questions (ask_user), progress cards, masked credentials, permission controls | Demo |
| Memory and knowledge | Editable long-term memory, session history, reusable skills, optional document retrieval | Memory, RAG |
| AI automation | One-shot, interval and cron schedules; heartbeat tasks | Automations |
| Communication | WebUI and messaging integrations, including Discord, Telegram, Slack and Matrix | Channels |
| Extensions | MCP tools, channel and TTS plugins, opt-in self-evolution with validation gates | MCP, Plugins |
Security controls are part of the agent runtime. Their effectiveness depends on configuration, installed audit tools and the tools you authorize.
| Layer | What it does |
|---|---|
| Credential storage | Fernet-encrypted vault; encryption key in the OS keyring when available, with a restricted key-file fallback |
| Install-time audit | Checks recognized package-install commands; blocks findings at the configured severity when the audit completes. Missing tools, errors or timeouts can allow installation with a warning |
| Prompt-injection defenses | Randomized tool-output boundaries and pre-scanning of untrusted content |
| Shell hardening | Deny patterns, escape normalization, internal URL detection |
| Network guard | SSRF filtering, redirect revalidation, DNS-rebinding-safe resolution |
| Workspace sandbox | File tools and file browser restricted to the configured workspace by default |
| Access control | Admin username/password login, session-token authentication, channel allowlists, optional rate limiting |
Prompt-injection defenses reduce exposure to untrusted tool output; they cannot guarantee safe model behavior. Protect the host account and vault key, review tool permissions, and use authentication and HTTPS when exposing the WebUI beyond localhost. Using a cloud model or remote MCP service sends relevant content to that service.
[!TIP] Tool-output wrapping is also available as Muzzle. See the security policy for reporting and the implementation for current controls.
ShibaClaw keeps context at three levels:
USER.md, memory/MEMORY.md and memory/HISTORY.md, with fact extraction and ranked history searchThe WebUI exposes memory editing, the dream diary and quarantined entries; sessions are stored as append-only JSONL. The optional knowledge base adds FAISS document retrieval separately from these memory files.
ShibaClaw is an MCP agent: it connects to external tools using the Model Context Protocol and registers the tools returned by each configured server. Add servers in Settings; transport, authentication and tool behavior must be compatible with the server you choose.
Connected Apps integrates with Klavis for hosted OAuth connections and MCP servers. Available apps and access depend on your Klavis account. Review each server's permissions and data handling before connecting it.
For model setup, use the dedicated integration guides: OpenAI Codex, Claude, GitHub Copilot, OpenRouter and Ollama.
ShibaClaw uses provider-specific adapters and OpenAI-compatible endpoints, without a LiteLLM proxy. It resolves the provider from the selected model or a provider-prefixed model ID. Configured provider catalogs appear in the WebUI; the provider registry is the source of truth for supported routes.
API key
| Provider | Env variable |
|---|---|
| OpenAI | OPENAI_API_KEY |
| Anthropic | ANTHROPIC_API_KEY — see current authentication limitation |
| DeepSeek | DEEPSEEK_API_KEY |
| Google Gemini | GEMINI_API_KEY¹ |
| Groq | GROQ_API_KEY |
| Moonshot | MOONSHOT_API_KEY |
| MiniMax | MINIMAX_API_KEY |
| Zhipu AI | ZAI_API_KEY |
| DashScope | DASHSCOPE_API_KEY |
¹ 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.
[!NOTE] In Docker,
localhostpoints inside the container. On Docker Desktop, usehost.docker.internalto reach a host model server; native Linux needs a reachable host address or host-gateway mapping. See the Ollama networking instructions, including the required/v1API base.
Account connections — availability and permitted use depend on each provider's current terms and your account.
| Provider | Flow | Setup |
|---|---|---|
| OpenRouter | PKCE browser flow; returned API key saved in the credential vault | Setup guide |
| GitHub Copilot | Device flow with token refresh | CLI and WebUI setup |
| OpenAI Codex | PKCE browser flow | CLI and WebUI setup |
| Claude | Existing subscription OAuth compatibility path; provider restrictions apply | Requirements and caveats |
| Google Gemini CLI | PKCE browser flow, requires SHIBACLAW_GEMINI_OAUTH_CLIENT_ID and SHIBACLAW_GEMINI_OAUTH_CLIENT_SECRET env vars. Note: Unofficial third-party integration, Google may apply account restrictions. Use a separate account if this is a concern. | WebUI Settings |
The integration guides cover callback URLs, Docker networking, account limits and troubleshooting. A successful connection does not imply unlimited requests or access to every model.
Docker Compose
| Service | Role | Default port |
|---|---|---|
shibaclaw-gateway | Core agent loop, message bus, channel integrations and automations | 19999 (HTTP) · 19998 (WS) |
shibaclaw-web | WebUI (Starlette + WebSocket), proxy to the gateway | 3000 |
Both mount the host's ./.shibaclaw/ data directory at /root/.shibaclaw for config, workspace, memory, automation jobs and media. Outside Docker, shibaclaw web --with-gateway starts the gateway as a managed background process. shibaclaw web alone expects a running gateway.
Stack — Uvicorn/Starlette (ASGI), native WebSocket, vanilla JS + Marked.js + Highlight.js frontend, JSONL append-only sessions.
Container limits — the supplied Compose file sets a 512 MB limit / 256 MB reservation for the gateway, and a 128 MB limit / 64 MB reservation for the WebUI. These are configuration limits, not measured memory requirements; RAG and local model servers need their own capacity planning.
shibaclaw web # Start WebUI; requires a running gateway
shibaclaw gateway # Start gateway only (for Docker split)
shibaclaw onboard # CLI-based first-time setup wizard
shibaclaw agent "Hello" # One-shot message via terminal
shibaclaw agent # Interactive REPL with history
shibaclaw status # Provider, workspace, OAuth health check
shibaclaw channels status # List enabled channels
shibaclaw provider login <p># OAuth login (github-copilot, openai-codex)
shibaclaw desktop # Launch Windows desktop app
| 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 |
| Plugin | Via WhatsApp Web | |
| Slack | Bot | Block kit, threads, app mentions |
| DingTalk | Bot | Enterprise messaging |
| Feishu/Lark | Bot | Rich cards, interactive elements |
| 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:
BaseChannel, discoverable via shibaclaw.integrationsBaseTTS, discoverable via shibaclaw.ttsIncluded plugin projects: shibaclaw-channel-whatsapp (WhatsApp Web) and shibaclaw-tts-supertonic (local speech synthesis using Supertonic and ONNX Runtime). Manage plugin installation in WebUI Settings > Plugins. See the plugin development guide to build your own.
The Supertonic plugin synthesizes speech locally and downloads its model assets on first use. Select the engine, voice and language in the WebUI audio settings. Available voices and languages depend on the installed Supertonic model; see the plugin implementation.
Schedule one-shot, interval or cron tasks, or use heartbeat jobs that read a task file and decide whether to act. Manage jobs in the Automations panel; definitions and state persist in automation.json. Approval requirements and delivery destinations are configured per job. See the automation skill for examples of workflow automation.
Organize documents into named collections (PDF, CSV, HTML, TXT, Markdown), upload via the WebUI, and search a FAISS index. The agent can call knowledge_search, or you can target a collection with @kb:name.
Install the optional document stack with pip install shibaclaw[rag]. For local embeddings, use pip install "shibaclaw[rag-local]"; the default local model is all-MiniLM-L6-v2 and needs an initial model download. Cloud embedding providers require configuration and send document content to that provider.
| Problem | Try |
|---|---|
| General status check | shibaclaw status |
| Container logs | docker logs shibaclaw-gateway / docker logs shibaclaw-web |
| WebUI won't connect | Verify port binding, then sign in again; first launch requires admin account creation |
| Provider errors | shibaclaw status shows API key and OAuth state |
| Login fails after upgrading from v0.9.5 | Run shibaclaw reset-admin |
| Security policy | SECURITY.md |
Start with the documentation index, API reference, or DeepWiki code guide. To contribute, read CONTRIBUTING.md and the contribution ideas, including documentation, integrations, UI and tests.
ShibaClaw is licensed under Apache 2.0.
filelock and pypdf for optional RAG support and refresh the locked setuptools dependency.See the changelog for the full release history and GitHub Releases for downloads.
GitHub freshness not yet checked. Recently viewed repositories target hourly refresh.