Yozakura is an AI-powered social simulation in which characters (including the user) move around a map, interact with each other via the user's LLM of choice, and form memories and intentions towards each other, creating a dynamically evolving narrative with up to dozens or even hundreds of characters.
If you want to use Yozakura, head to the getting started guide for download and installation instructions for the Electron app or Docker image.
If you want to contribute, tinker, or you just prefer the git clone installation method, continue reading below.
- Node.js v24 (see .nvmrc for the exact recommended version)
- Git
If you want to run a production build and use the application, run these commands after installing Node.js and Git:
git clone https://github.com/mistval/yozakura.git
cd yozakura
git checkout main
npm install --prefix client
npm install --prefix server
npm run build:web
npm run start --prefix serverThen go to http://localhost:3001/ in your browser.
If you want to run Yozakura in dev mode, then after cloning, run:
npm install --prefix client
npm install --prefix server
npm run devThis runs the server and the client concurrently with hot reloading.
That should be all you need to do to get it running. Navigate to http://localhost:5173/ in your browser to see the app.
To debug both the server and the client from within VS Code, the repo ships two VS Code launch configurations in .vscode/launch.json:
- Start the server in debug mode — run the Debug Server launch configuration. This starts the server with the Node debugger attached.
- Start the client — run the client with
npm run dev --prefix client. - Attach to the client — run the Debug Client launch configuration, which opens Chrome against the running client and attaches the debugger.
Please submit features requests to Discussions and bug reports to Issues.
You can also join my Discord for either purpose or others.