SimPlato is a browser-based spatial LLM simulation where conversation, memory, and model behavior become an interactive isometric world. An autonomous agent moves through a grid, spends and earns $LLM tokens, stores semantic memories, and uses placed structures to shape retrieval, exploration, and response dynamics.
- Runs as a local-first web app with no hosted backend required.
- Connects to local LLM providers through Ollama or LM Studio.
- Maintains a persistent client-side memory ledger across page refreshes.
- Retrieves memories with a spatial scoring layer that blends semantic relevance, proximity, recency, conversation heat, and archive-object boosts.
- Supports autonomous exploration, self-evaluation, and
$LLMtokenomics for user queries, object placement, memory compression, and grid expansion. - Includes an interactive HUD for provider settings, memory inspection, telemetry, and simulation controls.
This repository is intentionally lightweight:
index.htmldefines the app shell.style.csscontains the full interface styling.app.js,engine.js,state.js,ui.js,agent.js,events.js, andsound.jscontain the runtime simulation.config.jscentralizes grid, tokenomics, prompt, memory, and provider settings.run-server.ps1starts a zero-dependency local PowerShell server.dev-server.jsprovides a small Node HTTP server.simplato_technical_specification.mddocuments the cognitive architecture and experimental model.
This path does not require Node.js.
.\run-server.ps1Then open:
http://localhost:3005
Install Node.js, then run:
npm install
npm run devThe Vite server opens the app at:
http://localhost:3005
SimPlato can run against local model servers. Browser security rules usually require CORS to be enabled for local provider APIs.
Ollama is the preferred provider if you want automatic model discovery, model pulls from inside the UI, and local embedding support.
Start Ollama with CORS enabled:
$env:OLLAMA_ORIGINS="*"
ollama serveInside SimPlato:
- Open settings.
- Select
Ollama. - Choose an installed model or pull a new one from the UI.
LM Studio is useful if you want a visual desktop interface for loading models, GPU offload settings, and manual model management.
Inside LM Studio:
- Download and load a model.
- Open the local server panel.
- Start the server at
http://localhost:1234. - Make sure CORS is enabled.
Inside SimPlato:
- Open settings.
- Select
LM Studio. - Choose the loaded model from the dropdown.
The memory layer stores agent exchanges locally and recalls them during future interactions. When embeddings are available through Ollama or LM Studio, SimPlato uses vector similarity. If embeddings are unavailable, it falls back to an offline TF-IDF term-overlap cosine similarity engine.
Recall is elastic rather than fixed. The app adjusts how many memories to surface based on ambiguity, entropy, coherence, inspiration, memory pressure, and nearby archive structures.
The app is static and includes a vercel.json, so it can be deployed to Vercel or any static host that serves index.html, JavaScript, CSS, and image assets.
For remote deployments, local LLM connections still depend on the user's browser being allowed to reach the local model server. Running SimPlato locally is the most reliable path for Ollama and LM Studio.
Suggested GitHub description:
A local-first spatial LLM simulation where conversation, semantic memory, and tokenomics become an interactive isometric world.
SimPlato is an experimental research and interface prototype. The included technical specification captures the intended architecture, constraints, and future direction for the simulation.
