agent.run()
OPEN-SOURCE EXTENSIONS

pi-durable-disk and pi-transport: the agent is the workspace

An agent's conversation and its files live together in one directory on a disk. Mount the disk on any Linux host or container, release it, and mount it somewhere else: the agent carries on where the last host released it. Its tool calls go to Daytona and Modal sandboxes, and Jev places each one on the sandbox that fits it. They can also run as serverless calls on an Archil disk.

Read the pi-durable-disk READMERead the pi-transport README

pi-durable-disk: mount it, release it, mount it again

A run is one directory, runs/<id> on an Archil disk. It holds pi's SQLite store with the conversation and every task, the agent's workspace, and run.json with the run's status, generation and holder.

Archil is the one disk in this release. The package needs an exclusive claim and a fence from the disk, and Archil gives both.

It does not sandbox an agent. Commands run as the run user, so run an agent you do not trust in your own sandbox. Linux is supported, and macOS is for development.

pi-transport: tool calls go to a sandbox

Experimental: the API changes without notice between releases.

The session, its store and its model calls stay with the host. Only the tool calls go to the box.

MCP servers, code mode and model calls stay with the Harness.

Try it

pick-up-a-run and the local box need no key.

git clone https://github.com/Parcha-ai/agentrun && cd agentrun
npm ci --ignore-scripts && npm run build
cd packages/pi-durable-disk && node examples/pick-up-a-run/main.ts

Install

npm install @parcha/pi-durable-disk@0.1.0-beta.33 @earendil-works/pi-durable@1.3.0 @earendil-works/pi-ai@1.3.0 @earendil-works/chord@1.3.0
npm install @parcha/pi-transport@0.1.0-beta.33

pi-durable and chord are peer dependencies, from 1.0.4 to below 1.4: Pi 1.4 is not supported yet, so the line pins 1.3.0, and a later release widens the range. Archil serverless calls take your own Archil SDK, the disk package. Node 22.19 or later. Apache-2.0.