A modern, agentic AI RPG. Customize every mechanic with a plugin.
English · 简体中文
Covel is an AI RPG where the world keeps running between your turns: NPCs track how they feel about you, lore accumulates as you play, and memory carries the thread across the session. Every mechanic behind that is an autonomous agent shipped as a plugin — disable one, swap one, or write your own.
Current public release: v0.0.13, early access — APIs, data formats, and plugin frontmatter may change between versions. Prebuilt binaries target macOS Apple Silicon and Windows x64; other platforms build from source.
- 🎭 Stage mode — a full-screen visual novel: scene backdrops, character sprites, typewriter dialog, and choice overlays. Backdrops for brand-new locations are generated on demand, mid-session.
- 🤖 Multi-agent turns — while the narrator writes the scene, other agents extract NPC relationships, grow the world codex, pick the on-stage cast, and maintain long-range memory — in parallel, every turn.
- 🧩 Everything is a plugin — 20 bundled agents. A plugin is a
PLUGIN.md: YAML frontmatter for triggers/tools/events, markdown body as the agent's prompt. - 🌍 Two flagship worlds — a dark-fantasy mystery and a GalGame-style school romance, both hand-built and ready to fork.
- 🔌 Bring your own model — OpenAI / Anthropic / DeepSeek / Qwen model slots. Local-first: SQLite on disk, API keys never persisted server-side.
Worlds declare their default (defaultViewMode: stage); you can switch any time in-session.
Download the macOS Apple Silicon build from Releases, then: open Settings → paste an LLM API key → pick a world → play.
Your data lives in ~/.covel/ (config, keys, SQLite, custom worlds, logs) — details in the desktop config guide. Per-release notes: docs/CHANGELOG.md.
pnpm install
cp llm.toml.example llm.toml # model IDs and endpoints
cp .env.llm.example .env.llm # provider API keys
pnpm dev # web :5173 + server :3001 (SQLite)Open http://localhost:5173 — debug tooling lives at /debug. PostgreSQL, in-memory mode, and other knobs: env registry.
- Mistport Chronicles (雾港·裂潮纪) — dark-fantasy mystery in traditional-story mode. A fog-shrouded port where every ebb bares different ruins; a guildmaster vanishes and four powers race for a key to what sleeps in the deep. Bilingual, with a seed cast and investigation-flavored memory.
- Haruka Academy (遥风学园) — school romance in GalGame stage mode. Clubs, exams, rumors, and quiet crushes at a seaside high school, told through a cast of eight — portraits and scene art included.
Open Claude Code in this repository and use the bundled skills:
/create-world— describe a setting; get a validatedworld.yaml+WORLD.md+ world data, ready for~/.covel/worlds/./create-plugin— describe the agent you want; get a validatedPLUGIN.md+package.json.
An official hub for sharing plugins and world packs is on the roadmap — for now, share via Gist or fork.
- Plugin authoring guide — start here; bundled plugins under
plugins/are working references - Architecture & turn pipeline — how a turn flows through trigger → schedule → agents → commit
- Reference: plugin registry · tool registry · HTTP API · full doc index
pnpm workspaces + Turborepo · ESM-only · TypeScript strict · React 19 + Hono + Drizzle. Repo layout and package list → CLAUDE.md.
- Windows / Linux / Intel Mac builds
- Official community hub for plugins and world packs
- Plugin marketplace inside the desktop app
Issues and PRs welcome — please read docs/CONTRIBUTING.en.md first. Releases are tag-driven: pushing v* builds and publishes the macOS installer via GitHub Actions.
MIT © 2026 Covel Contributors



