Trending / repos

earendil-works/

pi

PI IS A TYPESCRIPT TOOLKIT FOR BUILDING AI AGENTS, WITH

77K Stars9.5K Forks61 Issues

Pi Agent Harness for TypeScript AI Agents

earendil-works/pi · TypeScript

Pi is a TypeScript toolkit for building AI agents, with a unified LLM API, agent runtime, terminal UI, and an interactive coding agent CLI. The project packages its core agent loop separately from its coding interface, making it useful for developers who want to experiment with agent workflows, automate coding tasks, or embed model-driven behavior into developer tools.

Stars
77K
Forks
9.5K
Issues
61
PRs
15

Open on GitHubArchive stats

Pi Agent Harness for TypeScript AI Agents

Pi provides a TypeScript toolkit for building AI agents. It includes a unified LLM API, an agent loop, a terminal UI, and a coding agent CLI.

What it includes

- `@earendil-works/pi-agent-core`: core agent runtime
- `@earendil-works/pi-coding-agent`: interactive coding agent CLI
- Terminal UI support for agent interaction

The project targets developers building model-driven tools, coding assistants, and agent workflows that need a reusable runtime rather than a single-purpose chatbot.