Metadata-Version: 2.4
Name: pocketpaw
Version: 0.2.0
Summary: The AI agent that runs on your laptop, not a datacenter. OpenClaw alternative with one-command install.
Project-URL: Homepage, https://github.com/pocketpaw/pocketpaw
Project-URL: Repository, https://github.com/pocketpaw/pocketpaw
Project-URL: Issues, https://github.com/pocketpaw/pocketpaw/issues
Project-URL: Documentation, https://github.com/pocketpaw/pocketpaw#readme
Project-URL: Twitter, https://twitter.com/PocketPawAI
Author-email: PocketPaw Team <hello@pocketpaw.ai>
License-Expression: MIT
License-File: LICENSE
Keywords: agent,ai,anthropic,assistant,automation,browser,llm,local-first,ollama,openai,privacy,self-hosted,telegram
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Home Automation
Classifier: Topic :: Internet :: WWW/HTTP :: Browsers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: anthropic>=0.18.0
Requires-Dist: apscheduler>=3.10.0
Requires-Dist: fastapi>=0.109.0
Requires-Dist: httpx>=0.26.0
Requires-Dist: open-interpreter>=0.2.0
Requires-Dist: openai>=1.10.0
Requires-Dist: pillow>=10.0.0
Requires-Dist: playwright>=1.40.0
Requires-Dist: psutil>=5.9.0
Requires-Dist: pyautogui>=0.9.54
Requires-Dist: pydantic-settings>=2.1.0
Requires-Dist: pydantic>=2.5.0
Requires-Dist: python-dateutil>=2.8.0
Requires-Dist: python-multipart>=0.0.22
Requires-Dist: python-telegram-bot>=21.0
Requires-Dist: qrcode[pil]>=7.4
Requires-Dist: rich>=13.0.0
Requires-Dist: uvicorn[standard]>=0.27.0
Provides-Extra: dev
Requires-Dist: mypy>=1.8.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Description-Content-Type: text/markdown

# 🐾 PocketPaw

> **Hi, I'm PocketPaw! The AI agent that lives on YOUR laptop, not some corporate datacenter.**

[![PyPI version](https://img.shields.io/pypi/v/pocketpaw.svg)](https://pypi.org/project/pocketpaw/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.11+](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![Downloads](https://img.shields.io/pypi/dm/pocketpaw.svg)](https://pypi.org/project/pocketpaw/)

I'm your self-hosted, cross-platform personal AI agent. You talk to me through **Telegram**, and I do the work on your computer. Unlike those fancy cloud AIs, I run on _your_ machine, respect _your_ privacy, and I'm always here - even on that dusty laptop in your closet.

**No subscription. No cloud lock-in. Just you and me.**

---

## 🎬 What Can I Do?

```
You: "Find all the PDFs in my Downloads and organize them by date"
Me:  *runs commands, moves files around*
Me:  "Done! I moved 23 PDFs into dated folders. Your Downloads is clean now!"

You: "Go to GitHub and star the PocketPaw repo"
Me:  *opens browser, navigates, clicks star*
Me:  "Starred! Thanks for the support 🐾"

You: "What's eating up my disk space?"
Me:  *analyzes filesystem*
Me:  "Found it! You have 47GB of node_modules. Want me to clean them up?"
```

---

## ✨ Features

| Feature | Description |
|---------|-------------|
| 🔋 **Sleep Mode** | I use near-zero CPU when idle, wake instantly on your message |
| 🔒 **Local-First** | I run on YOUR machine. Your data never leaves your computer |
| 🌐 **Browser Control** | I can browse the web, fill forms, click buttons for you |
| 🧠 **Dual Agent Backend** | Open Interpreter or Claude Code - your choice |
| 🤖 **Multi-LLM** | Ollama (100% local), OpenAI, or Anthropic |
| 📱 **Telegram-First** | Control me from anywhere, no port forwarding needed |
| 🖥️ **Cross-Platform** | macOS, Windows, Linux - I go where you go |
| 🛡️ **Guardian AI** | Built-in safety checks before running dangerous commands |

---

## 🚀 One-Command Install

### Option 1: pip (Recommended)
```bash
pip install pocketpaw
pocketpaw
```

### Option 2: pipx (Isolated Install)
```bash
pipx install pocketpaw
pocketpaw
```

### Option 3: uvx (Run Without Installing)
```bash
uvx pocketpaw
```

### Option 4: From Source
```bash
git clone https://github.com/pocketpaw/pocketpaw.git
cd pocketpaw
uv run pocketpaw
```

**That's it!** No Docker. No config files. No YAML. No dependency hell.

I'll automatically:
1. Set up everything I need
2. Open your browser for quick Telegram setup
3. Be ready to help in 30 seconds!

---

## 🌐 Browser Superpowers (New!)

I can control a web browser for you! I see pages as a semantic tree and can:

- **Navigate** to any URL
- **Click** buttons and links
- **Type** into forms
- **Scroll** through pages
- **Take screenshots**

```
You: "Log into my GitHub and check my notifications"
Me:  *navigates to GitHub, sees login form*
Me:  "I see the login page. I found: textbox [ref=1], password field [ref=2],
      and Sign In button [ref=3]. Should I proceed?"
```

I use your existing Chrome if you have it - no extra downloads. If you don't have Chrome, I'll download a small browser automatically on first use.

---

## 🤖 Agent Backends

### Open Interpreter (Default)
Works with any LLM. I can run shell commands and Python code.

### Claude Code
Uses Anthropic's computer use. I can see your screen and control GUI apps.

Switch anytime in settings!

---

## ⚙️ Configuration

I store my config in `~/.pocketclaw/config.json`:

```json
{
  "telegram_bot_token": "your-bot-token",
  "allowed_user_id": 123456789,
  "agent_backend": "open_interpreter",
  "llm_provider": "ollama",
  "ollama_model": "llama3.2"
}
```

Or use environment variables:

```bash
export POCKETCLAW_ANTHROPIC_API_KEY="sk-ant-..."
export POCKETCLAW_AGENT_BACKEND="claude_code"
```

---

## 🛠️ Telegram Controls

| Button | What I Do |
|--------|-----------|
| 🟢 **Status** | Show you CPU, RAM, disk, battery info |
| 📁 **Fetch** | Browse and download files from your computer |
| 📸 **Screenshot** | Capture what's on your screen |
| 🧠 **Agent Mode** | Toggle my autonomous thinking |
| 🛑 **Panic** | Emergency stop - I'll halt immediately |
| ⚙️ **Settings** | Switch my brain (LLM) or capabilities |

---

## 🔐 Security

I take your safety seriously:

- **Single User Lock** — Only YOU can control me
- **File Jail** — I stay within allowed directories
- **Guardian AI** — I check dangerous commands before running them
- **Panic Button** — You can stop me instantly, always
- **Local LLM Option** — Use Ollama and I'll never phone home

---

## 🧑‍💻 Development

Want to make me better? Here's how:

```bash
# Clone
git clone https://github.com/pocketpaw/pocketpaw.git
cd pocketpaw

# Install with dev tools
uv sync --dev

# Run my tests
uv run pytest

# Check my code style
uv run ruff check .
```

---

## 🤝 Join the Pack

- 🐦 Twitter: [@PocketPawAI](https://twitter.com/PocketPawAI)
- 💬 Discord: [Coming Soon]
- 📧 Email: hello@pocketpaw.ai

PRs welcome! Let's build the future of personal AI together.

---

## 📄 License

MIT © PocketPaw Team

---

<p align="center">
  <b>🐾 Made with love for humans who want AI on their own terms 🐾</b>
</p>
