Extended workflow configuration for Pi coding agent.
Adds multi-agent orchestration, custom tools, and workflow commands to Pi.
Requires Pi coding agent to be installed first:
npm install -g @mariozechner/pi-coding-agent
npm install -g @vtemian/pi-configThe package automatically symlinks its configuration to ~/.pi/agent/.
Specialized agents you can delegate tasks to:
| Agent | Purpose |
|---|---|
commander |
Orchestrator - delegates to specialists |
brainstormer |
Design exploration and ideation |
codebase-locator |
Fast file/pattern finding |
codebase-analyzer |
Deep code analysis |
pattern-finder |
Find existing patterns to follow |
implementer |
Execute implementation plans |
reviewer |
Code review |
| Tool | Purpose |
|---|---|
look_at |
Extract file structure without loading full content |
ast_grep_search |
AST-aware code pattern search |
ast_grep_replace |
AST-aware code replacement |
subagent |
Delegate tasks to specialized agents |
| Command | Description |
|---|---|
/implement <task> |
Full workflow: scout -> plan -> implement -> review |
/review <files> |
Code review |
/scout <query> |
Quick codebase reconnaissance |
/analyze <module> |
Deep module analysis |
/brainstorm <topic> |
Design exploration session |
/research <topic> |
Parallel research with multiple agents |
| Hook | Purpose |
|---|---|
comment-checker |
Warns about comments that explain "what" instead of "why" |
token-aware-truncation |
Truncates large outputs to prevent context overflow |
After installation, just run pi:
piThe subagent tool delegates tasks to specialized agents. Three modes are available:
Single agent:
{ "agent": "codebase-locator", "task": "find all authentication code" }Parallel execution (up to 8 tasks, 4 concurrent):
{
"tasks": [
{ "agent": "codebase-locator", "task": "find all API routes" },
{ "agent": "pattern-finder", "task": "find validation patterns" }
]
}Chained execution (use {previous} to pass results):
{
"chain": [
{ "agent": "codebase-locator", "task": "find the auth module" },
{ "agent": "codebase-analyzer", "task": "explain how {previous} works" },
{ "agent": "implementer", "task": "based on {previous}, add OAuth support" }
]
}/implement add Redis caching to the session store
/review src/auth/
/scout how does the database connection work?
# Check what's installed
pi-config status
# Reinstall (after package updates)
pi-config install
# Remove symlinks
pi-config uninstallnpm update -g @vtemian/pi-config- Node.js 18+
- @mariozechner/pi-coding-agent installed globally
This package uses Pi's native file discovery. On install, it symlinks:
hooks/->~/.pi/agent/hooks/tools/->~/.pi/agent/tools/agents/->~/.pi/agent/agents/commands/->~/.pi/agent/commands/
Pi automatically discovers and loads these on startup.
MIT