Back to directory

Pi Multi-Agent

A TypeScript multi-agent orchestration framework implementing a full goal-plan-execute-evaluate-replan-output lifecycle, with adaptive model routing and a real-time dashboard.

Pi Multi-Agent

Pi Multi-Agent is a TypeScript framework for production multi-agent orchestration systems, implementing the full agent lifecycle from goal through plan, execute, evaluate, replan and output, with LLM-powered task decomposition and real tool calling. It offers three execution modes: Direct for simple single-step queries handled by one LLM call, Deep for research-intensive collaboration among a cluster of specialized sub-agents, and Workflow for a dynamic, sandboxed pipeline.

Adaptive routing automatically selects the optimal model per task by complexity, priority and required capability, deep planning builds dependency graphs and assigns agent roles against quality thresholds, and an iterative quality loop evaluates output and automatically replans and retries until a threshold is met. It supports six collaboration patterns, including sequential, parallel, debate-and-consensus and critic-reviewer, and six communication topologies from a single agent to a custom hierarchy, with shared memory for inter-agent data passing and session persistence.

A WebSocket-powered Next.js dashboard shows agent status, tool calls and progress in real time. It is fully typed and licensed under MIT.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.