ainovel-cli

Autonomous multi-agent engine for writing full-length Chinese novels

Overview

ainovel-cli is a command-line engine for generating full-length novels with minimal manual work. A deterministic host process routes work among three autonomous agents named Architect, Writer, and Editor, and calls a separate Arbiter function when a judgment such as planner selection or failure triage is needed. It is aimed at people who want an entire book drafted from a short brief while retaining visibility into each step.

The system separates fixed, enumerable state transitions from open-ended creative choices. The host reads stored facts and decides which agent runs next without invoking a language model, while the agents handle plotting, drafting, and review. Each chapter follows a strict tool order from context loading through drafting, consistency checking, and commit, so the surrounding workflow stays predictable even though the prose is generated.

What distinguishes the product is its support for very long works. Planning proceeds volume by volume rather than all at once, with only the first arcs detailed up front and later ones expanded as writing advances. Summaries are layered by volume, arc, and chapter, relevant earlier chapters are recommended on four dimensions, and context is compressed in stages when it grows too large. Authors can inject revision notes during writing, and an optional per-chapter review gate slows output for closer control.

Best for

  • Novelists drafting serialized long fiction
  • Independent authors producing full-length manuscripts
  • Writing teams supervising AI-assisted drafting
  • Editors overseeing continuity across many chapters
  • Developers running unattended content generation
  • Publishing
  • Entertainment and serial fiction
  • Content production

How to use

  1. Enter a one-line story request to start the run.
  2. Let the Arbiter choose a planner and have the Architect save the premise, outline, and first arc.
  3. Allow the Writer to work through each chapter in the documented tool order.
  4. Inject revision notes in the input field whenever changes are needed.
  5. Turn on review mode if you want to release one chapter at a time.
  6. Watch the terminal display or run headless for unattended operation.

What it can do

Deterministic orchestration with autonomous agents

A routing host reads stored facts and dispatches the Architect, Writer, and Editor agents according to a fixed decision table, so routine scheduling needs no model calls. Open judgments are delegated to a single-call Arbiter. Each decision is written to disk for later audit and replay, and the routing logic is covered by exhaustive tests.

Rolling volume and arc planning

Instead of outlining every chapter at the start, the system plans a compass direction, two starting volumes, and detailed chapters for the first arc. As writing reaches arc or volume boundaries, the Architect expands the next section using prior summaries and character snapshots, keeping later outlines tied to what has actually been written.

Long-work context management

For works of 500 or more chapters, context is layered into volume, arc, and chapter summaries, with the three most recent chapters kept in a sliding window. A multi-stage compression pipeline escalates from clearing old tool results to model-generated summaries, and a recovery package restores the current plan after compression.

Seven-dimension quality review

The Editor reviews chapters on setting consistency, character behavior, pacing, narrative coherence, foreshadowing, hooks, and aesthetic quality. The aesthetic dimension is broken into five parts, including description texture, dialogue distinctiveness, and emotional impact, and each finding must cite the source text as evidence.

Step-level checkpoint recovery

Every successful tool execution writes a checkpoint, so an interrupted run can resume at the precise plan, draft, check, or commit step rather than restarting the chapter. Chapter commits use a persistent saga so replays are idempotent.

Live user intervention

Writers can inject revision notes through the input field while work continues, without pausing the run. The system assesses how far the feedback reaches and rewrites the affected chapters, moving through a dedicated steering flow while the impact is evaluated.

Optional chapter-by-chapter approval

The default mode runs fully automatically. Turning on review mode limits each advance command to a single new chapter, and rework or crash recovery does not consume an approval, giving finer control when needed.

Interactive and headless operation

The engine can be observed and steered through a terminal interface or run without a display on servers, NAS devices, or CI systems. Multiple model providers, including OpenRouter, Anthropic, Gemini, and OpenAI, can be switched as needed.

How it works

A host engine reads the stored facts on each cycle, selects the next worker through a fixed decision table, and records results to a file-based store. The Architect produces the book title, description, premise, outline, characters, and world rules; the Writer loads context, rereads prior chapters, plans, drafts, checks consistency, and commits each chapter; the Editor reviews the text and saves arc and volume summaries. When a judgment is needed, such as choosing a planner, triaging user feedback, or resolving a deadlock, the Arbiter makes a single model call and writes its decision to disk.

Setup uses a single-line brief as the starting point, and the system then advances through phases from initialization to completion without manual branching. Users can observe and intervene through the terminal interface or run the engine headless on a server or CI system. Humans still decide whether to enable chapter-by-chapter approval and what revision notes to inject; the optional review gate is off by default, so the product otherwise proceeds on its own.

Autonomous

The readme states that the engine runs from a one-line request to a complete novel without human intervention, though optional review mode and live user steering give users control when they want it.

Where it fits

  • Drafting a serialized web novel across hundreds of chapters from a short premise.
  • Rewriting only the chapters affected by a mid-project change in direction.
  • Running overnight manuscript generation on a NAS or server without a display.
  • Reviewing chapters against consistency, pacing, and foreshadowing before release.

Good fit

  • Running an unattended long-form novel project from a single premise through to a finished book
  • Authors who want automated per-chapter consistency checks against tracked character, foreshadowing, and state data
  • Projects needing step-level crash recovery so a run can resume without losing planning or drafting work
  • Users who want to interrupt occasionally with comments instead of pausing the pipeline

Not a fit

  • Workflows that require a fixed full-book outline up front, since planning expands only two volumes initially and later arcs are developed on demand
  • Environments without a supported LLM provider or API access, as writing depends on external model calls
  • Users seeking a graphical editor rather than command-line or headless operation

How to evaluate

  1. Confirm the product supports your chosen LLM provider among OpenRouter, Anthropic, Gemini, or OpenAI
  2. Verify that chapter-by-chapter review mode and default fully automatic mode both match your control preferences
  3. Check that checkpoint recovery and state transition rules behave as described when a run is interrupted
  4. Assess whether layered summaries and related-chapter recommendations cover the length of book you plan
  5. Review how user steering comments are triaged and which chapters get rewritten

Alternatives

AgentPricingAutonomyBest for
hermes-agent—SupervisedAI researchers, Developers, System administrators, DevOps engineers, Technical founders
deer-flow—SupervisedSoftware developers, AI and agent engineers, Research engineers, Technical teams building agent workflows, Data pipeline builders
OpenMausBot—SupervisedDevelopers and engineers, Technical founders and small product teams, DevOps and IT administrators, Operations specialists who coordinate recurring tasks, AI power users comfortable with command-line tools
Toonflow-app—SupervisedShort drama creators, Comic video producers, Storyboard artists, Previsualization artists, Video editors, Independent animators, Content studio operators
rowboat—SupervisedSoftware engineers, Engineering managers, Product managers, Support teams, Operations leads, Founders, Research and knowledge workers
artemis—SupervisedMobile QA engineers, Test automation engineers, AI coding assistant users, Android developers, CI and DevOps engineers

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/agents/ainovel-cli"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options