The Three Services
AllCodex is split into three decoupled components, keeping your lore storage, AI logic, and user interface separate:AllCodex Portal
A sleek, grimoire-themed web interface built in Next.js 16 and React 19. It serves as your control center.
AllKnower
The AI brain. Built on Elysia and Bun, it coordinates LLMs, handles vector embeddings, and processes relations.
AllCodex Core
The storage engine. A customized, headless fork of Trilium, serving as a highly flexible hierarchical lore database.
Core Capabilities
Discover how AllCodex transforms raw, unstructured worldbuilding notes into a dense, navigable wiki.Brain Dump Pipeline
Dump raw thoughts, campaign sessions, or messy notes. AllKnower streams the content to LLMs, extracts clean lore entities, and seeds them into your database.
AI Consistency & Gap Tools
Run automated analyses to detect logical gaps in your world, find contradictions, and suggest deep entity relationships.
Visual Relationship Graph
Explore your world through an interactive React Flow canvas. Filter relationships, traverse multi-hop connections, and see how your NPCs, factions, and locations connect.
RAG & Hybrid Search
Retrieve lore instantly. Fuses vector search (via LanceDB) with SQLite full-text search (BM25) to understand both literal keywords and conceptual queries.
Public Share Pages
Publish branches of your lore tree. AllCodex Core generates lightweight, read-only public pages for players, respecting GM-only content gates.
Token & Budget Observability
Track model costs, background jobs, and API calls with granular usage dashboards and customizable cost buffers.
Quick Navigation
Ready to get started? Follow the paths below:Quickstart Guide
Run the entire ecosystem in 2 minutes using Docker Compose, and execute your first lore brain dump.