← all repositories
YILING0013/AI_NovelGenerator

A GUI that keeps your AI novel from forgetting its own plot

Long-form AI fiction usually collapses after three chapters; this tool uses vector memory and state tracking to enforce continuity across 120-chapter arcs.

AI_NovelGenerator
Velocity · 7d
+11
★ / day
Trend
steady
star history

What it does

AI_NovelGenerator is a Python GUI that orchestrates multi-chapter novel generation through LLMs. It breaks the process into discrete stages—worldbuilding, directory creation, chapter drafting, and finalization—while maintaining running state files (character trajectories, plot arcs, global summaries) and a local vector store for semantic context retrieval. It targets OpenAI, DeepSeek, or Ollama backends.

The interesting bit

The project treats narrative coherence as an engineering problem rather than a prompt-engineering prayer. Between chapters it explicitly updates character_state.txt, plot_arcs.txt, and a vector database, then retrieves relevant embeddings to ground subsequent generation. There’s even a dedicated consistency_checker.py that scans drafts for logical contradictions—rare infrastructure in the “AI writer” space.

Key highlights

  • Four-step GUI workflow: settings → directory → draft → finalize, with editable intermediate files
  • Vector-based semantic search for long-term context consistency across chapters
  • Explicit state tracking: separate files for characters, plot arcs, global summaries, and foreshadowing
  • Optional consistency proofreading module to flag plot contradictions before finalization
  • Supports both cloud APIs (OpenAI, DeepSeek) and local Ollama deployments
  • PyInstaller support for building standalone executables

Caveats

  • The author notes limited maintenance energy; a refactor is in progress on a dev branch but features are not yet available
  • Requires manual API configuration and dependency troubleshooting (C++ build tools may be needed on Windows)
  • FAQ suggests common failure modes: invalid JSON responses, gateway timeouts, and embedding model misconfiguration

Verdict

Worth a look if you’re serious about generating long-form fiction with LLMs and tired of characters changing eye color mid-arc. Skip it if you want a polished, zero-config creative tool—this is a power-user workbench with visible rough edges.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.