inkos: a multi-agent story creation system for long-form novels and interactive open-world narratives
inkos: a multi-agent story creation system for long-form novels and interactive open-world narratives
What it solves
InkOS is an AI Agent system designed to handle the complexities of long-form and short-form story creation. It solves the problem of "AI-flavored" writing, lack of narrative consistency, and the difficulty of managing world-building, character arcs, and plot hooks over hundreds of chapters. It also provides a framework for creating interactive, open-world narratives where the world state evolves based on user actions.
How it works
The system employs a multi-agent pipeline for long-form writing: Radar (trend analysis), Planner (chapter intent), Composer (context assembly), Writer (drafting), Observer (fact extraction), Reflector (state updating), and Auditor (continuity and quality check).
Key technical mechanisms include:
- Three-Layer Memory: Uses structured JSON for authoritative state, Markdown for human-readable projections, and a SQLite database for temporal memory and semantic retrieval.
- Input Governance: Separates long-term author intent and current focus from the immediate prompt to prevent context drift.
- Continuity Auditing: A dedicated auditor checks drafts against 37 dimensions (e.g., character memory, plot hooks) to ensure logical consistency.
- InkOS Play: A separate runtime for interactive stories that maintains a dynamic world state (characters, items, evidence, relationships) defined by natural language "world contracts."
Who it’s for
- Novelists and Screenwriters: Writers who need an AI partner to maintain consistency in long-form series or scripts.
- Interactive Story Creators: Developers making interactive films, visual novels, or text-based RPGs with branching plots.
- Content Creators: Those producing fan fiction or short stories for web platforms.
Highlights
- Anti-AI Style: Built-in rules and a dedicated
anti-detectmode to reduce repetitive LLM phrasing and "AI-flavored" prose. - Multi-Model Routing: Ability to assign different LLMs to different roles (e.g., Claude for writing, GPT-4o for auditing).
- Open-World Interaction: Support for branching plots, variable flags, and automatic image generation for characters and items in "Play" mode.
- Style Mimicry: Tools to analyze reference text and inject statistical fingerprints (sentence length, rhythm) into the AI's writing style.
- Fanfic Support: Specialized modes for canon extensions, AU (alternate universe), and OOC (out-of-character) writing.
Sources
- undefinedNarcooo/inkos