LudLLM.
An agentic pipeline that writes a full-length spy novel end to end. You give it a paragraph of premise and a secret spine; it returns a grounded world, a cast with private belief states, a structure, an outline, and roughly forty chapters of prose. A human approves the plan one stage at a time. The models generate.
LudLLM takes a premise (a paragraph) and a secret spine (who hides what, and when the reader should learn it versus when the protagonist does) and expands it, stage by stage, into a complete novel. The core trick is keeping two things apart: what is true in the story, and what each character believes. That gap, held steady across a whole book, is the entire engine of suspense in a spy novel.
The book is stored as data first and words second: one validated state object is the single source of truth, and the prose is a generated view of it. Setup runs as a gated chain (world, cast, structure, outline); a critic from a different model family scores each stage; then a chapter loop drafts, critiques, and extracts belief updates as it writes. I have driven four complete books through it. Two are published here as samples.
Models: Claude (Opus) drafts and authors, Claude (Haiku) extracts, Gemini critiques. The critic is always a different family than the author. A full setup costs a few cents to under a dollar; a full book is roughly ten to forty dollars of generation. Public code: github.com/devsandip/ludLLM.
The architecture
The full write-up covers the stage chain, the single-file state, the no-leak machinery, the cross-family critic, the temporal spine, and the interactive story-graph studio, with the tables and screenshots.
The two novels
I ran the same premise through the pipeline twice and kept both results. They share a protagonist (Sita, codename Alpha, a deniable assassin raised by her handler) and a question (what does the truth cost her), and they diverge on one deliberate decision about who the enemy is. Open either to read the full plot and play with its interactive story graph.

Alpha
The act that made her is the act that saves the country.
An abducted infant is raised over eighteen years into India's most deniable assassin by the handler she calls Baba. When an agent offers her a true but partial story (she was stolen, not rescued), Sita starts reading her handler instead of obeying him, and follows the money into the heart of the service itself. The truth inverts everything: the monstrous man who made her is the only one fighting the real enemy, and every decent instinct around her has been steered to serve it.
Open Alpha →
Alpha V2
The murdered mother is alive, and the rebellion was her operation.
The same opening, one deliberate departure: the murdered mother is not dead. Sita, conditioned from infancy and certain the enemy killed her mother, defects toward what feels like freedom, helped by a protector and a sympathetic agent. Both the rescue and the rebellion turn out to be authored from a single desk. Her mother faked her death, built a surveillance machine, and watched her daughter for two decades, mistaking watching for love. Sita makes the one choice her mother could not predict.
Open Alpha V2 →Both novels end on earned, unresolved notes. The engine that wrote them is open source.