A shared to-do list for AI agents. Dependency-aware task queue, zero dependencies, pure Python.
Project description
agentplan
A shared to-do list for AI agents.
Quickstart · The Agent Loop · Dashboard · Commands · Why agentplan? · Issues
Agent Loop Demo
$ agentplan create "Launch docs portal" \
--ticket "Initialize repo + CI" \
--ticket "Build docs site shell" \
--ticket "Write auth middleware" \
--ticket "Add onboarding guide"
Created project 'Launch docs portal' (launch-docs-portal) with 4 ticket(s)
# agent-a atomically claims the next unblocked ticket
$ agentplan claim launch-docs-portal --agent agent-a
▶ Claimed ticket #1: Initialize repo + CI → in-progress (by agent-a)
$ codex exec --full-auto "Initialize repo + CI"
... creates repo scaffolding, CI workflow, pyproject ...
$ agentplan ticket done launch-docs-portal 1 --agent agent-a
✓ Ticket #1: Initialize repo + CI → done (by agent-a)
# agent-b checks what's left
$ agentplan status launch-docs-portal
1/4 done, 0 blocked, next: [2] Build docs site shell
Launch docs portal [active] — 1/4 done
✓ 1. Initialize repo + CI [priority: none] [done_by: agent-a]
○ 2. Build docs site shell [priority: none]
○ 3. Write auth middleware [priority: none]
○ 4. Add onboarding guide [priority: none]
# add a high-priority ticket with a due date
$ agentplan ticket add launch-docs-portal "Deploy to production" \
--priority high --tag deploy --due 2026-03-15
Added ticket #5: Deploy to production [priority: high]
# make deploy depend on docs site shell
$ agentplan depend launch-docs-portal 5 --on 2
Ticket #5 now depends on: [2]
# deploy is now blocked — won't appear in next
$ agentplan next launch-docs-portal
📋 Launch docs portal: [2] Build docs site shell ○ (priority: none), [3] Write auth middleware ○ (priority: none), [4] Add onboarding guide ○ (priority: none)
$ agentplan status launch-docs-portal
1/5 done, 1 blocked, next: [2] Build docs site shell
Launch docs portal [active] — 1/5 done
✓ 1. Initialize repo + CI [priority: none] [done_by: agent-a]
○ 2. Build docs site shell [priority: none]
○ 3. Write auth middleware [priority: none]
○ 4. Add onboarding guide [priority: none]
⏳ 5. Deploy to production [priority: high] (blocked — waiting on 2)
Multiple AI agents. One shared work queue. Zero infrastructure.
agentplan gives your agents a persistent task queue with dependency resolution. Any agent that can run shell commands can use it — Claude Code, Codex, OpenClaw, or any CLI-capable tool.
No SDK. No framework. No Python dependencies beyond stdlib. Three commands cover 90% of usage:
agentplan next myproject # What should I work on?
agentplan ticket done myproject 3 # Done with ticket 3
agentplan ticket add myproject "new thing I found"
Quickstart
pip install agentplan
agentplan create "Build my app" \
--ticket "Set up database schema" \
--ticket "Build API endpoints" \
--ticket "Write tests" \
--ticket "Deploy to production"
# tests need API first, deploy needs everything
agentplan depend build-my-app 3 --on 2
agentplan depend build-my-app 4 --on 1,2,3
agentplan next build-my-app
# → [1] Set up database schema ○ (priority: none), [2] Build API endpoints ○ (priority: none)
The Agent Loop
┌─────────────────────────────────────────────┐
│ Agent A (cron, every 15 min) │
│ 1. agentplan claim myproject --agent a │
│ 2. Do the work │
│ 3. agentplan ticket done myproject <id> │
└─────────────────────────────────────────────┘
↕ shared SQLite queue
┌─────────────────────────────────────────────┐
│ Agent B (cron, offset by 8 min) │
│ 1. agentplan status myproject │
│ 2. Review what Agent A did │
│ 3. agentplan ticket add myproject "..." │
└─────────────────────────────────────────────┘
Agent A claims the next unblocked ticket, does the work, marks it done. Agent B reviews, spots issues, adds new tickets. The queue is self-sustaining — no coordinator, no orchestrator, no message passing.
Real-world example: OpenClaw + Codex
# Cron job fires every 15 minutes
CLAIMED=$(agentplan claim my-redesign --agent codex)
if [ -z "$CLAIMED" ]; then echo "All done"; exit 0; fi
TICKET_ID=$(echo "$CLAIMED" | grep -o '#[0-9]*' | head -1 | tr -d '#')
TASK=$(echo "$CLAIMED" | sed 's/.*: //' | sed 's/ →.*//')
codex exec --full-auto "$TASK"
agentplan ticket done my-redesign "$TICKET_ID"
A second cron (running a cheaper model) reviews and adds tickets:
agentplan status my-redesign
# ...inspect recent changes...
agentplan ticket add my-redesign "Fix: button hover state missing"
Two agents, zero coordination code, self-healing work queue.
Dashboard
agentplan ships a local web dashboard for human oversight. It reads from and writes to the same SQLite database your agents use.
# Install dashboard dependency
pip install agentplan[dashboard]
# Start and open in browser
agentplan dashboard --open
# Stop the running dashboard
agentplan dashboard --stop
# Custom port
agentplan dashboard --port 8080 --open
The dashboard provides:
- Kanban board — tickets organized by status (pending, in-progress, done, skipped, blocked) across all active projects
- Mission Control — project-level summary with progress bars, agent attribution, and dependency visibility
- Live activity feed — real-time audit log of every state transition, claim, and ticket change as agents work
The dashboard is read/write — you can create tickets, update priorities, and mark work done directly from the UI without touching the CLI.
Why agentplan?
| agentplan | CrewAI | AutoGen | LangGraph | |
|---|---|---|---|---|
| Install | pip install agentplan |
pip install crewai |
pip install autogen-agentchat |
pip install langgraph |
| Infrastructure | None. SQLite file. | Python runtime + config | Python runtime + async | Python runtime + graph def |
| Works with | Any agent with a terminal | CrewAI agents only | AutoGen agents only | LangGraph nodes only |
| Integration | 3 shell commands | Python SDK | Python SDK | Python SDK |
| Dependencies | Zero (stdlib only) | 30+ packages | 20+ packages | 15+ packages |
| What it is | Shared task queue | Agent framework | Agent framework | Orchestration framework |
agentplan is not a framework. It doesn't run your agents, define roles, or manage conversations. It gives agents that already exist a way to coordinate through work.
Features
- Dependency resolution —
nextandclaimreturn only unblocked tickets; blocked tickets show what they're waiting on - Circular dependency detection — invalid dependency graphs are rejected before they happen
- Priority levels —
high,medium,low, ornoneper ticket; highest-priority unblocked work surfaces first - Tags — label tickets with
--tagand filterclaimby tag for role-based agent routing - Subtasks — lightweight checklists inside tickets (
subtask add/done/list) - Due dates — set
--due YYYY-MM-DDper ticket; visible in status output - Agent attribution —
--agent <name>onclaim/done/start; tracked in history and status - Parallel-safe claims —
claimis atomic; two agents racing won't grab the same ticket - Audit log / history — every state transition timestamped and queryable via
history - Search — full-text search across ticket titles and descriptions across all projects
- Archive — remove completed or abandoned projects from the active list
- Ticket editing — update title, description, priority, tags, or due date after creation
- Dashboard — local web UI with Kanban board, Mission Control, and live activity feed
- Shell completions — bash, zsh, and fish tab-completion via
agentplan completion - Auto-completion — projects close automatically when all tickets are done or skipped
- Multiple output formats —
full,compact(~50 tokens for agent context windows), andjson - Zero dependencies — Python stdlib only; no virtual environment required
Commands
Projects
agentplan create <title> [--ticket "..."] [--ticket "..."]
agentplan list [--status active|closed|archived]
agentplan status [project]
agentplan close <project> [--abandon]
agentplan archive <project>
agentplan remove <project>
Tickets
agentplan ticket add <project> <title> [--priority high|medium|low] [--tag TAGS] [--due YYYY-MM-DD] [--desc TEXT] [--depends IDS]
agentplan ticket done <project> <id...> [--agent NAME]
agentplan ticket skip <project> <id...>
agentplan ticket start <project> <id> [--agent NAME]
agentplan ticket edit <project> <id> [--title TEXT] [--priority ...] [--tag TAGS] [--due DATE]
agentplan ticket list <project>
Queue
agentplan next [project] [--tag TAG]
agentplan claim <project> [--agent NAME] [--tag TAG]
Dependencies
agentplan depend <project> <ticket_id> --on <id[,id,...]>
agentplan undepend <project> <ticket_id> --on <id>
Subtasks
agentplan subtask add <project> <ticket_id> <title>
agentplan subtask done <project> <ticket_id> <subtask_id>
agentplan subtask list <project> <ticket_id>
Search & History
agentplan search <query>
agentplan history <project> <ticket_id>
Dashboard
agentplan dashboard [--port PORT] [--open] [--stop]
Misc
agentplan completion {bash|zsh|fish}
agentplan version
Output Formats
Full (default):
Launch docs portal [active] — 1/5 done
✓ 1. Initialize repo + CI [priority: none] [done_by: agent-a]
○ 2. Build docs site shell [priority: none]
○ 3. Write auth middleware [priority: none]
○ 4. Add onboarding guide [priority: none]
⏳ 5. Deploy to production [priority: high] (blocked — waiting on 2)
Compact (~50 tokens, optimized for agent context windows):
📋 Launch docs portal: [2] Build docs site shell ○ (priority: none), [3] Write auth middleware ○ (priority: none), [4] Add onboarding guide ○ (priority: none)
JSON (--format json): machine-readable for scripting and agent parsing.
Configuration
| Variable | Default | Description |
|---|---|---|
AGENTPLAN_DIR |
~/.agentplan |
Database directory |
AGENTPLAN_DB |
~/.agentplan/agentplan.db |
Full path override |
Compatible Platforms
agentplan works with any agent or tool that can execute shell commands:
- OpenClaw — Multi-agent orchestration via cron jobs
- Claude Code — Anthropic's CLI agent
- OpenAI Codex — OpenAI's coding agent
- Cron jobs — Scheduled autonomous work loops
- CI/CD pipelines — GitHub Actions, Jenkins, etc.
- Any terminal — If it can run a shell command, it can coordinate
License
MIT — Dushyant Garg, 2026
Project details
Release history Release notifications | RSS feed
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 agentplan-0.4.3.tar.gz.
File metadata
- Download URL: agentplan-0.4.3.tar.gz
- Upload date:
- Size: 47.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c21a12ecf30d150b5159589c818207e32c7c7c784b0b726fc75e21cddb48a02e
|
|
| MD5 |
75258b9016da17da89bf41cef1e094dd
|
|
| BLAKE2b-256 |
d359541bc11b87d49ca5022da659a551ff0ee33d0174e919d7ac8e20471e1b7b
|
File details
Details for the file agentplan-0.4.3-py3-none-any.whl.
File metadata
- Download URL: agentplan-0.4.3-py3-none-any.whl
- Upload date:
- Size: 43.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d06085ad4becc92e5d4f8137107d21f2279cf75bfe518d244b0c7506e8ad448
|
|
| MD5 |
7ec6e6606dcd187c75455a0fbaeb28be
|
|
| BLAKE2b-256 |
5cf611fe33e0cf7e2c2020d01d71a874f9c714826cfb17f9f07fe17ce6bd109d
|