Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,280 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Covel

A modern, agentic AI RPG. Customize every mechanic with a plugin.

English · 简体中文

Version License Stage Ask DeepWiki

Covel demo — one full session at 6× speed

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.24, 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.

Highlights

  • 🎭 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.
  • 🎲 RPG mechanics built in — pre-rolled dice checks with visible receipts, an auto-tracked quest log, a player-managed inventory, and per-NPC affinity meters. All optional plugins; worlds can seed quests, gear, and starting affinity.
  • 🧩 Everything is a plugin — 26 bundled agents. A plugin is a PLUGIN.md: YAML frontmatter for triggers/tools/events, markdown body as the agent's prompt.
  • 🌍 Three flagship worlds — a dark-fantasy mystery, a visual-novel school romance, and a post-apocalyptic RPG expedition, all 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.

Two ways to play

Stage mode (visual novel) Story mode (text)
Stage mode Story mode
Backdrops, sprites, and typewriter dialog; scene art resolves and generates as you explore Classic narrated turns with suggested actions, inline forms, and the per-turn agent timeline

Worlds declare their default (defaultViewMode: stage); you can switch any time in-session.

Every roll leaves a receipt

A dice check, quest progress, and a gear change posting into the turn, with the quest log open alongside

A risky action resolves against dice rolled before the narrator writes, so the outcome cannot be retconned to fit the prose — and the arithmetic posts inline: 19 + 2 = 21 vs DC 16. Quest progress, gear changes, and affinity shifts land in the turn the same way, then accumulate into their own panels. Dice, quests, inventory, and affinity are four separate plugins; a world seeds the opening quests, starting gear, and initial affinity, or ships without any of them.

What the agents leave behind

Core memory panel

Open a side panel mid-play and you are reading what the background agents wrote this turn: core memory (running plot, current scene, player state), the NPC relationship graph, the world codex, the on-stage cast. None of it is hand-authored — it accumulates as you play, and it is what the narrator reads back on the next turn.

Quick start

Play

Download the macOS Apple Silicon or Windows x64 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.

Run from source

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.

Worlds in the box

World select

  • 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 stage mode. Clubs, exams, rumors, and quiet crushes at a seaside high school, told through a cast of eight — portraits and scene art included.
  • Emberback (鳌背孤城·烬海纪) — post-apocalyptic RPG expedition in traditional-story mode. The last great turtle carries the last city across an ember sea — and halts, without warning, above an uncharted sunken spire. The showcase for the RPG suite: seeded quests, starting gear, NPC affinity, and five check attributes wired into the dice system, with a portrait-backed main cast.

Create your own

Open Claude Code in this repository and use the bundled skills:

  • /create-world — describe a setting; get a validated world.yaml + WORLD.md + world data, ready for ~/.covel/worlds/.
  • /create-plugin — describe the agent you want; get a validated PLUGIN.md + package.json.

An official hub for sharing plugins and world packs is on the roadmap — for now, share via Gist or fork.

Develop

pnpm workspaces + Turborepo · ESM-only · TypeScript strict · React 19 + Hono + Drizzle. Repo layout and package list → CLAUDE.md.

Roadmap

  • Linux / Intel Mac builds (macOS arm64 and Windows x64 already ship)
  • Official community hub for plugins and world packs
  • Plugin marketplace inside the desktop app

Contributing & license

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

About

[Agentic AI-RPG] Agentic AI role-playing game framework — narration, NPCs, lore, and character creation are autonomous plugin agents. Build interactive fiction with DeepSeek / OpenAI / Anthropic / Qwen.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages