Your apps run only inside Retool.
Retool apps do export — as Retool’s own JSON or a Toolscript archive, containing queries, components and modules. But the format exists to move an app between Retool instances: cloud to self-hosted, or across your org. There is no build you compile and run on your own infrastructure. Leaving Retool means rebuilding, not exporting.
The contract is open, portable JSON you own, and the runtime is open-source and self-hosted. Walk away whenever you like — the artifact is yours and keeps running without us.