piagent_
← ~/map

$ cat ~/map/pi-agent-substrate.md

pi-agent-substrate

Suspendable remote workspaces for pi and Oh My Pi, on a self-hosted Agent Substrate cluster.

extensions✓ Sep 22

Facts

repository
github.com/wolfiesch/pi-agent-substrate ↗
GitHub Stars
★ 10
Forks
0
license
Apache-2.0
npm / mo
—
last push
Sep 21, 2026

install

From a checkout: bun install --frozen-lockfile, then pi install . (or try it with pi -e ./src/pi.ts --substrate-endpoint <url>, pointing at your deployed Environment API or a loopback tunnel); requires Pi 0.86.1 with Node 22.19+, a deployed Environment API endpoint, and an operator-provided actor template containing ate-env-guest — the package does not provision infrastructure

## TL;DR

pi-agent-substrate connects pi or Oh My Pi to a self-hosted Agent Substrate cluster so files and processes live in a suspendable remote workspace while the conversation stays local — four substrate tools, /substrate lifecycle commands, opt-in idle suspension, and explicit isolation boundaries.

## Key points

## FAQ

Q Does the local conversation move to the remote workspace?

No — the conversation and terminal stay local; the four substrate_* tools are what act on the remote environment, while local built-in tools, shell shortcuts, other extensions, and subagents remain outside the routing boundary.

Q Does one adapter serve both pi and Oh My Pi?

The package ships separate pi and Oh My Pi adapters over one shared client and workspace state machine, and the README warns against loading both adapters in the same harness.

Q Does suspend happen automatically?

Only as an explicit opt-in: idle suspension is disabled by default (--substrate-idle-seconds defaults to 0), and active operations, tracked processes, or uncertain process starts prevent it; after a suspension attempt no new attempt is scheduled until further workspace activity.

## References

## Related entries

## Guides

Last updated: Sep 22, 2026