Files
Rohit Kushwaha 5e4d82c570 docs: fold per-agent soul routing into enterprise agent chat spec
Current AgentLoop unconditionally observes into the process-global
default PocketPaw soul, so cloud chats with specific agents evolve
the wrong soul. Spec now routes soul observe + self-eval to the
target agent's SoulManager via AgentPool and gates the global
observe behind a per-run flag (default off in OSS).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 13:39:32 +05:30
..
2026-03-10 18:16:41 +05:30

PocketPaw Documentation

The official documentation for PocketPaw — a self-hosted AI agent with a native desktop app, controlled via Telegram, Discord, Slack, WhatsApp, Signal, Matrix, Teams, Google Chat, or a web dashboard.

Live site: pocketpaw.xyz

Stack

Built with Lito Docs — an open-source tool that converts Markdown/MDX into beautiful, searchable documentation sites with zero configuration. Lito provides the Astro-based SSG, Pagefind search, 20+ MDX components, and light/dark theming out of the box.

Structure

docs/
├── docs-config.json          # Site config (nav, branding, SEO, search)
├── _landing/                  # Custom HTML/CSS landing page
├── public/                    # Static assets (logos, OG images)
├── introduction/              # Welcome & overview
├── getting-started/           # Install, quick-start, config, project structure
├── desktop-client/            # Desktop app overview, installation, development, API server
├── concepts/                  # Architecture, message bus, agent loop, memory, tools, security
├── channels/                  # 9+ channel guides (Telegram, Discord, Slack, WhatsApp, etc.)
├── backends/                  # Claude Agent SDK, OpenAI Agents, Google ADK, Codex CLI, OpenCode, Copilot SDK
├── tools/                     # 50+ built-in tools
├── integrations/              # OAuth, Gmail, Calendar, Drive, Docs, Spotify, Reddit, MCP
├── security/                  # Guardian AI, injection scanner, audit log/CLI/daemon
├── memory/                    # File store, Mem0, sessions, context building, isolation
├── advanced/                  # Model router, plan mode, scheduler, skills, Deep Work, Mission Control
├── deployment/                # Self-hosting, Docker, systemd
└── api/                       # 39 REST endpoint docs + WebSocket protocol

client/                        # Desktop app source (Tauri 2.0 + SvelteKit)
├── CLAUDE.md                  # Client architecture and dev conventions
├── src/                       # SvelteKit frontend (Svelte 5 + Tailwind CSS 4 + shadcn-svelte)
└── src-tauri/                 # Rust backend (system tray, shortcuts, multi-window)

Local Development

No package.json or Astro config needed — Lito handles everything.

Preview

npx --yes @litodocs/cli dev -i .

Build

npx --yes @litodocs/cli build -i .

Output goes to ./dist/.

Deployment

The site auto-deploys to GitHub Pages on push to main via the workflow in .github/workflows/deploy-docs.yml.

To deploy manually, build and upload the dist/ folder to any static hosting provider (Vercel, Netlify, Cloudflare Pages, etc.).

Adding Pages

  1. Create an .mdx file in the appropriate directory with YAML frontmatter:
    ---
    title: Page Title
    description: "A 150-160 character description with front-loaded keywords."
    section: Section Name
    ogType: article
    keywords: ["keyword1", "keyword2", "keyword3"]
    tags: ["tag1", "tag2"]
    ---
    
    Content here...
    
  2. Add the page to the navigation.sidebar array in docs-config.json.

MDX Components

Provided by Lito — no local definitions needed:

Component Usage
<Card>, <CardGroup> Feature cards with icons and links
<Steps>, <Step> Numbered step sequences
<Tabs>, <Tab> Tabbed content blocks
<Callout> Info/warning/tip callouts
<ResponseField> API field documentation
<RequestExample>, <ResponseExample> API example blocks

License

MIT