@umgbhalla/pi-gigaplan
Structured AI planning with cross-model critique — gigaplan as a pi extension
Package details
Install @umgbhalla/pi-gigaplan from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@umgbhalla/pi-gigaplan- Package
@umgbhalla/pi-gigaplan- Version
0.1.3- Published
- Mar 22, 2026
- Downloads
- 35/mo · 5/wk
- Author
- umg_bhalla
- License
- MIT
- Types
- extension, skill
- Size
- 94.8 KB
- Dependencies
- 0 dependencies · 4 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
],
"skills": [
"./skills"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-gigaplan
Structured AI planning with cross-model critique — a native pi extension.
What it does
Gigaplan coordinates multiple AI agents through a rigorous planning loop:
- Clarify — Agent clarifies ambiguous intent
- Plan — Agent produces a concrete implementation plan
- Critique — Different agent independently raises flags
- Evaluate — Decision engine scores flags → CONTINUE/SKIP/ESCALATE/ABORT
- Integrate — Planner addresses flags, revises plan (loops back to critique)
- Gate — Preflight checks before execution
- Execute — Agent implements the approved plan
- Review — Agent validates against success criteria
Each step runs as an autonomous subagent in a visible cmux terminal pane. You can watch agents work in real-time.
Install
pi install git:github.com/umgbhalla/pi-gigaplan
Usage
/gigaplan build a rate limiter for the API endpoints
This will:
- Ask for robustness level (light/standard/thorough) and auto-approve preference
- Initialize a
.gigaplan/directory with plan artifacts - Enter gigaplan mode — orchestrating subagents through the full loop
- Pause at gate for your approval (unless auto-approve)
- Execute and review
Tools
| Tool | Description |
|---|---|
gigaplan_step |
Get subagent config for a step |
gigaplan_advance |
Process output and advance state machine |
gigaplan_status |
Show plan status |
gigaplan_override |
Manual intervention (add-note, abort, force-proceed, skip) |
Artifacts
All state lives in .gigaplan/plans/<plan-name>/:
.gigaplan/plans/rate-limiter/
├── state.json # Mutable plan state
├── faults.json # Flag registry
├── plan_v1.md # Versioned plan (markdown)
├── plan_v1.meta.json # Plan metadata (criteria, assumptions)
├── critique_v1.json # Critique flags
├── evaluation_v1.json # Decision engine output
├── gate.json # Gate preflight results
├── execution.json # Execution output
└── review.json # Review results
Configuration
Robustness levels control how strict the critique is:
| Level | Behavior |
|---|---|
| light | Pragmatic. Only flags real failures. |
| standard | Balanced judgment. Significant risks flagged. |
| thorough | Exhaustive. Edge cases, performance, production concerns. |