Quick Start

This guide gets you from zero to a working AI agent in under 5 minutes.

Step 1: Install

Terminal window
curl -fsSL https://pocketpaw.xyz/install.sh | sh

Step 2: Set Your API Key

Terminal window
export POCKETCLAW_ANTHROPIC_API_KEY="sk-ant-your-key-here"

Step 3: Launch

Terminal window
pocketpaw

This starts the web dashboard at http://localhost:8000. Open it in your browser.

Step 4: Chat

Type a message in the chat input and press Enter. PocketPaw will process it through the Claude Agent SDK and stream the response back in real-time.

Try these example prompts:

  • “What files are in my home directory?”
  • “Write a Python script that calculates prime numbers”
  • “Search the web for the latest news about AI”

Running Headless Channels

You can also run PocketPaw as a headless bot on specific channels:

Terminal window
# Telegram only (legacy pairing flow)
pocketpaw --telegram
# Discord only
pocketpaw --discord
# Slack only
pocketpaw --slack
# Multiple channels
pocketpaw --discord --slack --whatsapp
# All configured channels
pocketpaw # Default web dashboard auto-starts configured adapters

Configuring a Telegram Bot

Create a bot with BotFather

Open Telegram, search for @BotFather, send /newbot, and follow the prompts. Copy the token.

Set the token

Terminal window
export POCKETCLAW_TELEGRAM_TOKEN="your-bot-token"

Start in Telegram mode

Terminal window
pocketpaw --telegram

Chat with your bot

Open Telegram, find your bot, and start chatting.

Configuring Discord

Create a Discord application

Go to the Discord Developer Portal, create a new application, and add a bot.

Set the token

Terminal window
export POCKETCLAW_DISCORD_BOT_TOKEN="your-discord-token"

Invite the bot

Generate an invite URL with the bot and applications.commands scopes. Add it to your server.

Start

Terminal window
pocketpaw --discord

Using the Web Dashboard

The web dashboard is the default mode and provides:

  • Real-time chat with streaming responses
  • Session management with history and search
  • Tool activity panel showing tool calls in real-time
  • Channel management to configure and toggle channels
  • Settings panel for all configuration options
  • MCP server management to add and configure MCP servers
  • Memory settings for configuring Mem0 and session storage

What’s Next?