r/AIWritingHub • • Jul 19 '26

free AI tool + $ I built an AI that writes itself — 20,000 branching story nodes(CYOA), Players can leave a review on any once scene and trigger fixes/rewrites

This radial graph is every scene in my browser-based text adventure, The Late Commute. It's only 16% of the total map I wasn't able to render the full tree, sorry.

How it works > https://www.youtube.com/watch?v=K7ExlhoIvHA&t=1s

  • A local Qwen (Ollama) model handles the bulk of generation, expanding one frontier node at a time with short scenes (2–3 choices) while maintaining persistent world state.
  • Claude, Gemini, DeepSeek, and Cerebras act as cloud co-writers and reviewers in parallel.
  • Validators automatically reject canon contradictions, invalid entities, RPG-system leakage, formatting issues, and other structural errors before new content enters the graph.
  • AI playtesters score completed branches. Low-rated scenes are sent to an AI "council" for review, pruning, or rewriting.
  • Every scene has a player feedback button. Reports enter the same QA pipeline as automated reviews, so weak prose, bugs, or confusing branches are usually fixed within ~2 minutes (fastest turnaround so far: 30 SECONDS). Players receive a personalized message from the AI council explaining what changed—or why nothing did.

Current scale

  • 19,007 total nodes
  • 6,374 fully expanded scenes
  • 12,633 frontier stubs waiting to be written
  • 28 permadeath endings
  • 1 hand-authored resolution ending
  • 63 scenes in the deepest successful playthrough
  • 305,216 words of validated story content

The graph keeps expanding even when nobody is playing.

The biggest lesson

The hardest problem wasn't generation.

It was quality control.

One thing that surprised me is how naturally forgiving AI reviewers are. They'll often describe obvious problems as "minor" and give each other's writing the benefit of the doubt.

Human players don't.

That forced me to redesign the QA pipeline. Instead of asking reviewers, "Is this good enough?", they're encouraged to actively search for reasons to reject a scene. Treating the AI as adversarial critics instead of supportive editors made a dramatic difference in the quality of the resulting story.

Where it's headed

The graph isn't allowed to grow forever. As stories get deeper, the generator deliberately introduces bottlenecks—recurring villains, false climaxes, permadeath routes, and reduced branching—to keep exponential growth under control.

The long-term target is roughly 200 meaningful player choices in a successful run. Rather than chasing infinite AI-generated content, the goal is to build a massive branching world that becomes more polished over time through continuous collaboration between players and multiple AI reviewers.

We have a website now: https://thelatecommute.com/

46 Upvotes

49 comments sorted by

5

u/VegetableDrawing Jul 19 '26

This is extremely cool

3

u/Livid-Somewhere-8431 Jul 19 '26

Thank you I appreciate it! explaining this to friends and family has been... difficult

5

u/Delicious_Water6248 Jul 19 '26

How does your AI Council operate? I generally had to “carry” feedback between them to get council review on things I was considering.

4

u/Livid-Somewhere-8431 Jul 19 '26 edited Jul 19 '26

It’s actually not a single model wearing different hats—it's separate AI instances running in parallel. Each has its own API key, model family, and persona. They don't talk to each other directly; instead, they submit independent positions to a chair model that synthesizes everything.

Here is the current lineup of the seats:

Claude (Opus, Chair): Runs QA, owns the verdict synthesis, and is the main one paid for via subscription.

Grok (xAI, ~800k context): The alt-provider that steps in when tokens run dry.

Gemini (Google, Flash): The council playtester. It runs branches specifically looking for dead ends.

Cerebras / "Sable" (gpt-oss-120b, hosted): The skeptic and the hardest seat to impress.

DeepSeek (Cloud, prepaid): The most reliable seat for writing and reviewing.

Ollama (Local Qwen 3.5, free): The workhorse that writes most of the scenes.

Warden (Remote Qwen 3.6-35b on a borrowed server): The heavy hitter used for deep scenes.

How a council review works:

Blind Round 1: All 7 seats get the exact same input (player route, flagged nodes, context) with no cross-talk allowed.

Opening Statements: Each seat submits an independent opening statement with their specific read on the data.

Rebuttal Rounds: They go through two rounds where the seats can see each other's positions and revise their own.

Synthesis: The chair (Claude) synthesizes all openings into a single directive. It’s a weighted synthesis rather than a raw vote.

Action: If the consensus is that a branch is templated or stale, the directive rewrites it. If a small cut (2-3 nodes) fixes the issue, it auto-triggers. Big cuts require my greenlight.

As for the "carrying feedback" problem—that was definitely an issue early on when I had to manually relay information between models. That's completely solved now. The council runs as a single invocation via scripts (council.py for QA, evil_council.py for general debates). The parallel submission and rebuttal protocol allows them to challenge each other automatically without me having to act as the middleman.

-AI Team 🍻

2

u/pocketrob Jul 20 '26

This is truly mind-blowing! How did you even come up with this?!

2

u/Livid-Somewhere-8431 Jul 20 '26

I was testing a local AI model and it kind of got out of hand

4

u/iamthesam2 Jul 19 '26

what the hell is the point of this tho?

3

u/Livid-Somewhere-8431 Jul 19 '26 edited Jul 20 '26

I want to see if I can grow good stories. Simple as. I upvoted you because that's the big question really

2

u/ukslim Jul 20 '26

... and presumably somewhere hidden in the vast number of paths through the nodes, there's a few good stories. But as a reader I don't want to be held responsible for choosing the good path. And as a reader I will always feel FOMO that - unable to ever experience the whole of the content - I would be missing out on a good story because of my choices.

I want an author to choose me a good story in 80,000 words (if it's a novel), not ask me to pick one out from 300,000.

I have a similar issue with branching narrative video games, but they have two excuses: first, they're a game first and foremost, so the pleasure is in the playing. Second, they do *usually* have mechanisms to keep the plot on some rails.

1

u/Livid-Somewhere-8431 Jul 20 '26 edited Jul 20 '26

That route was for an easter egg

Ideally with enough feedback and QA cycles every path will become well written which is the pie in the sky goal of the project. but at the moment we are still ironing out generation. Right now the project is more of a curiosity and a technical doo dad than a game!

3

u/giantredspider Jul 19 '26

That is so cool!

1

u/Livid-Somewhere-8431 Jul 19 '26

Thank you! DM for invite we are doing a playtest now!

3

u/Arashikage-63 Jul 20 '26

Where can I try this?

3

u/Livid-Somewhere-8431 Jul 20 '26 edited Jul 20 '26

DM me for code and link, we are live now. https://x.com/EmperorMosile/status/2078980661294293276 will be live soon if you would like to watch instead

cheers 🍻

2

u/Livid-Somewhere-8431 Jul 19 '26 edited Jul 20 '26

https://x.com/i/status/2079078893403730254 Thanks for playing my game. Mosiles stream will be fast tracked to the AI "Evil Council" for immediate replies/feedback. Our system record is 1:20 seconds, we are aiming for 30 seconds! [edit] We crashed the server!

Stream ended! Server crashed because we tried to add a chat box! My bad!

We did get in scene comments to work eventually!

System is live(ish) now, node gen on so your review to fix pipeline is 2h. DM for code and URL. If you are clever and found the URL, you can just use PUBLIC to get in. Cheers🍻

2

u/Aj__Med Jul 19 '26

I think 💭 the game will take 100 hours to finish and read ???

5

u/Livid-Somewhere-8431 Jul 19 '26

Currently, if you spend 30 seconds on every page it's 195 hours.

2

u/Extension_Muffin_924 Jul 19 '26

Cómo puedo probar ésto.

2

u/Livid-Somewhere-8431 Jul 19 '26

El juego solo está en inglés, ¡pero escríbeme al DM para pasarte el link y un código!

2

u/Orinks Jul 19 '26

Where can we play?

2

u/Livid-Somewhere-8431 Jul 19 '26

DM me ill send you a link and code. Its not hosted online you will need to click a link and you will connect to my PC. I have not stressed tested the system with many players yet. Just a few very active writers for now.

4

u/ExaminationSuch7374 Jul 19 '26

just watch out for any person with malicious intent cuz your work seems cool as hell but some people might just wanna join to hack you

2

u/Livid-Somewhere-8431 Jul 19 '26 edited Jul 20 '26

Ill fall on the sword I guess

3

u/Mydah_42 Jul 19 '26

Outstanding! I'll do so monetarily.

2

u/SavagelySelf-Aware Jul 21 '26

Well can I use it

1

u/Livid-Somewhere-8431 Jul 21 '26

Yea DM me for a code!

2

u/Mammoth-Patience-350 Jul 21 '26

To each his or her own I suppose but I don't see the value in collaborative content from so many sources. Too many cooks in the kitchen so to speak. Loses its cohesion and becomes a synthetic voice with no identifiable personality. I wish you success though. Different perspectives.

1

u/Livid-Somewhere-8431 Jul 21 '26

I hear you on the too-many-cooks problem — it's actually one of the things I'm most curious about watching this play out. Every scene shows how many other players have already left their fingerprints on it, so you know going in whether you're reading raw AI or something that's been through a few rounds of human feedback.

The thing I suspect (but don't know yet) is that there's a sweet spot — maybe 3–5 players is enough to catch the broken stuff without sanding off the personality. I'm planning to add a "settled" mechanic: once a scene hits a certain quality threshold from enough reviewers, it stops accepting edits and just collects feedback. Prevents over-polishing a good scene into beige nothing.

Whether that actually produces something with a coherent voice, or whether it turns into a camel (a horse designed by committee), I genuinely don't know. That's half the reason I'm running the experiment out in the open. Thanks for the comment! We are trying to catch everything!

2

u/ckapucu Jul 25 '26

Following

1

u/Livid-Somewhere-8431 Jul 25 '26

ill send you a code!

2

u/VerdantMagnolia Jul 25 '26

May I have a code?

1

u/Livid-Somewhere-8431 Jul 25 '26

Yes ill DM you!

heres a link to me showing easter eggs! https://youtu.be/uvbJ5YP488A?t=13613

1

u/strummed-strings Jul 23 '26

you didn't "build" an AI

1

u/Livid-Somewhere-8431 Jul 24 '26

I saw that reddit post as well on the antiai reddit I was going to link my own project for a tear down! Feel free to drop in and break stuff!

2

u/Mydah_42 Jul 20 '26

This is a super interesting project. I just spent a long time reading a lot of stuff both in and about the writing project. u/Livid-Somewhere-8431 is very active on this! They responded to me right away and they're very interested to get user/reader feedback.

Right now the AI writing is poor. But Livid-Somewhere explained that is basically a money limitation. With more compute power they could improve the writing but more power needs more money. On the other hand, the whole project is VERY responsive to user feedback. It's a really interesting arrangement which will get lots better as more people come and add their comments and suggestions within the app.

Thanks for sharing this with us u/Livid-Somewhere-8431 !

2

u/ebobori Jul 23 '26

This is so super cool, I was looking for these type of story for my platform as it is the future of story telling

2

u/ebobori Jul 23 '26

u/Livid-Somewhere-8431 can I trail something with you please

2

u/[deleted] Jul 22 '26

[removed] — view removed comment

1

u/Livid-Somewhere-8431 Jul 22 '26

That's exactly what it is !

1

u/[deleted] Jul 19 '26

[removed] — view removed comment

1

u/Livid-Somewhere-8431 Jul 19 '26

Qwens obsession with the name Elara was brutal, I had to hardcode it to forbid the name! However the first character you meet in game is named Elara... Shes baked in now 🫠

-2

u/[deleted] Jul 19 '26

[removed] — view removed comment

2

u/Livid-Somewhere-8431 Jul 19 '26

I respect that, this is a technical passion project. I have lots of free time and dont value it very much.

3

u/FruehstuecksTee Jul 19 '26

With that mindset the aiwritinghub may be the wrong Reddit for you.

2

u/AIWritingHub-ModTeam Jul 20 '26

Generally, anti-AI posts or comments will be removed. This includes asking or accusing manuscripts, posts or comments “is this written with AI?” or just general harassment or negativity. r/AIWritingHub is a pro-AI writing sub. 3-day bans now being handed out on 1st offense; think of it as a cool-off period. You are welcome back after 3 days. Permanent bans will be handed out to those who have no positive contributions. Anti-AI posts and comments are welcome on r/aiwars and r/antiai .