← all repositories
notnotype/neuro-book

An IDE that treats plot holes like compiler errors

NeuroBook applies event sourcing, linting, and multi-agent orchestration to keep novels coherent when AI does the typing.

★725 stars TypeScript Agents
neuro-book
Not currently ranked — collecting fresh signals.
star history

What it does

NeuroBook is a desktop IDE for writing long-form fiction with AI assistance. It stores world state, plot structure, and manuscript text as local Markdown and SQLite files, then orchestrates specialized agents—planners, researchers, and writers—inside a structured workspace. The goal is to stop the usual AI drift where characters regrow lost limbs and foreshadowing evaporates by chapter fifty.

The interesting bit

The unusual angle is treating narrative consistency like software correctness. Its World Engine uses event sourcing to reconstruct any point in your fictional timeline from a log of state changes, while a “promise system” tracks foreshadowing like technical debt—complete with reminders when Chekhov’s gun is still hanging on the wall. Even the prose gets linted: llmlint runs 360 rules to flag mechanical transitions and filler that scream “generated by LLM.”

Key highlights

  • World Engine reconstructs canon from a time-stamped event log instead of trusting an LLM’s fading context window.
  • Plot Workbench splits story structure (carrier tree) from causality (causal tree) and tracks foreshadowing promises through a ledger.
  • Multi-agent harness assigns distinct roles; the leader can write world state while the writer remains read-only, so draft agents don’t accidentally rewrite your canon.
  • llmlint scans drafts for AI-typical tics like formulaic contrasts and empty summaries, with auto-fix for mechanical issues.
  • Everything lives locally in Markdown, TypeScript configs, and SQLite; no cloud lock-in, and token costs are itemized down to the cent.

Caveats

  • The authors explicitly warn that the project is in rapid development and interfaces may be unstable.
  • SillyTavern RP mode integration is currently being redesigned, so that corner of the tool is a work in progress.

Verdict

Worth a look if you’re trying to write a novel with AI and tired of prompt-hacking your way around continuity errors. If you just need a chatbot to polish a blog post, this is vast over-engineering.

Frequently asked

What is notnotype/neuro-book?
NeuroBook applies event sourcing, linting, and multi-agent orchestration to keep novels coherent when AI does the typing.
Is neuro-book open source?
Yes — notnotype/neuro-book is open source, released under the AGPL-3.0 license.
What language is neuro-book written in?
notnotype/neuro-book is primarily written in TypeScript.
How popular is neuro-book?
notnotype/neuro-book has 725 stars on GitHub.
Where can I find neuro-book?
notnotype/neuro-book is on GitHub at https://github.com/notnotype/neuro-book.

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