Quickstart
Quickstart Guide
This guide will walk you through the core workflow of MindSim: creating a Mind, training it with data (Snapshots), and running a Simulation.
Prerequisites
- Install the SDK:
npm install mindsim - Authenticate: Run
mindsim authin your terminal and follow the browser prompts.
The Workflow
1. Initialize the Client
Import the client and instantiate it. If you have run mindsim auth, you do not need to pass an API key explicitly.
2. Create a Mind
A “Mind” is the container for the digital persona you are building.
3. Upload Training Data (Snapshot)
Upload a transcript, PDF, or document to train the mind. The SDK handles the file upload strategy automatically.
4. Wait for Processing
Snapshots take time to analyze. You must wait for the status to change to completed before simulating.
5. Run a Simulation
Once trained, you can ask the Mind how it would respond to a specific scenario.
