Skip to main content
OpenPaw

A Friendly LangChain/LangGraph Multi-Agent Runner

CI Docs Python 3.11+ License


Alpha Software -- OpenPaw is in active development and should be considered an alpha release. APIs, configuration formats, and behavior may change between versions. Contributions and feedback are welcome, but expect rough edges.

OpenPaw gives each agent its own workspace -- personality files, custom tools, scheduled tasks -- then gets out of the way. It handles the orchestration so you can focus on what your agents actually do.

Agents can ingest documents, browse the web, search the internet, delegate to specialist sub-agents, and manage their own files -- making them well-suited for research, information processing, and long-running autonomous workflows. Give them a schedule and they'll check in on their own.

Read the full documentation

Highlights

Composable sub-agent teams

Every primary agent is a team lead. Drop a YAML into agent/team/ and your agent gains a teammate it can dispatch with spawn_agent(profile="researcher"):

name: researcher
description: "Web research specialist — searches, cross-references, and cites sources."
system_prompt: |
  You are a focused research specialist. Search, cross-reference, and
  summarize findings with source citations.
model: anthropic:claude-sonnet-4-20250514
allowed_tools: [brave_search, read_file, write_file]
timeout_minutes: 10
max_turns: 20

Each teammate gets its own model, tool loadout, skill set, and lifecycle budget. Run several in parallel -- the parent dispatches, they work, results route back when they finish.

Live in-place status updates

Both your primary agent and every sub-agent maintain a single status message that edits in place as work progresses. No chat flood, no scroll-back -- just a live, current view of who's doing what right now. Get actionable insight into your agent teams at a glance. Agents can also call report_progress to announce structured milestones with their own emoji.

Mid-run responsiveness

Send a follow-up while the agent is mid-task and it sees it. Steer the run ("🔄 Redirecting..."), interrupt completely ("🛑 Stopping..."), or let messages batch quietly ("📨 New messages received..."). One-line emoji notifications keep you in the loop without breaking the agent's flow.

Typing indicators run while the agent is processing; emoji reactions on your original message track success (👍) or failure (👎).

Channels

Telegram + Discord, simultaneously -- One workspace, multiple channels. Trigger-based activation (mentions, keywords, or both) lets agents respond appropriately in group chats. On-demand channel history gives them awareness of recent conversation when triggered.

Workspace identity

Each agent gets its own SOUL (personality), AGENT (capabilities), USER (context), and HEARTBEAT (agent-writable scratchpad) files, plus a sandboxed filesystem. config/ and data/ are write-protected from the agent itself; everything else lives under workspace/.

Skills -- Reusable knowledge blocks (SKILL.md) drop into the workspace and can be selectively granted to specific team members.

Tools that do real work

  • Document processing -- Docling OCR/ICR turns scanned PDFs, DOCX, and PPTX into markdown automatically. Whisper transcribes voice messages on arrival.
  • Browser automation -- Playwright-driven web interaction via the accessibility tree. Agents reference elements by number, not CSS selectors.
  • Email integration -- Send and receive via Gmail with safe-by-default recipient policies. Search, reply with threading, manage attachments.
  • MCP servers -- Connect any MCP-compatible service (local stdio or remote Streamable HTTP) per workspace. Tools flow into the agent alongside builtins.
  • Deep research -- Connect to a self-hosted GPT-Researcher instance for multi-source reports with citations.
  • Web search -- Brave Search and other providers for direct search-and-summarize.
  • Drop-in custom tools -- Write a @tool function, save it to agent/tools/, restart. Auto-discovered, no wiring needed.

Scheduling & autonomy

  • Cron and heartbeats -- Recurring jobs from YAML, plus proactive check-ins agents can configure themselves.
  • Dynamic scheduling -- schedule_at, schedule_every, request_followup. Your agent can plan its own future.
  • Auto-compact -- When the context window fills, the framework summarizes old turns and continues without missing a beat.
  • Runtime model switching -- /model anthropic:claude-opus-4-20250514 mid-conversation. No restart.

Safe by default

  • Approval gates -- Human-in-the-loop authorization for sensitive operations with configurable timeouts and channel-native UI.
  • Recipient policies -- Email defaults to deny-all sends; only addresses on your allowlist go through.
  • Sandboxed filesystem -- Custom tools write to workspace/ by default; config/ and data/ are read-only to agents.

Multi-provider LLMs

Anthropic, OpenAI, AWS Bedrock, xAI, Fireworks, and any OpenAI-compatible endpoint. Define providers once in global config and reference by name from any workspace.

Quick Start

Recommended: run your agent on Telegram — you get a real chat UI, in-place status updates, and access from your phone. Grab a bot token from @BotFather (takes a minute); Discord works the same way.

Install from PyPI

The quickest path — no clone required:

pip install openpaw-ai
openpaw init my_agent --model anthropic:claude-sonnet-4-20250514 --channel telegram
openpaw -c config.yaml -w my_agent

openpaw init scaffolds the workspace and a starter config.yaml, so run works right away. Add your LLM provider key and Telegram bot token to agent_workspaces/my_agent/config/.env (e.g. ANTHROPIC_API_KEY=... and TELEGRAM_BOT_TOKEN=...) before running.

Optional capabilities install as extras: pip install 'openpaw-ai[documents]' (Docling OCR/PDF), plus [voice], [web], [memory], [email], [mcp], or [all-builtins].

Install from source (Poetry)

The steps below use the from-source workflow; prefix commands with poetry run.

1. Install

git clone https://github.com/johnsosoka/OpenPaw.git
cd OpenPaw
poetry install

2. Scaffold a workspace

poetry run openpaw init my_agent \
  --model anthropic:claude-sonnet-4-20250514 \
  --channel telegram

This also writes a starter config.yaml in the current directory (it won't overwrite an existing one). To start from the fully-commented reference instead, copy it first: cp config.example.yaml config.yaml.

3. Configure

Add your API keys to agent_workspaces/my_agent/config/.env:

ANTHROPIC_API_KEY=your-key-here
TELEGRAM_BOT_TOKEN=your-token-here

4. Run

poetry run openpaw -c config.yaml -w my_agent

CLI Commands

Command Description
openpaw init <name> Scaffold a new agent workspace
openpaw init <name> --model <provider:model> Scaffold with a pre-configured model
openpaw init <name> --channel telegram Scaffold with a channel pre-configured (telegram or discord)
openpaw list List available workspaces
openpaw -c config.yaml -w <name> Run a single workspace
openpaw -c config.yaml -w name1,name2 Run multiple workspaces
openpaw -c config.yaml --all Run all discovered workspaces
openpaw -c config.yaml -w <name> -v Run with verbose logging

All commands should be prefixed with poetry run when running from the project directory.

Agent Workspace Structure

Each workspace lives under agent_workspaces/<name>/ and is organized into five directories:

agent_workspaces/my_agent/
├── agent/              # Identity files, custom tools, team profiles, and skills
│   ├── AGENT.md
│   ├── USER.md
│   ├── SOUL.md
│   ├── HEARTBEAT.md
│   ├── tools/
│   ├── team/
│   └── skills/
├── config/             # Configuration and secrets (write-protected)
│   ├── agent.yaml
│   ├── .env
│   └── crons/
├── data/               # Framework-managed state (write-protected)
│   ├── TASKS.yaml
│   ├── uploads/
│   └── ...
├── memory/             # Archived conversations and session logs
│   ├── conversations/
│   └── logs/
│       ├── channel/
│       └── sessions/
└── workspace/          # Agent work area (default write target)
    ├── downloads/
    └── screenshots/

The openpaw init command scaffolds this structure with starter templates. Customize the identity files in agent/ to shape your agent's personality and purpose. Configure model, channel, and queue behavior in config/agent.yaml.

The data/ and config/ directories are write-protected from agent filesystem tools. Write operations default to the workspace/ directory unless an explicit path is provided.

In-Chat Commands

Once running, agents respond to framework commands in chat:

Command Description
/help List available commands
/status Show model, context usage, tasks, and token usage
/new Archive conversation and start fresh
/compact Summarize, archive, and continue with summary
/model <provider:model> Switch LLM model at runtime

Documentation

  • Getting Started -- Installation, first workspace, and troubleshooting
  • Concepts -- How workspaces, scheduling, queues, and tools fit together
  • Configuration -- Global and per-workspace configuration reference
  • Workspaces -- Workspace structure, identity files, and custom tools
  • Scheduling -- Cron jobs, heartbeats, and dynamic scheduling
  • Built-ins -- Web search, browser automation, email, voice, sub-agents, and more
  • MCP Servers -- Per-workspace MCP server connections (HTTP and stdio)
  • Channels -- Channel adapters and access control
  • Queue System -- Queue modes and message handling
  • Architecture -- System design, data flows, and architectural decisions

Contributing

Development follows a GitFlow branching model:

  • main -- Stable releases only. Protected branch, requires CI to pass.
  • develop -- Integration branch. Feature and bugfix PRs target develop.
  • Feature branches -- Branch from develop as feature/, bugfix/, docs/, or chore/.

See the Architecture overview for system design and conventions.

Prerequisites

  • Python 3.11+
  • Poetry 2.0+
  • At least one channel bot token: Telegram or Discord
  • At least one model provider API key (Anthropic, OpenAI, or AWS credentials for Bedrock)

License

PolyForm Noncommercial 1.0.0

Metadata

Release files for openpaw-ai 0.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openpaw-ai 0.4.4
File Size Uploaded Provenance Actions
openpaw_ai-0.4.4.tar.gz 351.0 kB With provenance Details for openpaw_ai-0.4.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for openpaw-ai 0.4.4
File Interpreter ABI Platform Actions
openpaw_ai-0.4.4-py3-none-any.whl Python 3 none any Details for openpaw_ai-0.4.4-py3-none-any.whl

Total release size: 830.5 kB

Release files / openpaw_ai-0.4.4.tar.gz

Download URL openpaw_ai-0.4.4.tar.gz
Size 351.0 kB
Tags Source
SHA-256 checksum
How to use checksums
53986601a47f29b8959ec66fdf2c688e8519d8588a24be1c35e404fe352d42c3
BLAKE2b-256 checksum
How to use checksums
182f1308d033c96e23791b281714089bd41a9ca359386c01c354bc80a21915fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 2, 2026.

Transparency log

Release files / openpaw_ai-0.4.4-py3-none-any.whl

Download URL openpaw_ai-0.4.4-py3-none-any.whl
Size 479.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2b8460eec2e062961b707e58e781ff3046ef539d00953a5c51198fb9cfb2127
BLAKE2b-256 checksum
How to use checksums
5b39cff67dd7f16615f07a0201959b0d91c33a25fd70a1d49c01acfa7ffdfd16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 2, 2026.

Transparency log

Security for openpaw-ai 0.4.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for openpaw_ai-0.4.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page