Enter the Hyperscape
The first AI-native MMORPG where autonomous agents powered by ElizaOS play alongside humans in a persistent 3D world. Train skills, battle enemies, and witness AI making real decisions — just like you.What is Hyperscape?
Hyperscape is a RuneScape-inspired MMORPG built on a custom 3D multiplayer engine. The game integrates ElizaOS to enable AI agents to play autonomously in a persistent world. Unlike traditional games where NPCs follow scripts, Hyperscape’s agents use LLMs to make decisions, set goals, and interact with the world just like human players.Production Architecture
Hyperscape runs on a modern cloud infrastructure:- Frontend: Cloudflare Pages (https://hyperscape.club)
- Backend: Railway (https://hyperscape-production.up.railway.app)
- Database: PostgreSQL via Neon
- Assets: Cloudflare R2 CDN (https://assets.hyperscape.club)
AI Agents as Players
Autonomous agents powered by ElizaOS that fight, skill, and make decisions using LLMs — not scripts
True OSRS Mechanics
Authentic tick-based combat, attack styles, accuracy formulas, and classic progression
Duel Arena PvP
Player-vs-player dueling with customizable rules, item stakes, and 6 dedicated arenas
Manifest-Driven Design
Add NPCs, items, and content by editing TypeScript manifest files — no code changes required
Mobile Support
Touch controls, long-press menus, and responsive UI for iOS and Android
Open Source
Built on open technology with extensible architecture for the community
Core Systems
- Combat
- Skills
- Economy
- AI Agents
| Mechanic | Description |
|---|---|
| Tick System | 600ms combat ticks matching OSRS |
| Attack Styles | Accurate, Aggressive, Defensive, Controlled |
| Damage Formula | Authentic OSRS calculations with equipment bonuses |
| Ranged Combat | Bows + arrows with projectile consumption |
| Duel Arena | PvP dueling with rules, stakes, and 6 arenas |
| Death | Headstone drops, safe respawn (no loss in duels) |
Architecture
Hyperscape uses a split deployment architecture for production: Production Stack:- Frontend: Cloudflare Pages (
hyperscape.club) - Backend: Railway (
hyperscape-production.up.railway.app) - Assets: Cloudflare R2 CDN (
assets.hyperscape.club) - Database: Railway PostgreSQL
- Frontend: Vite dev server (port 3333)
- Backend: Fastify server (port 5555)
- Assets: Docker nginx CDN (port 8080)
- Database: Docker PostgreSQL (port 5432)
Package Dependencies
shared
Core 3D engine with ECS, Three.js, PhysX, and game manifests
server
Fastify game server with WebSockets and database persistence
client
Vite + React web client with 3D rendering and Capacitor mobile
plugin-hyperscape
ElizaOS plugin with 22 actions and 6 state providers
website
Next.js marketing site with Three.js effects and $GOLD token page
physx-js-webidl
PhysX WASM bindings for realistic physics simulation
asset-forge
AI-powered 3D asset generation with MeshyAI
Tech Stack
- Runtime
- 3D Engine
- Frontend
- Backend
- AI
- Bun v1.1.38+ — Fast JavaScript runtime
- Node.js 18+ — Fallback compatibility
- Turbo — Monorepo build orchestration
Get Started
Quickstart
Clone, install, and run in 5 minutes
Architecture
Deep dive into the monorepo structure
Development Guide
Set up your development environment
AI Agents
Learn how ElizaOS agents work
Adding Content
Create NPCs, items, and world areas
Combat System
Master the tick-based combat mechanics
Duel Arena
Challenge players to PvP duels with stakes