jwangkun/pi-multi-agent — explained in plain English
Analysis updated 2026-05-18
Break a large goal into a dependency graph of sub-tasks handled by specialized agents.
Run agents in a debate-and-consensus process to improve answer quality.
Watch agent status and tool calls live on the built-in web dashboard.
Produce a long research report by decomposing it across multiple agents automatically.
| jwangkun/pi-multi-agent | davidhdev/rbp-portfolio | drakkar-softwares/polymarket-kalshi-arbitrage-bot | |
|---|---|---|---|
| Stars | 29 | 29 | 29 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | easy | moderate |
| Complexity | 3/5 | 2/5 | 3/5 |
| Audience | developer | designer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Node.js 18 or later and an API key for a supported language model.
Pi Multi-Agent is a TypeScript framework for building systems where multiple AI agents work together on a single task. Rather than simple prompt chaining, it implements a full lifecycle: a goal is submitted, a planning step breaks it into a dependency graph of sub-tasks, a cluster of specialized agents executes those tasks with real tool calls, an evaluator scores the result on multiple dimensions, and the system replans and retries if the quality threshold is not met. The framework offers six ways agents can collaborate: they can work in sequence, in parallel, through a debate-and-consensus process, as a pool of domain experts, in a creator/critic pair, or in a hierarchy where a supervisor delegates to subordinates. Separately, it offers six communication structures that control how information flows between agents. These two dimensions can be combined depending on what a task requires. Agents have access to a shared memory system that lets them pass data between sessions and build on each other's outputs. Built-in tools include web search, a data analyzer, a web scraper, a code executor, and a report writer. A real-time web dashboard, connected over WebSocket, shows agent status, active tool calls, and progress across the cluster. The framework is written in TypeScript with strict mode throughout and uses DeepSeek as the default language model, configurable to any OpenAI-compatible endpoint. The core classes, DeepPlanner, AgentCluster, and LLMAgentCollaboration, are the main entry points. A quick-start example in the README shows how to produce a 30,000-word research report by decomposing the goal, running up to eight specialized agents, and iterating until a quality score threshold is met. Installation is through npm. Node.js 18 or later and an API key for a supported language model are the only prerequisites.
A TypeScript framework for coordinating teams of AI agents through planning, parallel execution, evaluation, and automatic retries until a quality bar is met.
Mainly TypeScript. The stack also includes TypeScript, Node.js, DeepSeek.
The README does not state a license.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.