pi logo

pi

AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI

discordnpm
GitHub

What is it?

What it is

> New issues and PRs from new contributors are auto-closed by default. Maintainers review auto-closed issues daily. See CONTRIBUTING.md.

Why it exists

AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI

Who should use it

Teams building with TypeScript who want an open-source, self-hosted option.

Who should avoid it

Teams that need a fully managed SaaS with enterprise SLAs out of the box.

How it works

A quick walkthrough in plain English

How pi works

Step 1 of 3

You interact with it

Open pi, send a request, or connect it to your stack.

Features

Open source
Documented setup

Advantages

  • Open source (MIT)
  • Active TypeScript ecosystem
  • Self-hosted deployment options

Disadvantages

  • Requires operational ownership for self-hosted setups
  • Community support varies by project maturity

Installation

native

npm install --ignore-scripts  # Install all dependencies without running lifecycle scripts
npm run build         # Refresh model data, then build all packages
npm run build:offline # Rebuild using existing model data without network access
npm run check         # Lint, format, and type check
./test.sh            # Run tests (skips LLM-dependent tests without API keys)
./pi-test.sh         # Run pi from sources (can be run from any directory)

FAQ

What is pi?

pi is an open-source project licensed under MIT.

What language is pi built with?

Primary language: TypeScript.

Is it free to use?

Yes. Licensed under MIT. Check the license for commercial use.

Loading documentation…
View on GitHub

Featured in Videos

YouTube tutorials and walkthroughs for pi

Alternatives

Similar projects ranked by category, topics, and text overlap.

Compare
pi | MushyBook