examples/ai-and-user-generated-actors-freestyle/README.md
Shows how to deploy user or AI-generated Rivet Actor code using a sandboxed namespace and Freestyle
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/ai-and-user-generated-actors-freestyle
npm install
npm run dev
The logic lives in src/backend/:
registry.ts) and frontend code (App.tsx)deploy-with-rivet-cloud.ts and deploy-with-rivet-self-hosted.ts)utils.ts)registry.ts and App.tsx code in the editorsregistry.ts and App.tsx code in the editorssrc/
backend/ # Backend used to deploy your sandboxed Rivet backend code
frontend/ # Frontend for the deploy UI you'll be using
template/ # The Rivet template code to deploy with Rivet
src/
backend/ # Actor code to be deployed
frontend/ # Frontend to be deployed
tests/ # Vitest tests
Read more about AI and user generated actors.
MIT