</>MCP Agents Market
Plugin

pi-subagents

by tintinweb960TypeScriptUpdated 2026-08-25

Claude Code like Sub-Agents & Workflow Orchestration for Pi — parallel execution, live widget, fleet view, custom agent types, mid-run steering, claude compatible dynamic workflows and more ...

Pi

pi-subagents is a Pi extension that brings Claude Code-style autonomous sub-agent orchestration and workflow scripting to Pi. It enables developers to spawn specialized agents that run in isolated sessions—each with its own tools, system prompt, model, and thinking level—executing either in parallel background processes or blocking foreground runs. The extension provides deterministic JavaScript workflow scripts, live UI widgets showing agent activity, FleetView navigation, and Claude Code-compatible APIs. Custom agent types can be defined with YAML frontmatter, and agents support features like git worktree isolation, persistent memory, mid-run steering, and scheduled execution.

Key Features

Claude Code-compatible API with Agent, get_subagent_result, and steer_subagent tools using identical calling conventions
Parallel background execution with configurable concurrency limits (default 10), automatic queuing, and grouped completion notifications
SubagentWorkflow tool for deterministic JavaScript orchestration scripts with agent(), parallel(), pipeline() primitives and Claude Code compatibility
Live widget UI displaying spinners, tool activity, token counts, and color-coded status icons above the editor
FleetView navigable list below the editor showing all running agents with keyboard navigation and live conversation viewers
Custom agent types defined in .md files with YAML frontmatter for tools, models, thinking levels, memory scopes, and colored name badges
Git worktree isolation to run agents in temporary repository copies with automatic branch creation for changes
Agent mentions with @handle syntax to message, resume, or start agents without entering the main conversation

Use Cases

  • 01Delegating parallel code exploration tasks to multiple read-only Explore agents across different modules
  • 02Running security audits with custom auditor agents that have specific tool restrictions and system prompts
  • 03Orchestrating multi-phase workflows where discovery agents feed findings to verification agents in a pipeline
  • 04Isolating refactoring work in git worktrees so experimental changes land on branches without touching the main checkout
  • 05Scheduling recurring agents to run weekly commit reviews or periodic codebase scans via cron expressions
  • 06Building nested agent hierarchies where a planner delegates to specialist agents with scoped permissions

Related Plugins

View more

pi-subagents — FAQ

What is pi-subagents?+

pi-subagents is a Pi extension that adds Claude Code-style autonomous sub-agent orchestration, enabling you to spawn specialized AI agents with their own tools, models, and system prompts that run in parallel or scripted workflows.

How do I install pi-subagents?+

Run 'pi install npm:@tintinweb/pi-subagents' from the command line. It requires Pi version 0.84.0 or newer.

Which AI clients does pi-subagents work with?+

It works with Pi (pi.dev) as a native extension. Third-party adapters exist for DeepSeek Harness (dsh), though those are maintained independently and not officially tested.

Do I need API keys or prerequisites?+

You need Pi 0.84.0 or newer installed. No additional API keys are required beyond what Pi itself needs for model access. Git is optional but required for worktree isolation features.

Is pi-subagents free to use?+

Yes, the extension is MIT licensed and free to use. However, you still pay for the AI model usage (tokens) consumed by the sub-agents according to your model provider's pricing.

How do I create custom agent types?+

Create .md files in .pi/agents/ (project) or ~/.pi/agent/agents/ (global) with YAML frontmatter specifying name, tools, model, system prompt, and other configuration. You can also use the /agents interactive menu to generate agents via wizard or AI.

How do I install pi-subagents?+

Open the source repository on GitHub and follow its README. pi-subagents is a plugin — MCP Agents Market links you directly to the official repo.

Is pi-subagents free?+

pi-subagents is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches