← Back to Registry
PI

PI

Agent

Run the PI coding agent with lightweight, fast execution.

1. Install

npm install @agentos-software/pi

2. Add to agentOS

Register the PI adapter as your VM's software: [], then open a session with the pi agent id.

import { agentOS, setup } from "@rivet-dev/agentos";
import pi from "@agentos-software/pi";

// Register the PI adapter as VM software
const vm = agentOS({ software: [pi] });

export const registry = setup({ use: { vm } });

// Then start a session from your client with the "pi" agent id:
// const session = await agent.createSession("pi", { env: { /* API keys */ } });