Skip to main content
Pi Coding Agent is a TypeScript coding agent with seven built-in tools (read, write, edit, bash, grep, find, ls). Mirage provides an extension factory that swaps Pi’s host-backed operations for Workspace operations.
Node only. Pi is a CLI agent; it uses process.cwd(), agent directories, and other Node-only APIs.

Install

Usage

Exports

mirageExtension accepts { cwd?: string }, defaults to '/', which tells Pi the working directory inside the mounted workspace.

Examples