Show HN: I made an AI agent write a spoiler-free wiki for the novel Anathem

avoutarchive.com

2 points by teoryn 6 hours ago

I made an LLM agent build a spoiler-free wiki about a novel where the reader can select the latest chapter they've read, and then see pages written with only contents of the book up to that chapter.

I've wanted something like this since I read The Wheel Of Time a decade ago. Reading epic fantasy and other novels comes with needing to remember a lot of characters and places etc, sometimes over multiple years. However, in that time, you can't look up information about characters etc in various fan-built resources because spoilers will be present.

A couple years ago I started trying to build this, but with a fixed pipeline of named entity resolution followed by individual page updates. But instead of trying to build a specific pipeline for how a chapter should be processed, and mostly as an excuse to have some fun, the LLM is given a bunch of tools and the ability to start sub-agents and tries to figure out how to update the whole wiki for a given chapter on its own. It was moderately successful!

I wrote some more about the project here: https://kevinstock.org/book-wiki.html

And all the source code is here: https://github.com/kevinastock/book-wiki