Multi-agent AI orchestration for pi — parallel task execution with checkpoint discipline, fresh-context worker loops, cross-model reviews, and automated merges.
Status: Experimental / Early — APIs and config formats may change between releases.
Taskplane turns your coding project into an AI-managed task board. You define tasks as structured markdown files. Taskplane's agents execute them autonomously — one at a time with /task, or many in parallel with /orch.
- Task Runner (
/task) — Autonomous single-task execution. Workers run in fresh-context loops with STATUS.md as persistent memory. Every checkbox gets a git checkpoint. Cross-model reviewers catch what the worker missed. - Task Orchestrator (
/orch) — Parallel multi-task execution using git worktrees for full filesystem isolation. Dependency-aware wave scheduling. Automated merges with conflict resolution. - Web Dashboard — Live browser-based monitoring via
taskplane dashboard. SSE streaming, lane/task progress, wave visualization, batch history. - Structured Tasks — PROMPT.md defines the mission, steps, and constraints. STATUS.md tracks progress. Agents follow the plan, not vibes.
- Checkpoint Discipline — Every completed checkbox item triggers a git commit. Work is never lost, even if a worker crashes mid-task.
- Cross-Model Review — Reviewer agent uses a different model than the worker. Independent quality gate before merge.
Taskplane is a pi package. You need Node.js ≥ 22 and pi installed first.
| Dependency | Required | Notes |
|---|---|---|
| Node.js ≥ 22 | Yes | Runtime |
| pi | Yes | Agent framework |
| Git | Yes | Version control, worktrees |
| tmux | Strongly recommended | Required for /orch parallel execution |
tmux is needed for the orchestrator to spawn parallel worker sessions. Without it, /orch will not work. On Windows, Taskplane can install it for you:
taskplane install-tmuxOn macOS: brew install tmux · On Linux: sudo apt install tmux (or your distro's package manager)
pi install npm:taskplanecd my-project
pi install -l npm:taskplaneThen scaffold your project:
taskplane initVerify the installation:
taskplane doctorcd my-project
taskplane init --preset fullThis creates config files in .pi/, agent prompts, and two example tasks.
Already have a task folder (for example docs/task-management)? Use:
taskplane init --preset full --tasks-root docs/task-managementWhen --tasks-root is provided, example task packets are skipped by default. Add --include-examples if you explicitly want examples in that folder.
In a separate terminal:
taskplane dashboardOpens a live web dashboard at http://localhost:8099 with real-time batch monitoring.
piInside the pi session:
/orch-plan all # Preview waves, lanes, and dependencies
/orch all # Execute all pending tasks in parallel
/orch-status # Monitor batch progress
The default scaffold includes two independent example tasks, so /orch all gives you an immediate orchestrator + dashboard experience.
/task is still useful for single-task execution and focused debugging:
/task taskplane-tasks/EXAMPLE-001-hello-world/PROMPT.md
/task-status
Important distinction:
/taskruns in your current branch/worktree./orchruns tasks in isolated worktrees and merges back.
Because workers checkpoint with git commits, /task can capture unrelated local edits if you're changing files in parallel. For safer isolation (even with one task), prefer:
/orch taskplane-tasks/EXAMPLE-001-hello-world/PROMPT.md
Orchestrator lanes execute tasks through task-runner under the hood, so /task and /orch share the same core task execution model.
| Command | Description |
|---|---|
/task <path/to/PROMPT.md> |
Execute one task in the current branch/worktree |
/task-status |
Show current task progress |
/task-pause |
Pause after current worker iteration finishes |
/task-resume |
Resume a paused task |
/orch <areas|paths|all> |
Execute tasks via isolated worktrees (recommended default) |
/orch-plan <areas|paths|all> |
Preview execution plan without running |
/orch-status |
Show batch progress |
/orch-pause |
Pause batch after current tasks finish |
/orch-resume |
Resume a paused batch |
/orch-abort [--hard] |
Abort batch (graceful or immediate) |
/orch-deps <areas|paths|all> |
Show dependency graph |
/orch-sessions |
List active worker sessions |
| Command | Description |
|---|---|
taskplane init |
Scaffold project config (interactive or --preset) |
taskplane doctor |
Validate installation and config |
taskplane install-tmux |
Install or upgrade tmux for Git Bash (Windows) |
taskplane version |
Show version info |
taskplane dashboard |
Launch the web dashboard |
taskplane uninstall |
Remove Taskplane project files and optionally uninstall package (--package) |
┌─────────────────────────────────────────────────────────────┐
│ ORCHESTRATOR (/orch) │
│ Parse tasks → Build dependency DAG → Compute waves │
│ Assign lanes → Spawn workers → Monitor → Merge │
└──────┬──────────┬──────────┬────────────────────────────────┘
│ │ │
┌────▼────┐ ┌──▼─────┐ ┌──▼─────┐
│ Lane 1 │ │ Lane 2 │ │ Lane 3 │ ← Git worktrees
│ /task │ │ /task │ │ /task │ (isolated)
│ Worker │ │ Worker │ │ Worker │
│ Review │ │ Review │ │ Review │
└────┬────┘ └──┬─────┘ └──┬─────┘
│ │ │
└─────────┼──────────┘
│
┌──────▼──────┐
│ Merge Agent │ ← Conflict resolution
│ Integration │ & verification
│ Branch │
└─────────────┘
Single task (/task): Worker iterates in fresh-context loops. STATUS.md is persistent memory. Each checkbox → git checkpoint. Reviewer validates on completion.
Parallel batch (/orch): Tasks are sorted into dependency waves. Each wave runs in parallel across lanes (git worktrees). Completed lanes merge into the integration branch before the next wave starts.
Start at the docs index for tutorials, how-to guides, reference docs, and architecture explanations.
See CONTRIBUTING.md for development setup, testing, and contribution guidelines.
Maintainers: GitHub governance and branch protection guidance is in docs/maintainers/repository-governance.md.
MIT © Henry Lach