Quick Start
Get Elthoria running locally in a few minutes as either a Kompile-backed AI Game Master harness (elthoria) or a standalone headless MCP server (elthoria server) for any MCP-capable client.
TIP
Looking for model authentication, provider setup, or CLI/Web chat basics? Elthoria delegates all model, auth, and chat infrastructure to the upstream Kompile harness. See Kompile Installation & Updates ↗ and Starting an Agent & Remote Sign-In Walkthroughs ↗.
Prerequisites
- Zero separate Kompile installation required — the installer downloads one self-contained package bundling Kompile CLI + Web Chat, Elthoria MCP server, GM role & skills, and zero-Angular Tactical/Hex/World web panels.
- Automatic Java provisioning — if no Java 17+ runtime is present on your system, Elthoria bootstraps one automatically into
~/.elthoria/runtime/on first launch. - A remote AI subscription or API key — sign in with ChatGPT, Claude, Gemini, GitHub Copilot, OpenRouter, or any supported API-key provider (no local GPU required). See Connecting an AI Provider.
1. Install Elthoria
macOS & Linux
curl -fsSL https://raw.githubusercontent.com/elthoria-ai/elthoria-harness/main/install.sh | bashWindows (PowerShell)
irm https://raw.githubusercontent.com/elthoria-ai/elthoria-harness/main/install.ps1 | iexEverything installs cleanly into ${ELTHORIA_HOME:-~/.elthoria} (verified via SHA-256) and never touches ~/.kompile. Then launch:
# Web Play UI (Chat + Tactical Board + Hex Board + World Inspection)
elthoria web --web-port 9181 --open-browser
# Or interactive GM terminal chat
elthoria
# Verify installation health
elthoria doctor2. Choose how you want to play
Option A: Interactive Kompile GM Harness (recommended)
Launch the preconfigured Game Master TUI:
~/.elthoria/bin/elthoria
# Pass any normal Kompile chat flags straight through:
~/.elthoria/bin/elthoria chat --model gpt-5.6-solOn first launch, elthoria initializes ${ELTHORIA_HOME:-~/.elthoria}/kompile-harness with:
.mcp.json— spawnselthoria server --transport stdio --port 0and bindsget_play_dashboardas the pinned, read-only TUI dashboard with automatic refresh triggers after gameplay mutations.kompile/roles/elthoria-gm.md— the external-GM role (exposingmcp_tool_searchandmcp_tool_callso hundreds of RPG schemas don't bloat every prompt).kompile/skills/elthoria-{play,turn,recap,rules,content}.md— player-facing slash skills for play loops and PDF content intakeAGENTS.md— grounding instructions and visibility ruleskompile.project.json+data/input_documents/elthoria/— the single folder-local Kompile knowledge base (kompile-harness-knowledge)
Option B: Trusted-local Web Play Harness
Open the browser-based play workspace backed by one persistent local runtime:
~/.elthoria/bin/elthoria web --web-port 9181 --open-browserFor full Web Harness features (multi-pane streaming, SSE reconnect, embedded terminal, and process logs), see Kompile Web Harness ↗.
Option C: One-shot headless GM turn
Run a single turn from a script or terminal:
~/.elthoria/bin/elthoria exec "Summarize the current campaign dashboard and open quest threads"Option D: Standalone MCP Server (Claude Desktop, Codex, Antigravity, custom clients)
# Isolated stdio process per client (recommended for .mcp.json / Claude Desktop)
~/.elthoria/bin/elthoria server --transport stdio --port 0
# Shared localhost SSE server (serves /mcp/sse — keep bound to 127.0.0.1)
~/.elthoria/bin/elthoria server --transport sse --port 8083 --server.address=127.0.0.1WARNING
Localhost only. The headless server hosts application HTTP endpoints alongside MCP and does not provide a public-network authentication boundary. Always keep --server.address=127.0.0.1 unless you add an external access-control layer.
3. Run the automated mechanical smoke test
Before starting a real campaign on a freshly built distribution, verify the MCP handshake, tool catalog, campaign creation, table rolling, board persistence, initiative advance, and restart recovery in a disposable workspace:
bash elthoria-mcp-server/stdio-smoke.shstdio-smoke.sh creates a temporary home and H2 database, runs without calling any external LLM, and leaves ~/.elthoria untouched.
4. Play your first session
Jump straight into the hands-on walkthroughs:
- Walkthrough 1: Launching Your First Campaign — create a campaign, build a character, seed a blank living world, and verify the dashboard.
- Walkthrough 2: Tactical Combat, Initiative & Stealth — run an encounter on a tactical board with initiative, DF-QuAD recommendations, and stealthed NPCs.
- Walkthrough 3: Living World, Oracle & Custom Tables — use
fate_check, custom weighted tables, story candidates, and weekly simulation ticks. - Walkthrough 4: Hex Crawls, Dungeons & Persisted Boards — build overland hex maps, procedural dungeons, and revision-checked boards.
- Walkthrough 5: Rulebooks, Lorebooks & Content Workbench — wire keyword Lorebooks, crawl local PDFs into Kompile, and import verified Pathfinder 1e roll tables.