Agents that carry on after a restart
One agent definition runs on SQLite, Postgres, MySQL or a Durable Object. pi-durable commits every message, tool call and decision before anyone sees it, so a crash loses nothing and an approval can wait for days.
Packages
Each package does one part; an app installs the ones its host needs.
- @chia1104/motoko-coreAgent definitions, the host contract and the runtime
- @chia1104/motoko-nodeSQLite per scope, and calls and session events over HTTP
- @chia1104/motoko-cloudflareAn Agents SDK capability on a Durable Object's SQLite and alarm
- @chia1104/motoko-clientThe browser client over a WebSocket or HTTP, with React hooks
- @chia1104/motoko-wireWire events, cursors, the reducer and the protocols
- @chia1104/motoko-store-postgresA Postgres store on Drizzle, with migrations
- @chia1104/motoko-store-mysqlA MySQL 8.0.24+ store on Drizzle, with migrations
pnpm add @chia1104/motoko-coreStart with the runtime, then add the package for your host.