Skip to main content

ShibaClaw

ShibaClaw

A self-hosted personal AI agent with a built-in WebUI. Use local or cloud models, with memory, tools and automations in one place.

version PyPI Downloads Docker pulls python Apache 2.0 License CI on main Ask DeepWiki

Demo

ShibaClaw WebUI demo on desktop ShibaClaw WebUI demo on mobile

Why ShibaClaw?

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.

  • One place to work — built-in WebUI, a Windows desktop launcher, and a mobile layout for access over your LAN.
  • Your choice of model — local LLMs through Ollama or an OpenAI-compatible server; cloud providers and documented OAuth integrations.
  • Persistent context — editable memory, reusable skills, and an optional document knowledge base.
  • Tools and MCP — file, shell and web tools, plus external tools through the Model Context Protocol.
  • Multi-agent tasks and automation — isolated or forked sub-agents, scheduled tasks, and optional project verification.
  • Security controls in the core — an encrypted credential vault, workspace restrictions, SSRF filtering and prompt-injection defenses. See their scope and limits.

Compare requirements in ShibaClaw vs OpenClaw, nanobot and Hermes Agent.

Quick Start

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.

🪟 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

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

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

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.

Explore

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.

Features

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

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.

Memory System

ShibaClaw keeps context at three levels:

  1. Working memory (per session) — rolling context with automatic summarization and token-aware truncation
  2. Long-term memory (cross-session) — editable USER.md, memory/MEMORY.md and memory/HISTORY.md, with fact extraction and ranked history search
  3. Procedural memory (skills & automations) — learned workflows saved as reusable skills, plus cron-like schedules

The 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.

MCP & Integrations

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.

Supported Providers

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.

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.

Architecture

ShibaClaw architecture

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.

CLI Reference

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

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.

Plugin System

ShibaClaw discovers plugins via Python entry points:

  • Channel plugins — implement BaseChannel, discoverable via shibaclaw.integrations
  • TTS plugins — implement BaseTTS, discoverable via shibaclaw.tts

Included 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.

Text-to-Speech

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.

Automation & Scheduling

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.

Knowledge Base (RAG)

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.

Troubleshooting

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

Documentation and Contributing

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.

If ShibaClaw is useful to you, consider supporting its development on GitHub Sponsors.

What's New

v1.1.3 — 2026-10-27
  • Provider endpoints — Configure multiple independently named endpoints, including local servers without API keys; save and enable each endpoint separately.
  • Model selection — Find endpoints in chat and Agent settings, enter custom model IDs, and return a chat to its default model.
  • Automation reliability — Preserve approvals, delivery settings and task instructions while scheduling, editing and deleting jobs.
v1.1.2 — 2026-10-25
  • Security fixes — Require patched filelock and pypdf for optional RAG support and refresh the locked setuptools dependency.
  • Reliable delegation and project checks — Background tasks keep their status across chat reconnects, distinguish execution from optional project verification, and show real exit codes, bounded logs, and check durations. See project verification for setup.
  • Chat rendering — Restores final responses and missed messages accurately, keeps active input intact when a background result arrives, and renders task details safely on desktop and mobile.
  • Windows installation — The PowerShell command downloads the per-user setup, verifies its SHA256, and launches it. First-launch startup keeps the native window responsive while the local service starts.

See the changelog for the full release history and GitHub Releases for downloads.

Metadata

Release files for shibaclaw 1.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shibaclaw 1.1.7
File Size Uploaded Provenance Actions
shibaclaw-1.1.7.tar.gz 21.8 MB With provenance Details for shibaclaw-1.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for shibaclaw 1.1.7
File Interpreter ABI Platform Actions
shibaclaw-1.1.7-py3-none-any.whl Python 3 none any Details for shibaclaw-1.1.7-py3-none-any.whl

Total release size: 43.7 MB

Release files / shibaclaw-1.1.7.tar.gz

Download URL shibaclaw-1.1.7.tar.gz
Size 21.8 MB
Tags Source
SHA-256 checksum
How to use checksums
5af826a7797107e570fb46e398a4dfffb132f0a367c55962fdda52cf9603826d
BLAKE2b-256 checksum
How to use checksums
b5bd05be5916e671efe4735741695b7664d2494194076e8b3a64f1d6c88af169
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Release files / shibaclaw-1.1.7-py3-none-any.whl

Download URL shibaclaw-1.1.7-py3-none-any.whl
Size 21.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
712a2006838dbea4abbdc5333b730fc0f34d5c03179118e6bf266df8c58abbc1
BLAKE2b-256 checksum
How to use checksums
6bf4850fe2769958c51a938e1edc98e258971c1fbbf52efdfc0b24c258c57d08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

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 Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for shibaclaw 1.1.7

Provenance

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for shibaclaw-1.1.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.7 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page