multi-agent orchestrated novel generation pipeline
Coordinates a specialized 10-agent pipeline (Radar, Planner, Composer, Architect, Writer, Continuity Auditor, Reviser, and others) where each agent handles specific creative and logical tasks in sequence. Agents communicate through a shared Truth Files state system that maintains canonical world state, character matrices, and plot hooks across the entire generation process. The pipeline enforces human review gates between critical stages, allowing writers to approve or reject agent outputs before proceeding to the next phase.
Unique: Uses a persistent Truth Files system (7 canonical markdown/JSON documents) as the single source of truth for world state, character matrices, and plot hooks, enabling agents to maintain narrative consistency across 100+ chapters without context window degradation. Each agent reads/writes to Truth Files rather than relying on conversation history, making the system scalable to novel-length outputs.
vs alternatives: Unlike ChatGPT or Claude plugins that lose context after ~50k tokens, InkOS maintains explicit state artifacts that agents can reference indefinitely, preventing character amnesia and narrative drift in long-form fiction.
truth files state management system
Maintains 7 canonical markdown and JSON files that serve as the persistent knowledge base for the entire novel generation pipeline: World Bible (setting/lore), Character Matrix (detailed character profiles with relationships), Plot Hooks (story beats and foreshadowing), Chapter Snapshots (summaries of each completed chapter), Writing Rules (genre-specific and universal constraints), and Continuity Log (detected inconsistencies and resolutions). Agents read from and write to these files via a State Manager API that enforces schema validation using Zod and TypeBox, preventing malformed state updates.
Unique: Implements a schema-driven state system where Truth Files are validated against Zod/TypeBox schemas before agents can write updates, preventing invalid state mutations. Agents cannot directly modify files; all writes go through a State Manager API that enforces type safety and logs all mutations for audit trails.
vs alternatives: Unlike RAG systems that retrieve relevant context on-demand, InkOS maintains explicit, mutable state that agents can both read and update, enabling bidirectional information flow (agents learn from Truth Files and update them with new discoveries).
fanfic and spinoff mode with source material integration
Allows users to provide existing source material (published novels, fanfic, or original works) as reference context, enabling agents to generate spinoffs, prequels, or alternate universe stories that maintain consistency with the source. The system extracts key characters, plot points, and world details from the source material and populates the Truth Files automatically, reducing manual setup. Agents are instructed to respect source canon while exploring new story directions.
Unique: Automatically extracts characters, plot points, and world details from source material and populates Truth Files, reducing manual setup for spinoffs. Agents are instructed to respect source canon while exploring new story directions, with the Auditor validating consistency against the source.
vs alternatives: Unlike generic novel generation, fanfic mode is specifically designed to maintain consistency with existing source material, enabling derivative works that feel authentic to the original universe.
architect agent for plot outlining and story structure
A specialized agent that generates detailed plot outlines and story structures based on a high-level premise. The Architect reads the genre profile and writing rules, then produces a hierarchical outline (acts, chapters, scenes) with plot beats, character arcs, and foreshadowing notes. The output is stored in Truth Files (Plot Hooks) and used by downstream agents (Planner, Writer) to maintain narrative coherence. The Architect can be invoked standalone to generate outlines for human review before any writing begins.
Unique: Generates hierarchical plot outlines (acts → chapters → scenes) with explicit plot beats, character arcs, and foreshadowing notes. The output is structured as JSON for machine-readability, enabling downstream agents to reference specific plot beats and ensure consistency.
vs alternatives: Unlike generic outline generators, the Architect agent understands genre conventions and writing rules, producing outlines that respect the target style and constraints.
planner and composer agents for chapter planning and structure
The Planner agent breaks down the overall plot outline into individual chapter plans, specifying which plot beats, characters, and scenes should appear in each chapter. The Composer agent then structures the chapter plan into a detailed scene-by-scene breakdown with dialogue notes, pacing guidance, and emotional beats. Both agents read from Truth Files (Plot Hooks, Character Matrix) and write their outputs back to Truth Files for the Writer agent to consume. This two-stage planning ensures chapters are coherent and aligned with the overall story structure.
Unique: Implements a two-stage planning process where the Planner breaks the overall outline into chapter plans, and the Composer structures each chapter into scenes with dialogue notes and pacing guidance. Both stages write to Truth Files, creating a detailed roadmap for the Writer agent.
vs alternatives: Unlike single-stage planning, the two-stage approach (Planner → Composer) produces more detailed and coherent chapter structures, reducing the likelihood of Writer agent deviations.
writer agent for chapter generation with context awareness
The core writing agent that generates chapter text based on chapter plans from the Composer agent. The Writer reads from Truth Files (Character Matrix, World Bible, Plot Hooks, Chapter Snapshots) to maintain consistency with established facts and previous chapters. It generates prose in the target style (learned from Style Profile) and respects writing rules (genre-specific and universal). The Writer produces raw chapter text that is then passed to the Auditor for continuity checking and the Reviser for style refinement.
Unique: Reads from multiple Truth Files (Character Matrix, World Bible, Plot Hooks, Chapter Snapshots) to maintain consistency with established facts and previous chapters. Uses a learned Style Profile to match the target author's voice and respects genre-specific writing rules during generation.
vs alternatives: Unlike generic LLM prompts that lose context after 50k tokens, the Writer agent maintains explicit state in Truth Files, enabling consistent writing across 100+ chapters without context degradation.
continuity auditor agent for consistency checking and error detection
A specialized agent that audits generated chapters for continuity errors, character inconsistencies, plot contradictions, and AIGC markers. The Auditor reads the chapter text and Truth Files (Character Matrix, World Bible, Chapter Snapshots) and produces a detailed audit report listing detected issues with severity levels (critical, warning, info). Critical issues (e.g., character name misspelling, contradicted plot point) trigger automatic re-generation; warnings (e.g., character behavior inconsistency) are flagged for human review. The Auditor also updates the Continuity Log in Truth Files with detected issues and resolutions.
Unique: Produces a structured audit report with severity levels (critical, warning, info) and automatically triggers re-generation for critical issues. Maintains a Continuity Log that tracks all detected issues and resolutions, enabling writers to understand what errors were found and how they were fixed.
vs alternatives: Unlike manual continuity checking which is time-consuming and error-prone, the Auditor agent automatically detects and flags issues, enabling scalable quality assurance for long-form fiction.
reviser agent for style refinement and anti-detect rewriting
A specialized agent that refines chapter prose to improve readability, remove AIGC markers, and match the target style. The Reviser reads flagged passages from the Auditor (high AIGC probability, style inconsistencies) and rewrites them to be more natural and authentic. It uses the learned Style Profile to guide rewrites and respects writing rules during revision. The Reviser can also perform broader revisions (e.g., 'make this dialogue more natural', 'reduce adjective usage') based on human feedback.
Unique: Combines AIGC detection (flagging passages with high AI probability) with targeted revision that rewrites only flagged passages rather than the entire chapter. Uses the learned Style Profile to guide rewrites, ensuring revisions match the target author's voice.
vs alternatives: Unlike full-chapter rewrites that are time-consuming and may introduce new errors, the Reviser agent performs targeted revisions of flagged passages, minimizing disruption while improving authenticity.
+9 more capabilities