The AI agent that runs on your laptop, not a datacenter. OpenClaw alternative with one-command install.
Project description
🐾 PocketPaw
An AI agent that runs on your machine, not someone else's.
Self-hosted AI agent with a web dashboard. Talks to you over Discord, Slack, WhatsApp, Telegram, or the browser.
No subscription. No cloud lock-in. Your data stays on your machine.
⚠️ Beta: This project is under active development. Expect breaking changes between versions.
Quick Start
Via Desktop Installer
Sets up Python and PocketPaw in one click, then opens the dashboard.
| Platform | Download |
|---|---|
| Windows | PocketPaw-Setup.exe |
Install via Terminal
macOS / Linux
Prerequisites:
- Python 3.11 or higher (download here)
- pip package manager (included with Python)
Quick install:
pip install pocketpaw && pocketpaw
Recommended install (with virtual environment):
# 1. Verify Python version (must be 3.11+)
python3 --version
# 2. Upgrade pip to latest version
python3 -m pip install --upgrade pip
# 3. Create and activate virtual environment (optional but recommended)
python3 -m venv pocketpaw-env
source pocketpaw-env/bin/activate
# 4. Install PocketPaw
pip install pocketpaw
# 5. Run PocketPaw
pocketpaw
Or use the automated install script:
curl -fsSL https://pocketpaw.xyz/install.sh | sh
Windows (PowerShell)
Prerequisites:
- Python 3.11 or higher (download here)
- pip package manager (included with Python)
- Ensure Python is added to PATH during installation
Automated installer:
powershell -NoExit -Command "iwr -useb https://pocketpaw.xyz/install.ps1 | iex"
Manual install with pip:
# 1. Verify Python version (must be 3.11+)
python --version
# 2. Upgrade pip to latest version
python -m pip install --upgrade pip
# 3. Create and activate virtual environment (optional but recommended)
python -m venv pocketpaw-env
.\pocketpaw-env\Scripts\Activate.ps1
# 4. Install PocketPaw
pip install pocketpaw
# 5. Run PocketPaw
pocketpaw
[!TIP] First Run: After opening the dashboard, the system health may show UNHEALTHY — this is expected if no API key is configured. The app itself is running correctly; only AI features are disabled. Go to Settings > API Keys to add your key, or use Ollama for free local inference.
Note: Some features (browser automation, shell tools) work best under WSL2. Native Windows support covers the web dashboard and all LLM chat features.
If you installed PocketPaw using:
pip install pocketpaw
and the pocketpaw command is not recognized:
'pocketpaw' is not recognized as an internal or external command
This usually means your Python Scripts directory is not added to PATH.
By default, it is located at:
C:\Users\<your-username>\AppData\Local\Python\Python3.XX\Scripts
You can find your exact Scripts path by running:
python -c "import sysconfig; print(sysconfig.get_path('scripts'))"
How to Fix
- Open Start → Search "Environment Variables"
- Click "Edit the system environment variables"
- Click "Environment Variables"
- Under User variables → Select
Path→ Click Edit - Add the Scripts directory path
- Restart your terminal
Alternatively, you can run PocketPaw using:
python -m pocketpaw
Other methods
pipx install pocketpaw && pocketpaw # Isolated install
uvx pocketpaw # Run without installing
# From source
git clone https://github.com/pocketpaw/pocketpaw.git
cd pocketpaw && uv run pocketpaw
Docker
git clone https://github.com/pocketpaw/pocketpaw.git && cd pocketpaw
cp .env.example .env
docker compose up -d
Dashboard at http://localhost:8888. Get the access token:
docker exec pocketpaw cat /home/pocketpaw/.pocketpaw/access_token
Agent-created files appear in ./workspace/ on the host. Optional profiles: --profile ollama (local LLMs), --profile qdrant (vector memory). Using Ollama on the host? Set POCKETPAW_OLLAMA_HOST=http://host.docker.internal:11434 in .env.
The web dashboard opens at http://localhost:8888. From there you can connect Discord, Slack, WhatsApp, or Telegram.
Features
| 📡 9+ Channels | Web Dashboard, Discord, Slack, WhatsApp, Telegram, Signal, Matrix, Teams, Google Chat |
| 🧠 6 Agent Backends | Claude Agent SDK, OpenAI Agents, Google ADK, Codex CLI, OpenCode, Copilot SDK |
| 🛠️ 50+ Tools | Browser, web search, image gen, voice/TTS/STT, OCR, research, delegation, skills |
| 🔌 Integrations | Gmail, Calendar, Google Drive & Docs, Spotify, Reddit, MCP servers |
| 💾 Memory | Long-term facts, session history, smart compaction, Mem0 semantic search |
| 🔒 Security | Guardian AI, injection scanner, tool policy, plan mode, audit log, self-audit daemon |
| 🏠 Local-First | Runs on your machine. Ollama for fully offline operation. macOS / Windows / Linux. |
Examples
You: "Every Sunday evening, remind me which recycling bins to put out"
Paw: Done. I'll check the recycling calendar and message you every Sunday at 6pm.
You: "Find that memory leak, the app crashes after 2 hours"
Paw: Found it. The WebSocket handler never closes connections. Here's the fix.
You: "I need a competitor analysis report for our product launch"
Paw: 3 agents working on it. I'll ping you when it's ready.
Architecture
Everything goes through an event-driven message bus. Channels publish messages, the AgentLoop picks them up and routes to whichever backend you've configured. All six backends implement the same AgentBackend protocol, so swapping one for another doesn't touch the rest of the system.
Agent Backends
| Backend | Key | Providers | MCP |
|---|---|---|---|
| Claude Agent SDK (Default) | claude_agent_sdk |
Anthropic, Ollama | Yes |
| OpenAI Agents SDK | openai_agents |
OpenAI, Ollama | No |
| Google ADK | google_adk |
Google (Gemini) | Yes |
| Codex CLI | codex_cli |
OpenAI | Yes |
| OpenCode | opencode |
External server | No |
| Copilot SDK | copilot_sdk |
Copilot, OpenAI, Azure, Anthropic | No |
Security
A secondary LLM (Guardian AI) reviews every tool call before it runs. On top of that: injection scanning, configurable tool policies, plan mode for human approval, --security-audit CLI, a self-audit daemon, and an append-only audit log. Details in the docs.
Detailed security architecture
Configuration
Settings live in ~/.pocketpaw/config.json. You can also use POCKETPAW_-prefixed env vars or the dashboard Settings panel. API keys are encrypted at rest.
export POCKETPAW_ANTHROPIC_API_KEY="sk-ant-..." # Required for Claude SDK backend
export POCKETPAW_AGENT_BACKEND="claude_agent_sdk" # or openai_agents, google_adk, etc.
Note: An Anthropic API key from console.anthropic.com is required for the Claude SDK backend. OAuth tokens from Claude Free/Pro/Max plans are not permitted for third-party use. For free local inference, use Ollama instead.
See the full configuration reference for all settings.
Development
Prerequisites:
- Python 3.11 or higher (download here)
- uv package manager
Install uv:
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# Or via pip
pip install uv
Windows Note: After installing
uvvia the PowerShell script, you may need to restart your terminal for theuvcommand to be recognized. The installer addsuvtoC:\Users\<your-username>\.local\binand updates your PATH, but the current session won't reflect this change until you open a new terminal window.If you want to use
uvimmediately without restarting, run:$env:Path = "$env:USERPROFILE\.local\bin;$env:Path"Verify the installation:
uv --version
Setup and run:
# 1. Verify Python version
python3 --version
# 2. Clone and enter the repository
git clone https://github.com/pocketpaw/pocketpaw.git && cd pocketpaw
# 3. Install with dev dependencies
uv sync --dev
# 4. Run PocketPaw in development mode (auto-reload)
uv run pocketpaw --dev
# 5. Run tests
uv run pytest # Run tests (2000+)
# 6. Lint & format
uv run ruff check . && uv run ruff format .
Optional extras
pip install pocketpaw[openai-agents] # OpenAI Agents backend
pip install pocketpaw[google-adk] # Google ADK backend
pip install pocketpaw[discord] # Discord
pip install pocketpaw[slack] # Slack
pip install pocketpaw[memory] # Mem0 semantic memory
pip install pocketpaw[all] # Everything
Documentation
pocketpaw.xyz covers getting started, backends, channels, tools, integrations, security, memory, and the full API reference.
Star History
Contributors
Join the Pack
- Twitter: @prakashd88
- Discord: dsc.gg/pocketpaw
- Email: pocketpawai@gmail.com
PRs welcome. Come build with us.
License
MIT © PocketPaw Team
Built for people who'd rather own their AI than rent it
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pocketpaw-0.4.5.1.tar.gz.
File metadata
- Download URL: pocketpaw-0.4.5.1.tar.gz
- Upload date:
- Size: 44.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fce2e4b9789fe12cde8b8ff60c304d6f73188300e79eaacfcbac967882022393
|
|
| MD5 |
b171e1018d42c44c4c226c2b1081dbab
|
|
| BLAKE2b-256 |
a9e084dc7795285c8ca5a9081de1be29a1f74cab291a4cb2f12283148191d596
|
Provenance
The following attestation bundles were made for pocketpaw-0.4.5.1.tar.gz:
Publisher:
publish.yml on pocketpaw/pocketpaw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pocketpaw-0.4.5.1.tar.gz -
Subject digest:
fce2e4b9789fe12cde8b8ff60c304d6f73188300e79eaacfcbac967882022393 - Sigstore transparency entry: 1018055568
- Sigstore integration time:
-
Permalink:
pocketpaw/pocketpaw@3f6ef5343b3fa8a08759ba54cd008ae9850a0131 -
Branch / Tag:
refs/tags/v0.4.5.1 - Owner: https://github.com/pocketpaw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3f6ef5343b3fa8a08759ba54cd008ae9850a0131 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pocketpaw-0.4.5.1-py3-none-any.whl.
File metadata
- Download URL: pocketpaw-0.4.5.1-py3-none-any.whl
- Upload date:
- Size: 661.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b0432966fe7f51f29f1f4174e8583138d0b9249c0690d41670f2a7d84cb8bf0
|
|
| MD5 |
bff68710be34aabc4536bae22e7cbe3b
|
|
| BLAKE2b-256 |
d56020ba6691a16f7b4fdb2637e29a82df31be397349210ab50d7108d7cf6ddb
|
Provenance
The following attestation bundles were made for pocketpaw-0.4.5.1-py3-none-any.whl:
Publisher:
publish.yml on pocketpaw/pocketpaw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pocketpaw-0.4.5.1-py3-none-any.whl -
Subject digest:
9b0432966fe7f51f29f1f4174e8583138d0b9249c0690d41670f2a7d84cb8bf0 - Sigstore transparency entry: 1018055575
- Sigstore integration time:
-
Permalink:
pocketpaw/pocketpaw@3f6ef5343b3fa8a08759ba54cd008ae9850a0131 -
Branch / Tag:
refs/tags/v0.4.5.1 - Owner: https://github.com/pocketpaw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@3f6ef5343b3fa8a08759ba54cd008ae9850a0131 -
Trigger Event:
release
-
Statement type: