For AI agents: Documentation index at /llms.txt

Skip to content

Orthogonal persistence

Orthogonal persistence is the mechanism by which Motoko preserves an actor’s state across canister upgrades automatically: no database, no stable memory API, no serialization code. This section covers the classical and enhanced persistence models and the trade-offs between them.