OpenPaw - Multi-Channel AI Agent Framework with LangGraph
Project description
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.
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
@toolfunction, save it toagent/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-20250514mid-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/anddata/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 targetdevelop.- Feature branches -- Branch from
developasfeature/,bugfix/,docs/, orchore/.
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openpaw_ai-0.4.4.tar.gz.
File metadata
- Download URL: openpaw_ai-0.4.4.tar.gz
- Upload date:
- Size: 351.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53986601a47f29b8959ec66fdf2c688e8519d8588a24be1c35e404fe352d42c3
|
|
| MD5 |
4824522acf7010d72d492a76f0d71ebf
|
|
| BLAKE2b-256 |
182f1308d033c96e23791b281714089bd41a9ca359386c01c354bc80a21915fc
|
Provenance
The following attestation bundles were made for openpaw_ai-0.4.4.tar.gz:
Publisher:
publish.yml on johnsosoka/OpenPaw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openpaw_ai-0.4.4.tar.gz -
Subject digest:
53986601a47f29b8959ec66fdf2c688e8519d8588a24be1c35e404fe352d42c3 - Sigstore transparency entry: 2047903219
- Sigstore integration time:
-
Permalink:
johnsosoka/OpenPaw@7b8fb46acaa12d6516dcc766f0478d3bc2150985 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/johnsosoka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7b8fb46acaa12d6516dcc766f0478d3bc2150985 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openpaw_ai-0.4.4-py3-none-any.whl.
File metadata
- Download URL: openpaw_ai-0.4.4-py3-none-any.whl
- Upload date:
- Size: 479.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2b8460eec2e062961b707e58e781ff3046ef539d00953a5c51198fb9cfb2127
|
|
| MD5 |
e854328fbfaff69ff3ef1200c09100be
|
|
| BLAKE2b-256 |
5b39cff67dd7f16615f07a0201959b0d91c33a25fd70a1d49c01acfa7ffdfd16
|
Provenance
The following attestation bundles were made for openpaw_ai-0.4.4-py3-none-any.whl:
Publisher:
publish.yml on johnsosoka/OpenPaw
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openpaw_ai-0.4.4-py3-none-any.whl -
Subject digest:
e2b8460eec2e062961b707e58e781ff3046ef539d00953a5c51198fb9cfb2127 - Sigstore transparency entry: 2047903232
- Sigstore integration time:
-
Permalink:
johnsosoka/OpenPaw@7b8fb46acaa12d6516dcc766f0478d3bc2150985 -
Branch / Tag:
refs/tags/v0.4.4 - Owner: https://github.com/johnsosoka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7b8fb46acaa12d6516dcc766f0478d3bc2150985 -
Trigger Event:
push
-
Statement type: