Skip to main content
Pi: Extensible AI Agent Toolkit and Coding CLI
AI WorkflowAI workflowGitHub source ZIP and repository

Pi: Extensible AI Agent Toolkit and Coding CLI

Pi is a TypeScript AI agent toolkit with a unified multi-provider model API, an agent runtime, a terminal UI library, and an interactive coding CLI. Extensions, skills, prompt templates, and themes support workflow customization. The supplied material does not describe video generation.

Delivery

GitHub source ZIP and repository link

Project language

TypeScript

Download GitHub source ZIP

This is an upstream source snapshot at a fixed commit, separate from any ENHE package.

AI workflow details

This workflow comes from a GitHub repository. Review the delivery and verification status below before using it.

Application area

编程开发

Project type

Workflow

License

MIT

Delivery

GitHub source ZIP and repository link

GitHub stars

116,962 · 10/22/2026

Package verification

Automated test did not pass

Link-only reason: The project's automated test did not pass in the isolated run.

Workflow introduction

Workflow introduction

Review core features, use cases, and delivery details.

Project overview

Pi is an extensible AI agent toolkit. It provides both a terminal-based coding assistant and TypeScript libraries for building applications, including a unified multi-provider model API, tool calling, state management, and terminal UI capabilities. This is a software repository, not a resource directory. Although its listing topic is video generation, the supplied README does not describe video generation capabilities, so it should not be presented as a video generation tool.

Use cases

Pi suits users who want an AI coding assistant working in a project directory, as well as developers integrating agent capabilities into applications or automated workflows. It can be used interactively, automated through print or JSON mode, controlled from another program through RPC, or integrated into applications through its TypeScript SDK. Workflows can be customized with extensions, skills, prompt templates, and themes, then bundled as Pi packages and shared through npm or Git.

What it does and problems it solves

Pi provides a unified interface for multiple model providers, alongside tool calling and state management for agents carrying out tasks. These libraries let developers reuse foundational agent capabilities. Its terminal UI library and coding assistant support command-line interaction with an agent. The defaults do not include sub-agents or plan mode. Pi also has no built-in permission system restricting filesystem, process, network, or credential access; it uses the permissions of the user and process that launch it. If isolation is needed, consult the original repository's containerization documentation for the Gondolin extension, Docker, or OpenShell options.

How to use

1. Install Pi using the instructions below and prepare the project directory where you want it to work. 2. Open a terminal and enter `cd /path/to/project`, replacing `/path/to/project` with your actual project directory path. 3. Enter `pi` to start the interactive assistant. 4. Enter `/login` inside Pi to connect a subscription or API key for a built-in AI provider. The supplied material does not provide pricing information for these services. 5. Describe the task you want Pi to perform. For automation, RPC control, SDK integration, or custom extensions, consult the corresponding documentation in the original repository; the supplied README does not include complete operating parameters for these workflows.

Installation

1. Prepare Node.js 22.19 or newer, which is the runtime requirement stated in the README. The supplied material does not give separate instructions for installing Node.js. 2. For the npm installation option, run `npm install -g --ignore-scripts @earendil-works/pi-coding-agent` in a terminal. The README states that normal npm installation does not require dependency lifecycle scripts; this option does not pin all transitive dependency versions. 3. Alternatively, obtain the official installer entry point from the original repository below this page and follow its instructions for your system. The README provides installers for macOS, Linux, and Windows, stating that they can install Node.js if needed and pin dependency versions. Installer-based installations can be updated with `pi update`. 4. After installation, follow the usage steps above to enter your project directory and run `pi`. This listing only provides the repository link; runnable packages and core workflows have not been validated, so successful operation after installation is not guaranteed here.

Source and usage notes

- Original repository: https://github.com/earendil-works/pi - Source revision: 58c0b02ce552adab76014e7ed712ab7981359aa8 This listing links to the upstream repository. It does not provide a verified download package, and the complete workflow has not been independently validated. This description was organized and translated with AI from public upstream material. Refer to the original repository for capabilities, setup requirements, costs, and license terms.

Changelog

0 records

Important version notes will be added when availability, delivery details, or usage guidance changes. Review the current page information before purchase or use.

User comments

Log in to comment.

FAQ

How do I get this workflow?

Use Get workflow to open the GitHub repository. ENHE does not provide a download package for this entry; follow the upstream instructions.

What should I check before using it?

Check the upstream setup instructions, runtime requirements, version, and the verification status shown on this page. A repository link does not mean ENHE has verified the complete workflow.

Does access include third-party services and permissions?

Check the upstream license and each service provider's terms. Model APIs, accounts, hosting, and other dependencies may have separate requirements or charges; follow the stated delivery scope.