New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

taskplane

Package Overview
Dependencies
Maintainers
1
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taskplane

AI agent orchestration for pi — parallel task execution with checkpoint discipline

latest
Source
npmnpm
Version
0.24.30
Version published
Weekly downloads
5.9K
0.12%
Maintainers
1
Weekly downloads
 
Created
Source

Taskplane

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.

What It Does

STEP 1: Create the tasks

Taskplane turns your coding project into an AI-managed task orchestration system. You simply ask your agent to create tasks using the built-in "create-taskplane-tasks" skill. This skill provides an opinionated task definition template designed to drive successful coding outcomes. Tasks define both the prompt.md and the status.md files that together act as the persistent memory store that allows AI coding agents to survive context resets and succeed with very long running tasks that would typically exhaust an agent's context window.

STEP 2: Run batches of tasks

The system works out the dependancy map for the entire batch of tasks then orchestrates them in waves, with appropriate parallelization and serialization.

The taskplane dashboard runs on a local port on your system and gives you elegant visibility into everything that's going on (a stark improvement over TUI-based dashboards).

image of taskplane dashboard

Key Features

  • Task Orchestrator — Parallel multi-task execution using git worktrees for full filesystem isolation. Dependency-aware wave scheduling. Automated merges into a dedicated orch branch — your working branch stays stable until you choose to integrate.
  • Persistent Worker Context — Workers handle all steps in a single context, auto-detecting the model's context window (1M for Claude 4.6 Opus, 200K for Bedrock). Only iterates on context overflow. Dramatic reduction in spawn count and token cost.
  • Worker-Driven Inline Reviews — Workers invoke a review_step tool at step boundaries. Reviewer agents spawn in tmux sessions with full telemetry. REVISE feedback is addressed inline without losing context.
  • Supervisor Agent — Conversational supervisor monitors batch progress, handles failures, and can invoke orchestrator commands autonomously (resume, integrate, pause, abort).
  • Web Dashboard — Live browser-based monitoring via taskplane dashboard. SSE streaming, lane/task progress, reviewer activity, merge telemetry, batch history.
  • Structured Tasks — PROMPT.md defines the mission, steps, and constraints. STATUS.md tracks progress. Agents follow the plan, not vibes.
  • Checkpoint Discipline — Step boundary commits ensure work is never lost, even if a worker crashes mid-task.
  • Cross-Model Review — Reviewer agent uses a different model than the worker agent (highly recommended, not enforced). Independent quality gate before merge.

Install

Taskplane is a pi package. You need Node.js ≥ 22 and pi installed first.

Prerequisites

DependencyRequiredNotes
Node.js ≥ 22YesRuntime
piYesAgent framework
GitYesVersion control, worktrees
tmuxStrongly recommendedRequired 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-tmux

On macOS: brew install tmux · On Linux: sudo apt install tmux (or your distro's package manager)

Option A: Global Install (all projects)

pi install npm:taskplane
cd my-project
pi install -l npm:taskplane

Then scaffold your project:

taskplane init

Verify the installation:

taskplane doctor

Quickstart

1. Initialize a project

cd my-project
taskplane init --preset full

This creates config files in .pi/, agent prompts, two example tasks, and adds .gitignore entries for runtime artifacts. On first install, init bootstraps global preferences at ~/.pi/agent/taskplane/preferences.json with thinking defaults set to high for worker/reviewer/merger. Interactive init then prompts for worker/reviewer/merger model + thinking defaults (inherit, off, minimal, low, medium, high, xhigh). If 2+ providers are available from pi --list-models, init recommends cross-provider reviewer/merger selections. Init auto-detects whether you're in a single repo or a multi-repo workspace. See the install tutorial for workspace mode and other scenarios.

Want to reuse model/thinking picks across projects? Run taskplane config --save-as-defaults in an initialized project.

Already have a task folder (for example docs/task-management)? Use:

taskplane init --preset full --tasks-root docs/task-management

When --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 dashboard

Opens a live web dashboard at http://localhost:8099 with real-time batch monitoring.

3. Run your first orchestration

pi

Inside the pi session:

/orch               # Detect project state — guides onboarding or offers to start a batch
/orch-plan all      # Preview waves, lanes, and dependencies
/orch all           # Execute all pending tasks in parallel
/orch-status        # Monitor batch progress

/orch with no arguments is the universal entry point — it detects your project state and activates the supervisor for guided interaction (onboarding, batch planning, health checks, or retrospective). The default scaffold includes two independent example tasks, so /orch all gives you an immediate orchestrator + dashboard experience.

4. Run a single task with isolation

For a single task with full worktree isolation, dashboard, and reviews:

/orch taskplane-tasks/EXAMPLE-001-hello-world/PROMPT.md

This uses the same orchestrator infrastructure as a full batch — isolated worktree, orch branch, supervisor, dashboard, inline reviews — but for just one task.

Deprecated: The /task command is deprecated and will be removed in a future major version. It does not provide worktree isolation, dashboard, or inline reviews. Use /orch for all workflows — including single-task execution.

Commands

Pi Session Commands

CommandDescription
/task <path/to/PROMPT.md>⚠️ Deprecated. Execute one task in the current branch/worktree. Use /orch instead.
/task-status⚠️ Deprecated. Show current task progress. Use /orch-status or dashboard.
/task-pause⚠️ Deprecated. Pause after current worker iteration finishes. Use /orch-pause.
/task-resume⚠️ Deprecated. Resume a paused task. Use /orch-resume.
/orch [<areas|paths|all>]No args: detect state & guide (onboarding, batch planning, etc.); with args: execute tasks via isolated worktrees
/orch-plan <areas|paths|all>Preview execution plan without running
/orch-statusShow batch progress
/orch-pausePause batch after current tasks finish
/orch-resume [--force]Resume a paused batch (or force-resume from stopped/failed)
/orch-abort [--hard]Abort batch (graceful or immediate)
/orch-deps <areas|paths|all>Show dependency graph
/orch-sessionsList active worker sessions
/orch-integrateIntegrate completed orch batch into your working branch
/taskplane-settingsView and edit taskplane configuration interactively

CLI Commands

CommandDescription
taskplane initScaffold project config (interactive or --preset)
taskplane doctorValidate installation and config
taskplane config --save-as-defaultsSave current worker/reviewer/merger model + thinking settings as defaults for future taskplane init runs
taskplane versionShow version info
taskplane dashboardLaunch the web dashboard
taskplane uninstallRemove Taskplane project files and optionally uninstall package (--package)

How It Works

┌─────────────────────────────────────────────────────────────┐
│                    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
          │ Orch Branch │      & verification
          └──────┬──────┘
                 │
          ┌──────▼──────┐
          │ /orch-      │    ← User integrates into
          │  integrate  │      working branch
          └─────────────┘

How it works: Tasks are sorted into dependency waves. Each wave runs in parallel across lanes (git worktrees). Workers handle all steps in a single context, calling review_step at step boundaries for inline reviews. Completed lanes merge into a dedicated orch branch. A supervisor agent monitors progress and can autonomously resume, integrate, or abort. When the batch completes, use /orch-integrate to bring the results into your working branch (or configure auto-integration).

Documentation

📖 Full Documentation

Start at the docs index for tutorials, how-to guides, reference docs, and architecture explanations.

Contributing

See CONTRIBUTING.md for development setup, testing, and contribution guidelines.

Maintainers: GitHub governance and branch protection guidance is in docs/maintainers/repository-governance.md.

License

MIT © Henry Lach

Keywords

pi-package

FAQs

Package last updated on 07 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts