Skip to content
3esignPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

SimPlato

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.

SimPlato screenshot

What It Does

  • 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 $LLM tokenomics for user queries, object placement, memory compression, and grid expansion.
  • Includes an interactive HUD for provider settings, memory inspection, telemetry, and simulation controls.

Project Shape

This repository is intentionally lightweight:

  • index.html defines the app shell.
  • style.css contains the full interface styling.
  • app.js, engine.js, state.js, ui.js, agent.js, events.js, and sound.js contain the runtime simulation.
  • config.js centralizes grid, tokenomics, prompt, memory, and provider settings.
  • run-server.ps1 starts a zero-dependency local PowerShell server.
  • dev-server.js provides a small Node HTTP server.
  • simplato_technical_specification.md documents the cognitive architecture and experimental model.

Quick Start

Option 1: PowerShell Server

This path does not require Node.js.

.\run-server.ps1

Then open:

http://localhost:3005

Option 2: Vite Dev Server

Install Node.js, then run:

npm install
npm run dev

The Vite server opens the app at:

http://localhost:3005

Local LLM Providers

SimPlato can run against local model servers. Browser security rules usually require CORS to be enabled for local provider APIs.

Ollama

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 serve

Inside SimPlato:

  1. Open settings.
  2. Select Ollama.
  3. Choose an installed model or pull a new one from the UI.

LM Studio

LM Studio is useful if you want a visual desktop interface for loading models, GPU offload settings, and manual model management.

Inside LM Studio:

  1. Download and load a model.
  2. Open the local server panel.
  3. Start the server at http://localhost:1234.
  4. Make sure CORS is enabled.

Inside SimPlato:

  1. Open settings.
  2. Select LM Studio.
  3. Choose the loaded model from the dropdown.

Memory System

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.

Deployment

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.

Repository Description

Suggested GitHub description:

A local-first spatial LLM simulation where conversation, semantic memory, and tokenomics become an interactive isometric world.

Status

SimPlato is an experimental research and interface prototype. The included technical specification captures the intended architecture, constraints, and future direction for the simulation.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages