AIScientists-Dev/WorldSeed
A tick-driven world engine for simulating agents with private views and shared state
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
WorldSeed is a stateful, tick-driven simulation engine rather than a pipeline of agent calls. A YAML scene defines entities, physics, actions, rules, and what each character can perceive. On each tick, agents receive filtered views and propose actions. The engine resolves predictable outcomes through the scene DSL and sends uncertain cases to an LLM Dungeon Master (DM). The DM returns structured effects rather than free-form prose; the engine applies them to shared state. Slow or offline agents do not have to hold up the clock.
The Python package lives under src/worldseed, and the worldseed console script maps to worldseed.cli:main. The server stack includes FastAPI and Uvicorn, with Pydantic and PyYAML among the core dependencies. OpenClaw and Codex subagents have documented integration paths for character agents. The optional dm extra supplies LiteLLM and Instructor for model-backed adjudication. These are distinct roles: agents propose actions, while the referee helps resolve their consequences.
Key Capabilities & Differentiators
The strongest capability is asymmetric perception over shared state: characters in the same scene can act on different information. The dashboard gives a human a global observer view, supports private messages to nudge individual agents, and lets a participant take over a character. State changes are logged and past runs can be replayed, which lets a team inspect how interactions unfolded without trying to reproduce every model decision.
The create-world skill generates scene and UI YAML that can be edited by hand; worldseed validate checks a scene before launch. Model selection for the referee goes through LiteLLM, with OpenAI, Anthropic, and Ollama listed as examples. The Autoresearch demo illustrates how one scene tracked hypotheses, commits, experiments, citations, and reviewer reasoning while optimizing TinyStories validation loss. That run is an example of scene-specific provenance, not a general engine benchmark or evidence that arbitrary scenes will produce useful artifacts.
Trade-offs & Limitations
A conventional task-graph orchestrator is easier to reason about when step order, handoffs, and completion criteria are known up front. WorldSeed is a better fit when interactions should follow from shared state and limited visibility, but teams must design the action space, perception filters, and rules rather than just connect tasks. A purely deterministic simulator offers stronger repeatability; WorldSeed uses semantic judgment for cases the DSL does not cover. Replaying a recorded run is not the same as rerunning a scene and getting the same outcome.
Keeping frequent actions in the DSL limits reliance on model calls. As more actions need the referee, provider latency, quotas, cost, and inconsistent judgments matter more. A non-blocking clock preserves progress but does not guarantee that every agent contributes to each tick. Before adopting it for longer runs, test how visibility rules and structured effects interact in the target scene. The pytest configuration also notes cross-test pollution from server route singletons under sequential execution, a concrete isolation concern for teams extending the server.
Hardware & Deployment Guide
The local self-hosted path uses Python 3.11+, Node.js 18+, and uv. From the checkout, run uv sync --extra dm, then run npm install and npm run build in frontend/. Copy .env.example to .env and configure the chosen provider. Start a bundled scene with uv run worldseed play configs/ai_layoffs.yaml and open http://localhost:8000. The CLI also exposes the separate validate command for checking a scene before launch.
Self-hosting the engine does not automatically self-host the models. A hosted provider moves inference off the WorldSeed machine; a local backend such as Ollama is an option for the referee, but a fully offline run also requires the character agents and any tools they call to operate locally. Size for active agents, inference concurrency, and run-log growth; local inference hardware depends on the models you choose. The package declares version 0.1.0, but no GitHub release is listed, so the package version is not evidence of a release cadence.
dm extra adds LiteLLM and Instructor.worldseed validate checks scene configuration before launch.Multi-agent research, interactive fiction, and sandbox exercises where roles have different information, actions change a shared world, and humans need to inspect or intervene as the run unfolds.
Your process is a fixed task graph, identical re-execution is mandatory, or you need production isolation guarantees that you have not validated in your own deployment.
Quick Start & Installation
git clone https://github.com/AIScientists-Dev/WorldSeed && cd WorldSeed uv sync --extra dm cd frontend && npm install && npm run build && cd .. cp .env.example .env # Add your API key (any LiteLLM provider: OpenAI, Anthropic, Ollama, etc.) uv run worldseed play configs/ai_layoffs.yaml
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| WorldSeed ★ | 827 | +3 | Python | MIT | A tick-driven world engine for simulating agents with private views and shared s |
| AutoGPT | 188.3k | +74 | Python | — | Coordinate specialist AI agents through chat and build repeatable visual workflo |
| paperclip | 119.3k | +1.6k | TypeScript | MIT | Self-hosted control plane for coordinating AI agents, tasks, approvals, and spen |
| dify | 162.4k | +370 | Python | — | Visual workflow and RAG workspace for building and serving LLM apps |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/AIScientists-Dev/WorldSeed.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about WorldSeed
How do I connect my own agents without exposing the whole world state?
Do I need a GPU, and what drives runtime overhead?
Can I self-host it commercially under the MIT license?
When should I choose WorldSeed over a workflow orchestrator or a conventional simulator?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy