A TypeScript-based monorepo for AI-native long-form novel production, featuring agent workflows, worldbuilding, RAG integration, and end-to-end production pipelines. Provides desktop/web flows, modular components, and a documented setup for running locally with pnpm. Latest releases update desktop features and guided creation workflows.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (1 so far).
What it is
ExplosiveCoderflome/AI-Novel-Writing-Assistant is an AI-native open-source system designed for long-form novel creation. It combines worldbuilding, an agent-driven workflow, writing engine, RAG integration, and end-to-end production workflow to guide a user from a single idea to full chapters.
How it works
The project orchestrates multiple layers: Creative Hub and Agent Runtime for planning and task routing, a main production chain covering from idea to chapter-level execution, a world/knowledge base, and a writing engine with anti-AI rules. It supports RAG with Qdrant, embeddings, and retrieval traces. It uses a monorepo layout with client/server/shared components and a set of tools for planning, orchestration, and quality control.
Getting started
Quick start
-
- Install dependencies
pnpm install -
- Start development
pnpm dev -
- Optional desktop runtime preparation
pnpm run prepare:desktop-runtime -
- Environment and startup notes
- Node.js version: ^20.19.0 || ^22.12.0 || >=24.0.0
- pnpm: >= 10.6, recommended 10.6.0
- Ensure at least one LLM API key
- For knowledge base/RAG enablement, provide Qdrant
-
- Service endpoints (defaults after run) Frontend: http://localhost:5173, Backend: http://localhost:3000, API: http://localhost:3000/api
Local environment variables
- server/.env and client/.env guidance is provided with example files and notes on variables like OPENAI_API_KEY, QDRANT_URL, QDRANT_API_KEY, and RAG_ENABLED.
Useful commands
- General:
pnpm dev pnpm build pnpm typecheck pnpm lint - Database and server tasks:
pnpm db:migrate pnpm db:seed pnpm db:studio - Tests:
pnpm --filter @ai-novel/server test pnpm --filter @ai-novel/server test:routes pnpm --filter @ai-novel/server test:book-analysis
Recent releases
- v0.4.7 (2026-07-28) desktop release with automatic director-to-text generation handoff, simple live chapter shelf, global model settings, and dynamic creation wizard. Desktop build: v0.4.7; notes include setting and model routing improvements, live AI status and version updates.
- v0.4.6 (2026-07-17) navigation fixes for fixed side menu and bottom access when window is small.
- v0.4.5 (2026-07-16) improved chapter execution scrolling and removal of blank chapters after confirmation; protections for existing content.
Traction
- Stars: 2255; Forks: 454; Open issues: 87
Behind the repo
- Not specified in the README/FACTS block
Caveats
- License: none listed
- Language: TypeScript
- Created: 2025-02-18; Last push: 2026-07-28
- Monorepo with pnpm workspace; desktop and web flows integrated






