Aikami is a rough work in progress — expect rough edges and frequent changes.
Every NPC
remembers what
you did.
Aikami is an AI-driven RPG engine with a real D&D Game Master — no pre-written scripts. Steal from a merchant and they remember. Run your own copy on your own hardware, bring your own API keys, and never pay a subscription.
NPCs that remember.
Steal from a merchant and they remember. Save a village and word spreads. Every NPC keeps short-term memory for the moment, and long-term memory that persists across sessions — so the world reacts to what you actually did, not a script.
What's happening right now — the conversation, the fight, the deal in progress.
What the world knows about you — your deeds, your debts, your reputation. It survives across sessions.
Click any node to inspect the agent's current state.
Choices that actually change the story.
Dialogue and quests aren't pre-written — the AI builds them as you play, and every choice branches the tale. Two players who start in the same village can end up in completely different worlds.
Factions that talk to each other.
Help one group and their rivals will know. Factions are generated per playthrough, with their own beliefs, alliances, and grudges — and your reputation follows you between them.
A real D&D Game Master, not a chatbot with a dice emoji.
Every NPC in Aikami carries a real D&D character sheet — ability scores, skills, and HP that the AI Game Master actually uses. An NPC with high Wisdom will see through your bluffs. One with low Charisma stumbles over their words. When you try to persuade a guard, the AI GM weighs your Charisma against their Wisdom, their mood, their faction, and what they remember about you — then calls for the roll.
The AI GM orchestrates everything.You describe what your character does — no skill menus, no scripted combos. The Game Master decides if it's feasible, which check to roll, when a battle starts, and how the world answers back.
Create any NPC on the fly.
Pick an archetype below and watch a full character come together — portrait, ability scores, lorebook backstory, and opening dialogue, in seconds.
Select an archetype above or type a custom prompt to generate an NPC.
This preview simulates what the AI pipeline produces with bundled example data — in the actual engine, every field is generated live by local AI models running on your hardware.
From browser to native desktop. Same world, same NPCs.
One world, every platform. The same world state streams in real time across the Web Client and the Tauri v2 desktop app — play in your browser, pick up on your desktop, same NPCs, same story. Saves live on your own machine first, with optional cloud sync for multi-device play. And every character is rendered from dynamically assembled LPC (Liberated Pixel Cup) sprite layers, so each NPC looks as unique as their story.
Web Client
Svelte 5 + PixiJS v8
Play instantly in any modern browser. Full 2D rendering with WebGL, WebSocket sync, and offline PWA support. Auto-generated LPC character sprites rendered in real-time.
Desktop
Tauri v2
Native desktop experience with Rust-powered performance. File system access, system tray, and multi-window support across Windows, macOS, and Linux.
Aikami dynamically generates every NPC's visual appearance using the LPC (Liberated Pixel Cup) sprite system. Each character is assembled from modular layers — head, body, hair, torso, legs, and feet — chosen to match the NPC's generated archetype, faction, and backstory. Expression packs auto-update based on conversation context (happy, sad, angry, surprised) and situational scene images are generated on demand by the AI pipeline. Background music shifts with mood. NPCs speak with unique AI-generated voices. ComfyUI and Kokoro TTS run locally by default, but you can swap in any supported provider — ElevenLabs, Stability AI, DALL·E, and more. No static sprite sheets. Every character is unique.
Player moves, dialogue, combat
State sync layer
Svelte 5
Tauri v2
All clients share a single world state. Play on web, continue on desktop — same world, same NPCs.
Worlds are data. Share them like mods.
Every world in Aikami — maps, tilesets, sprites, props, NPCs, items, dialogue, quests, encounters, factions — is defined in a structured content pack, not hardcoded into the engine. Packs can be generated by AI or written and edited by hand, and they're plain files: copy one, change a line, and the whole world shifts.
The pack that ships with Aikami,Emberwatch: The Fading Ward, is a full village built from a single manifest file — an inn, a merchant, a persuasion-or-combat encounter, a faction system, and a branching quest, all described in one document. Here's a look at what's already in the wild:
Emberwatch: The Fading Ward
The ward protecting Emberwatch is fading. Elder Thalia needs the Ward Wand to renew it — but the wand rests in the hands of a rogue at the inn. Persuade or fight to get it back.
Whispering Caves
Deep beneath the foothills, an ancient network of caves hums with crystalline energy. A reclusive hermit warns of stirring shadows, and a forgotten altar holds the key to the caves' whispered secrets.
Your Pack Here
Coming soonA village of your own — or an entire campaign — authored, remixed, and published to the Hub.
The Hub: browse, upload, remix, publish.
The Aikami Hub is where creators share worlds the way people share mods today — new maps, NPC rosters, item sets, entire campaigns. Self-hosters can pull community packs straight into their own instance, no copy-paste, no file surgery.
Get the desktop client.
Download the native Tauri desktop app for Linux, macOS, or Windows. Same world, same NPCs — with full offline support and local AI.
Self-Hosted AI: Ollama, vLLM, Docker — Cloud Coming Soon.
Aikami is built from the ground up for self-hosting and offline-first operation. Everything runs locally by default. Saves, assets, and world state can sync to Firebase for multi-device continuity, but it's completely optional — your world works perfectly offline with no internet connection. No vendor lock-in. No subscriptions. Just your hardware, your rules.
How to Run Aikami
The all-in option.Everything runs locally on your machine — no internet needed after initial setup. ComfyUI for image generation, Kokoro for TTS, Ollama for LLM — all bundled.
git clone https://github.com/BearlySleeping/aikami
cd aikami
docker compose up aikami-client
# Open http://localhost:5173Client only. Bring your own LLM/TTS/image endpoints or use BYOK.
git clone https://github.com/BearlySleeping/aikami
cd aikami
docker compose up aikami
# Includes: client, ComfyUI, Kokoro TTS,
# Ollama, Firebase emulators
# Everything runs locally. No internet.ComfyUI (default image gen) and Kokoro (default TTS) included. Swap for any supported provider via Settings — ElevenLabs, Stability AI, and more.
The offline-native option.Native desktop experience via Tauri v2. Run local LLM providers like Ollama or vLLM on your machine, or bring your own API keys for cloud providers.
# Download from GitHub Releases
# https://github.com/BearlySleeping/aikami/releases
# Or build from source
git clone https://github.com/BearlySleeping/aikami.git
cd aikami
bun install
bun tauri build
# Supports: Windows, macOS, Linux
# Local LLM via Ollama/vLLM or BYOK to any providerRust-powered. File system access, system tray, multi-window. Windows, macOS, Linux.
The fastest to try.Play directly in the browser. No download, no setup — just bring your own API keys for Anthropic, OpenAI, or any OpenAI-compatible endpoint.
# Launch the web client
# https://aikami.bearlysleeping.com
# Configure your API keys in Settings:
# - Anthropic (Claude)
# - OpenAI (GPT-4, GPT-4o)
# - Google Gemini
# - Any OpenAI-compatible endpoint
# TTS providers: ElevenLabs, OpenAI TTS,
# VOICEVOX, Fish Speech
# Image providers: DALL-E, Stability AI,
# NovelAI, fal.aiZero install. Mix and match providers per NPC role. Your keys, your data.
Zero Setup — Coming Soon
The lazy adventurer's option.Fully managed AI infrastructure hosted on Cloud Run. A pre-trained LLM fine-tuned specifically for Aikami handles text generation, with managed TTS and image generation services running alongside. No setup, no GPUs, no Docker. Just open your browser and play. Pay only for what you use.
Built on Modern Open-Source Foundation
Frontend
Svelte 5
+ PixiJS v8
Backend
Firestack
+ Data Connect
AI Runtime
Ollama
+ vLLM + BYOK
Voice & Image
Kokoro
+ ComfyUI
Desktop
Tauri v2
Rust-powered
Your world is waiting. And it will remember you.
Aikami is free, open-source, and self-hosted. Play in your browser right now — or clone the repo, spin up local AI, and build your own world. No waitlist. No subscription. Just code and creativity.
It's early days — expect rough edges, and help us smooth them: contributions, ideas, and bug reports are very welcome.