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.
๐ Starting work...
๐ Running tool: brave_search (langgraph release notes)...
๐ค Dispatched sub-agent: researcher
๐ค Sub-agent: researcher
๐ Running tool: brave_search (recent papers)...
๐ Running tool: write_file (notes.md)...
โ
Completed
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.
- 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
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
3. Configure
cp config.example.yaml config.yaml
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 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 and extensions
โ โโโ AGENT.md # Capabilities and behavior guidelines
โ โโโ USER.md # User context and preferences
โ โโโ SOUL.md # Core personality and values
โ โโโ HEARTBEAT.md # Session state scratchpad (agent-writable)
โ โโโ tools/ # Custom LangChain @tool functions
โ โโโ team/ # Sub-agent profiles (YAML)
โ โโโ skills/ # Skill directories
โโโ config/ # Configuration (write-protected)
โ โโโ agent.yaml # Per-workspace settings (model, channel, queue)
โ โโโ .env # API keys and secrets
โ โโโ crons/ # Scheduled task definitions
โโโ data/ # Framework-managed state (write-protected)
โ โโโ TASKS.yaml # Persistent task tracking
โ โโโ uploads/ # User-uploaded files
โ โโโ ... # Conversations DB, session state, token logs
โโโ memory/ # Archived conversations and session logs
โ โโโ conversations/ # Conversation exports (markdown + JSON)
โ โโโ logs/ # Session logs and channel history
โ โโโ channel/ # Persistent channel message logs (JSONL)
โ โโโ sessions/ # Heartbeat, cron, and sub-agent session logs
โโโ workspace/ # Agent work area (default write target)
โโโ downloads/ # Browser-downloaded files
โโโ screenshots/ # Browser 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
- 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 CONTRIBUTING.md for the full development guide.
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.2.tar.gz.
File metadata
- Download URL: openpaw_ai-0.4.2.tar.gz
- Upload date:
- Size: 334.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 |
282a82a143b735497270d8e5a55b9cbc3fc95f99b7cea3360e5dffd2c5799fc9
|
|
| MD5 |
8750bdb518752ee90116943a285b11db
|
|
| BLAKE2b-256 |
d3eddb151a4a3561a314b4af4f3761afcd1ca3a5bfdd8afb2e275f850753bd00
|
Provenance
The following attestation bundles were made for openpaw_ai-0.4.2.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.2.tar.gz -
Subject digest:
282a82a143b735497270d8e5a55b9cbc3fc95f99b7cea3360e5dffd2c5799fc9 - Sigstore transparency entry: 1786689636
- Sigstore integration time:
-
Permalink:
johnsosoka/OpenPaw@b2e28982f5e1b31aaaea43f9cef249eba692e615 -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/johnsosoka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b2e28982f5e1b31aaaea43f9cef249eba692e615 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openpaw_ai-0.4.2-py3-none-any.whl.
File metadata
- Download URL: openpaw_ai-0.4.2-py3-none-any.whl
- Upload date:
- Size: 469.8 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 |
2882b9936ba9018293079304347bf0bc77378347d2f963b6c594c8005d652443
|
|
| MD5 |
c203e219665496bbcb6d94420a9ff834
|
|
| BLAKE2b-256 |
67e6bd424150e177b0ac4dcaed98369e1a607c8f74536ae62408fac50595d73d
|
Provenance
The following attestation bundles were made for openpaw_ai-0.4.2-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.2-py3-none-any.whl -
Subject digest:
2882b9936ba9018293079304347bf0bc77378347d2f963b6c594c8005d652443 - Sigstore transparency entry: 1786689963
- Sigstore integration time:
-
Permalink:
johnsosoka/OpenPaw@b2e28982f5e1b31aaaea43f9cef249eba692e615 -
Branch / Tag:
refs/tags/v0.4.2 - Owner: https://github.com/johnsosoka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b2e28982f5e1b31aaaea43f9cef249eba692e615 -
Trigger Event:
push
-
Statement type: