whatisgithub

What is pi-agents?

corbincald/pi-agents — explained in plain English

Analysis updated 2026-05-18

1TypeScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

In one sentence

An independent Pi coding agent distribution built around a persistent workspace for managing agent sessions and their transcripts.

Mindmap

mindmap
  root((pi-agents))
    What it does
      Persistent agent workspace
      Independent Pi distribution
      Keeps transcripts
    Tech stack
      TypeScript
      Node.js
    Use cases
      Manage agent sessions
      Unified LLM API
      Multi agent orchestration
    Audience
      Developers
    Setup
      Clone and npm install
      No built in permissions

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 a persistent coding agent workspace that keeps agent sessions and their transcripts intact across restarts.

USE CASE 2

Call multiple AI providers like OpenAI, Anthropic, and Google through one unified interface.

USE CASE 3

Build custom agent tooling on top of the core agent runtime's tool calling and state management.

USE CASE 4

Experiment with orchestrating multiple coding agents together using the orchestrator package.

What is it built with?

TypeScriptNode.js

How does it compare?

corbincald/pi-agents0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardeasy
Complexity3/54/52/5
Audiencedeveloperdeveloperdeveloper

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

No built-in permission system, so it runs with the full access of the launching user, the README does not fully document day-to-day usage.

MIT license: use, modify, and share freely, including for commercial purposes, as long as you keep the copyright notice.

So what is it?

Pi Agents is an independent version of Pi, a coding agent tool, built around a persistent workspace for managing agents. When you start it plainly, it opens straight into this workspace, and the individual worker sessions it manages still behave like normal Pi sessions underneath, keeping their full conversation history intact. The tool keeps its own internal state in a hidden folder under your home directory, separate from the regular Pi configuration. The project is organized into several packages. One provides a single way to talk to different AI providers such as OpenAI, Anthropic, and Google through one interface. Another is the core agent runtime that handles calling tools and keeping track of state. A third is the interactive command line coding agent itself, which is where the persistent Agents workspace lives. There is also an experimental package for orchestrating multiple agents together, still under active development, and a terminal interface library used to render the command line screens efficiently. The README is upfront that Pi Agents does not include any built in system for limiting what the agent can access. By default it runs with whatever permissions the user who started it already has, meaning it can read and write files, run processes, and reach the network without extra restriction unless you set that up yourself outside the tool. Beyond this, the README is fairly brief. It gives basic instructions for cloning the repository, installing dependencies without running their setup scripts, building the packages, and running checks and tests, but it does not go into detail about day to day usage beyond pointing to a separate documentation file inside the coding agent package. The project is written in TypeScript and released under the MIT license.

Copy-paste prompts

Prompt 1
Help me clone and build pi-agents from source using npm.
Prompt 2
Explain what the persistent Agents workspace in pi-coding-agent does.
Prompt 3
Show me how to add filesystem or network restrictions since pi-agents runs with full user permissions by default.
Prompt 4
Walk me through the packages in pi-agents and what each one is responsible for.

Frequently asked questions

What is pi-agents?

An independent Pi coding agent distribution built around a persistent workspace for managing agent sessions and their transcripts.

What language is pi-agents written in?

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

What license does pi-agents use?

MIT license: use, modify, and share freely, including for commercial purposes, as long as you keep the copyright notice.

How hard is pi-agents to set up?

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

Who is pi-agents for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.