Integrations

PocketPaw integrates with popular services to extend its capabilities beyond chat.

Available Integrations

Google Integrations Setup

All Google integrations (Gmail, Calendar, Drive, Docs) share the same OAuth framework:

Create Google Cloud project

Go to console.cloud.google.com and create a project.

Enable APIs

Enable the Gmail API, Calendar API, Drive API, and Docs API.

Create OAuth credentials

Create OAuth 2.0 client credentials (Desktop app type).

Configure PocketPaw

Terminal window
export POCKETCLAW_GOOGLE_CLIENT_ID="your-client-id"
export POCKETCLAW_GOOGLE_CLIENT_SECRET="your-secret"

Authorize

The first time you use a Google tool, PocketPaw will open a browser window for authorization.

Integration Architecture

┌──────────────────┐
│ OAuth Framework │ ← Token management, refresh, multi-provider
├──────────────────┤
│ Token Store │ ← ~/.pocketclaw/tokens/
├──────────────────┤
│ API Clients │ ← gmail.py, gcalendar.py, gdrive.py, etc.
├──────────────────┤
│ Tool Layer │ ← tools/builtin/gmail.py, calendar.py, etc.
├──────────────────┤
│ Tool Registry │ ← Registered with policy system
└──────────────────┘