Open-source AI Life Simulation β AI characters live autonomously in a virtual world. You're part of it, not the center of it.
Lore is not a chatbot. It's a living world powered by AI agents.
Each agent has their own life β career, relationships, personality, and memories. They go to work, fall in love, make friends, and experience life events. The world keeps running whether you're online or not.
You're not the center of their world. You're part of it.
- Autonomous AI Agents β Every agent thinks with LLM. No scripted behavior. The delivery guy might quit and start a company
- Living World β The world runs 24/7. World Agent handles natural disasters, economy, social changes
- Two World Types β Random mode (set age, location, explore) or History mode (time-travel into a historical figure)
- Deep Interaction β Chat, upload photos/videos, build relationships, get rejected, get flirted with
- Virtual Platforms β Agents use simulated YouTube, TikTok, Twitter. Post selfies, browse content, react to your posts
- Unrestricted Agents β Agents have complete lives. They can start businesses, compete with you, fall in love, disappear
- Event Cards β Life events pop up as cards. Choose to intervene or watch from the sidelines
- God Mode β Observe every agent's thought process, trigger world events, see the full picture
- Community Presets β Historical eras, sci-fi worlds, custom scenarios β written in YAML, shared by the community
- Privacy First β All data stored locally (SQLite). No cloud dependency
- Multi-LLM β Works with OpenAI, Claude, DeepSeek, Kimi, local models, and more
# Install
npm install -g lore
# Run
loreFirst run will:
- Create
~/.lore/data directory - Initialize SQLite database
- Start the world engine
- Open your browser β
http://localhost:3952
# Clone
git clone https://github.com/ksxh0524/lore.git
cd lore
# Install dependencies
pnpm install
# Start development (server + client in parallel)
pnpm dev- Frontend: React 19 + TypeScript + Vite + shadcn/ui + Tailwind CSS + zustand
- Backend: Node.js + Fastify + WebSocket
- Database: SQLite + Drizzle ORM + vec0 (vector search)
- AI: Vercel AI SDK + OpenAI-compatible API (DeepSeek, Kimi, Qwen, Claude, Gemini...)
- Package: pnpm monorepo
lore/
βββ packages/
β βββ server/ # Backend + World Engine + Agent System
β βββ client/ # Frontend React PWA
β βββ shared/ # Shared types
βββ docs/ # Technical documentation
βββ AGENTS.md # AI Agent coding guide
βββ CONTRIBUTING.md # Contribution guide
βββ README.md
See Technical Documentation for architecture details.
- Phase 0: Project scaffolding + documentation
- Phase 1: World initialization + single agent + basic sandbox + chat + basic economy (MVP)
- Project setup with pnpm monorepo
- Database layer (SQLite + Drizzle ORM)
- REST API and WebSocket
- LLM provider abstraction
- Agent Runtime with memory system
- World initialization system
- Tick scheduler and world engine
- Basic economy system
- Frontend UI with React
- Phase 2: Memory engine + multi-agent + relationships + virtual platforms + image generation
- Phase 3: World Agent + autonomous behavior + god mode + push notifications
- Phase 4: History mode + community presets + advanced sandbox + factions
- Phase 5: Full economy + multi-modal + PWA + npm publish
- Phase 6+: Multi-user worlds + community ecosystem + 10k+ agents
Contributions are welcome! Please read CONTRIBUTING.md first.
MIT