tintinweb/pi-subagents

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 ...

What it solves

This project brings autonomous sub-agent capabilities and workflow orchestration to the pi development environment. It solves the problem of managing complex, multi-step tasks by allowing you to spawn specialized, isolated agents that can run in the background, execute parallel tasks, or follow deterministic scripts, all while maintaining a familiar interface.

How it works

It integrates directly into pi as an extension, providing tools like Agent and SubagentWorkflow. You can spawn agents that operate in their own sessions with custom prompts, models, and tool restrictions. These agents can run concurrently in the background, be steered mid-run, or be scheduled for future execution. The system includes a "FleetView" and a live widget to monitor agent status, token usage, and activity in real-time. It also supports complex orchestration via JavaScript-based workflows that can manage multiple agents through pipelines or parallel execution.

Who it’s for

This is for developers using pi who need to break down large, multi-part coding tasks into smaller, manageable sub-tasks. It is ideal for users who want to automate repetitive workflows, run background analysis, or manage multiple AI agents concurrently without cluttering their main chat session.

Highlights

  • Claude Code-style interface: Features familiar tool names, UI patterns, and workflow orchestration.
  • Parallel background execution: Spawns multiple concurrent agents with automatic queuing and completion notifications.
  • Live monitoring: Includes a persistent widget and "FleetView" to track agent activity, token usage, and tool calls.
  • Customizable agents: Define specialized agent types with unique system prompts, models, and tool permissions via configuration files.
  • Scripted workflows: Use JavaScript to define complex, multi-step agent interactions, including pipelines and parallel phases.
  • Mid-run steering: Inject messages into running agents to redirect their behavior without needing to restart them.
  • Scheduling: Supports cron-style, interval-based, and one-shot scheduling for automated agent tasks.

Related

  • Project
  • Project
  • Project
  • Project
  • Project