Skip to content

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 ​

bash
curl -fsSL https://raw.githubusercontent.com/elthoria-ai/elthoria-harness/main/install.sh | bash

Windows (PowerShell) ​

powershell
irm https://raw.githubusercontent.com/elthoria-ai/elthoria-harness/main/install.ps1 | iex

Everything installs cleanly into ${ELTHORIA_HOME:-~/.elthoria} (verified via SHA-256) and never touches ~/.kompile. Then launch:

bash
# 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 doctor

2. Choose how you want to play ​

Launch the preconfigured Game Master TUI:

bash
~/.elthoria/bin/elthoria
# Pass any normal Kompile chat flags straight through:
~/.elthoria/bin/elthoria chat --model gpt-5.6-sol

On first launch, elthoria initializes ${ELTHORIA_HOME:-~/.elthoria}/kompile-harness with:

  • .mcp.json — spawns elthoria server --transport stdio --port 0 and binds get_play_dashboard as the pinned, read-only TUI dashboard with automatic refresh triggers after gameplay mutations
  • .kompile/roles/elthoria-gm.md — the external-GM role (exposing mcp_tool_search and mcp_tool_call so 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 intake
  • AGENTS.md — grounding instructions and visibility rules
  • kompile.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:

bash
~/.elthoria/bin/elthoria web --web-port 9181 --open-browser

For 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:

bash
~/.elthoria/bin/elthoria exec "Summarize the current campaign dashboard and open quest threads"

Option D: Standalone MCP Server (Claude Desktop, Codex, Antigravity, custom clients) ​

bash
# 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.1

WARNING

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
bash elthoria-mcp-server/stdio-smoke.sh

stdio-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:

  1. Walkthrough 1: Launching Your First Campaign — create a campaign, build a character, seed a blank living world, and verify the dashboard.
  2. Walkthrough 2: Tactical Combat, Initiative & Stealth — run an encounter on a tactical board with initiative, DF-QuAD recommendations, and stealthed NPCs.
  3. Walkthrough 3: Living World, Oracle & Custom Tables — use fate_check, custom weighted tables, story candidates, and weekly simulation ticks.
  4. Walkthrough 4: Hex Crawls, Dungeons & Persisted Boards — build overland hex maps, procedural dungeons, and revision-checked boards.
  5. Walkthrough 5: Rulebooks, Lorebooks & Content Workbench — wire keyword Lorebooks, crawl local PDFs into Kompile, and import verified Pathfinder 1e roll tables.

Built on the upstream Kompile harness. Released under the MIT License.