whatisgithub

What is pi-fleet?

elpapi42/pi-fleet — explained in plain English

Analysis updated 2026-05-18

3TypeScriptAudience · developerComplexity · 4/5Setup · moderate

In one sentence

A command line tool for creating, messaging, and monitoring many Pi AI agents at once from your own scripts.

Mindmap

mindmap
  root((repo))
    What it does
      Controls many Pi agents
      Returns structured JSON
      Tracks session lifecycle
    Tech stack
      TypeScript
      Node.js CLI
      Linux x64 only
    Use cases
      Orchestrate many agents
      Build dashboards on top
      Script automated workflows
    Audience
      Developers
      Agent orchestration builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run and coordinate dozens of Pi agents without opening a terminal for each one.

USE CASE 2

Build an orchestrator that assigns tasks to many agents and collects their results.

USE CASE 3

Feed live agent conversation data into your own dashboards or monitoring tools.

USE CASE 4

Script automated workflows that create an agent, send it work, and wait for a reply.

What is it built with?

TypeScriptNode.jsCLI

How does it compare?

elpapi42/pi-fleet000madz000/payload-test-api-route-handlerakash-sr/memobsidian
Stars333
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderateeasymoderate
Complexity4/52/53/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Currently Linux x64 only, needs a specific Node.js version range, and requires existing Pi provider credentials configured.

So what is it?

pi-fleet is a command line tool for controlling many AI coding agents at once, specifically ones built on a system called Pi. Instead of watching each agent run in its own terminal window, which becomes impractical once you have dozens or hundreds running, pi-fleet gives you a way to create, message, check on, and shut down these agents through simple commands that return structured data your own programs can read. The project positions itself as different from terminal tools like tmux, which just show you the raw output of a running process. pi-fleet instead understands the specific way Pi agents work: whether an agent is currently busy or waiting, whether a message it was sent was actually accepted, and what its exact last response was. Other software, such as an orchestrator that assigns tasks to many agents or a dashboard that tracks their progress, is expected to be built on top of pi-fleet rather than included in it. Each agent you create gets a stable name you refer to it by, plus its own underlying Pi session, which is a record of everything said in that conversation. Importantly, pi-fleet does not own or modify these session files. They stay in Pi's normal storage format, so other tools can read or analyze them independently, and deleting an agent from pi-fleet never deletes its underlying session. Typical commands let you create a named agent, send it a task, wait for it to finish and receive its answer, check its current status, or watch its conversation update live. Every command that completes returns one clean block of structured data, making it straightforward to hook into scripts or other software. The tool currently only runs on Linux computers with a specific range of Node.js versions installed, and is installed through npm as a beta package. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Help me install pi-fleet on Linux and create my first named Pi agent.
Prompt 2
Show me how to use pifleet send and pifleet receive to submit a task and get the exact response back.
Prompt 3
Explain how pi-fleet's session handling differs from just watching a terminal with tmux.
Prompt 4
Walk me through scripting an orchestrator that creates several pi-fleet agents and waits for all their results.

Frequently asked questions

What is pi-fleet?

A command line tool for creating, messaging, and monitoring many Pi AI agents at once from your own scripts.

What language is pi-fleet written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, CLI.

How hard is pi-fleet to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is pi-fleet for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.