Pi vs trueforge
TypeScript agent harnesses compared
Pi and trueforge are open-source TypeScript projects for building and running agents around language models. Pi centers on a customizable coding-agent CLI and reusable libraries, while trueforge bundles an agent runtime with chat, APIs, approvals, and deployment options.

Pi: Build and Customize a Coding Agent
Pi is a minimal, extensible coding-agent harness built with TypeScript and its pi-ai unified LLM API. Run it as a CLI on macOS, Linux, or Windows, or adapt its components and extensions to your own workflows.

trueforge: Run Agents with a TypeScript Agent Harness
TrueForge is a TypeScript agent harness that runs the execution loop around an LLM, including tools, session state, approvals and sandboxing. Use its chat UI, HTTP API and SDK in local or hosted deployments.
| Pi | trueforge | |
|---|---|---|
| Language | TypeScript | TypeScript |
| License | MIT | MIT |
| Stars | 117k | 6.4k |
| Forks | 15k | 550 |
| Last analyzed | Oct 23, 2026 | Oct 30, 2026 |
Key differences
- Pi focuses on coding tasks in a project directory and offers interactive, print, JSON, RPC, and SDK access; trueforge provides a general agent runtime with a bundled chat UI, HTTP API, and SDKs.
- Pi emphasizes customization through extensions, skills, themes, prompt templates, and packages; trueforge configures providers, MCP servers, skills, and sandbox options through YAML catalogs.
- Pi leaves sub-agents and plan mode to extensions or packages; trueforge includes subagents and context-management features such as deferred tool loading and compaction.
- Pi runs with the launching user's permissions and does not provide built-in access restrictions; trueforge supports isolated code and file operations in a sandbox, with Daytona supported today.
- Pi can be used on macOS, Linux, and Windows; trueforge supports local SQLite or hosted Postgres and Redis deployments, with Docker Compose, Helm, or Railway.
- Pi has 117k stars and 15k forks and is described as actively maintained; trueforge has 6.4k stars and 550 forks, and its repository is less than six months old and changing quickly.
Choose Pi if you…
- need a coding-agent CLI that can also be scripted, controlled over RPC, or embedded through TypeScript.
- want to tailor agent behavior with extensions, skills, themes, prompt templates, or packages.
- need installers for macOS, Linux, and Windows and are comfortable managing the agent's access permissions.
Choose trueforge if you…
- want an agent runtime with a bundled chat UI, HTTP API, and SDKs.
- need MCP tools, human approval checkpoints, and sandboxed code or file operations in one harness.
- plan to run locally with SQLite or deploy for shared use with Postgres and Redis.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.