PAIPAI

Guides

How Persuit developers build Persi agent features with PAI.

Start with Getting started if you do not have an app yet.

Each top-level page is the basics. Nested pages are the working set when you need branches, failure cases, or the rest of the API.

A good first week: tools, identity, serve (Mongo), then React.

Build the agent

Run it in Persuit

Ship it

To see every public export in one place, open the API reference.

Production defaults

NeedPackage
HTTP@pai/express
Threads@pai/storage-mongo
Live watch across processes@pai/realtime-redis
Attachments@pai/files-mongo
Code/workspace tools@pai/sandbox + @pai/sandbox-gke
Traces@pai/observability + @pai/langfuse
Typed clientpai generate client

On this page