pi-auto-agents
Pi skill that automatically routes complex coding/development tasks to the sub-agents for multi-agent execution with testing and verification
Package details
Install pi-auto-agents from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-auto-agents- Package
pi-auto-agents- Version
0.2.1- Published
- Mar 17, 2026
- Downloads
- 89/mo · 17/wk
- Author
- 3dalgolab
- License
- MIT
- Types
- skill
- Size
- 10.2 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"skills": [
"skills/auto-agents/SKILL.md"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-auto-agents
Intelligent task orchestrator that breaks down complex requests using specialized agents
The pi-auto-agents skill automatically detects complex coding and development tasks and orchestrates them across specialized sub-agents for thorough analysis, planning, implementation, testing, and review.
Important: This skill requires the
pi-subagentsextension to work. It depends on thesubagentandsubagent_statustools provided bypi-subagents.
Features
- Intelligent Task Routing: Analyzes requests to determine when multi-agent coordination is needed
- Specialized Agents: Pre-built agents for different phases of development
- Workflow Orchestration: Supports sequential chains and parallel execution
- Mandatory Testing & Review: Enforces testing after implementation and quality review
- Progress Tracking: Maintains detailed progress documentation
- Data Flow: Automatic passing of context between agents using
{previous}template variables
Available Agents
scout: Fast codebase exploration and analysis (lightweight and quick)context-builder: Builds comprehensive context and meta-prompts from requirementsplanner: Creates detailed implementation plans and task breakdownsworker: General-purpose implementation and coding tasksresearcher: Conducts web research and gathers external informationreviewer: Code review, validation, and quality assurance
Installation
pi install npm:pi-auto-agents
This package includes the skill definition at skills/auto-agents/SKILL.md and will be automatically discovered by Pi.
How It Works
The orchestration follows a structured workflow:
- ANALYZE - Thoroughly understand the user's request
- PLAN - Create an optimal workflow with verification steps
- EXECUTE - Run chains or parallel agent tasks using the
subagenttool - TEST & DEBUG - Always test code after implementation and fix issues
- REVIEW - Perform quality assurance with the reviewer agent
- VERIFY - Confirm the solution works end-to-end
- SYNTHESIZE - Provide clear summary of results
Usage
Basic Chain (Recommended for Development Tasks)
{
"chain": [
{"agent": "scout"},
{"agent": "context-builder"},
{"agent": "planner"},
{"agent": "worker"},
{"agent": "reviewer"}
]
}
With Custom Tasks and Parallel Execution
{
"chain": [
{"agent": "scout", "task": "Analyze current codebase structure"},
{
"parallel": [
{"agent": "worker", "task": "Implement frontend changes"},
{"agent": "worker", "task": "Update backend API"}
]
},
{"agent": "reviewer"}
]
}
Single Agent Call
{
"agent": "planner",
"task": "Create a detailed plan for adding user authentication"
}
Monitoring Async Runs
{
"agent": "subagent_status",
"id": "run-id-here"
}
Testing & Debugging Policy
MANDATORY for all implementation tasks:
- After any
workerphase, immediately test the changes - Use
bashtool to run tests and verify functionality - Create reproduction test cases for bugs
- Document all test results in
progress.md - Only proceed to review after tests pass
Dependencies
This skill is heavily dependent on pi-subagents — it provides the core subagent and subagent_status tools that make multi-agent orchestration possible.
Without pi-subagents, this skill will not function.
Acknowledgments
Thank you to the creators and maintainers of:
pi-subagents— for building the powerful sub-agent infrastructure this skill depends on- Pi Framework (
@mariozechner/pi-coding-agent) — for creating such an elegant and extensible coding agent platform
Your work made this orchestration layer possible. 🙏
Project Structure
.
├── skills/
│ └── auto-agents/
│ └── SKILL.md # Full skill documentation
├── README.md # This file
├── package.json
└── install.mjs
Links
Built for the Pi coding agent harness.