Notes · October 22, 2026
Twelve tabs, zero itineraries: the DevFest talk, written down
On August 28 I gave my first conference talk, at DevFest DC. Thirty minutes about My Storyland: how a multi-agent system turns a book into a trip, and how I check whether the trip is any good. A few people asked afterward whether there was a written version. There wasn’t. This is it, with the slides linked at the end.
Why it exists
I have always loved two things, reading and traveling, and sometimes when I finish a book I love I am not ready to leave its world. I want to walk the same streets. About two years ago I started wondering whether a book had to end on the last page.
Doing this by hand was harder than it sounds. Say I wanted to travel through The Great Gatsby. I would look for the places behind the book: Fitzgerald’s own addresses, the houses people think inspired Gatsby’s, literary tours, maps, nearby landmarks. That meant Wikipedia, travel blogs, tourist sites, forums, and the book itself. Forty-five minutes later I had twelve browser tabs and a collection of interesting facts. I still did not have a trip. Everything I needed probably existed somewhere, but it was scattered, sometimes contradictory, and never organized into one trip.
I tried building it as a normal application and kept postponing it; the information was too scattered for the code I knew how to write. Then language models changed what was possible. Last November, during Google’s five-day AI Agents course on Kaggle, I built the first version in five days and submitted it as my capstone. It placed third in the freestyle track. I took that as a sign to keep going.
A capstone demo only has to work a few times. A public product has to work when the book is obscure, when it mixes invented places with places you can stand in, or when the user closes the laptop halfway through.
Why a prompt is not enough
At first this looks like a prompting problem. Ask a model for a literary itinerary and it might say: tour Gatsby’s mansion in West Egg, then walk to the Buchanan estate in East Egg. It is specific. It is vivid. It reads like a travel guide. And it is impossible, because West Egg and East Egg do not exist.
Current models handle Gatsby better than that. But the same failure is more likely with less documented books, and that is most books. A model can mix invented places, possible inspirations and street addresses into one confident recommendation.
That changed the project for me. Generating a convincing itinerary was easy. Building one I could trust was hard. So I started asking three questions of every result. Is it complete? Is it supported by evidence? Can I measure it? Those three questions shaped the system, and they shaped the talk.
One agent is not enough either
The first problem was completeness. Instead of asking one model to write the whole itinerary, I added a research agent: a model with a specific job and access to Search. That helped, and it still gave one agent too many jobs. It had to understand the setting, separate invented places from ones you can visit, find things a traveler can do, and check the evidence for each. It could do some of these well. It could not do all of them consistently. It would find the main setting and miss the author’s house, or find a landmark with nothing behind it. Search did not fix completeness.
So the system I built has two phases, with the user in the middle.
Discovery does the broad research and returns several possible regions, each with its evidence. Then the system stops and waits for the user to pick one. Only then does Composition build a detailed itinerary for that region.
Why stop and ask? Take Harry Potter. The research points to London, Scotland and Oxford through the story, the author and the films. All three could work. But the reader may only want London, or may only have one day. The system can find the options. It should not decide which trip someone wants.
Inside Discovery, before any agent runs, the backend checks the book against the Google Books API, so the agents start from a confirmed title and author rather than a free-text guess. A book-context step adds the shared foundation: for Gatsby, New York and Long Island in the 1920s, and one detail that matters, that West Egg and East Egg are fiction. Then the research splits into three branches: story locations, landmarks and inspirations, connections to the author. The branches are independent, so they run in parallel. A join step waits for all three before the region analyzer combines them. That is how the workflow answers the first question: every required area has an owner, and every required result has to arrive before analysis begins.
When the user picks a region, the composer receives only what it needs: the region, the book context, the structured research, the user’s preferences. It does not get every intermediate message. One model call, no tools, no extra search. Discovery is finished; now build the trip.
The cache that quietly skipped a rule
Discovery is the expensive part, several agents and several model calls, so after the first run Storyland saves the regions and the research behind them. Composition still runs every time, so the trip stays personal.
I thought the cache was about speed and cost. Then I added a new evidence rule: if Storyland says a mansion inspired Gatsby’s house, the research has to support that. The rule worked on new results. Older results were already in the cache, and when they were reused, the new rule never ran. I had updated the system and not the cache. Popular books had the most cached results, so they were the ones most likely to miss the new protection. I cleared it and rebuilt it.
That is when the cache stopped being a performance feature in my head and became part of how I keep claims supported.
Checks I can write in code
Some problems I can describe exactly, and for those I don’t need a model. Every step returns a typed object with required fields and types. A coordinate cannot arrive as “somewhere near Gatsby’s mansion”; it has to be a number, or the result stops before the next step. Then I check consistency between parts of the workflow: the chosen region must be one Discovery returned, a strong book connection must have research behind it, a stop’s address must agree with the city it is filed under. Same input, same decision, no model call.
These checks only catch what I can state precisely. They cannot tell me whether a claim is true or whether the itinerary is interesting. A bad result can still get through.
When it does, I need to see where it came from. One request moves through several agents in parallel, and separate log lines do not show the path. I use Langfuse, which records a trace for every run: each step, what it received, what it returned. In one Discovery result the author branch returned a place called “Personal Office”, which is not somewhere a traveler can go. The trace showed the branch had not used Search; the model had filled the gap from memory. I found the same pattern in other branches, and added a rule: a strong claim counts as supported only when its own branch brings Search evidence. A trace cannot prove a claim true. It shows where the claim entered and what evidence was there.
One trace explains one failure. To know whether a fix holds, I need evaluation.
Running the same cases again
Evaluation asks a bigger question: when I change the system, does it get better across many cases? I keep a fixed list of forty-four cases across five datasets. Whenever I change a prompt, a model, a workflow step or a guardrail, I run the same cases again. The system changes; the cases do not.
One case uses Leviathan Wakes, a science-fiction novel that takes place partly on Mars and in the asteroid belt. The first version of Storyland suggested Mars and the asteroid belt as travel regions. Relevant to the book. Not a place the user can go, yet. I added a rule that travel regions must be places on Earth, and Storyland came back to Earth, literally: it suggested locations connected to the authors and the screen adaptation. Not perfect, but a trip someone could take. Because the same case ran before and after, I could measure the change and check the other cases for regressions.
Some questions have no exact answer. Does the itinerary feel connected to the book? Is the plan realistic? For those I use a second model as a judge: it gets the request, the result and a rubric, and returns a score. The judge can be wrong too. From time to time I send a small sample to a review queue and score it myself, then compare. Most of the time the judge scores lower than I do. Sometimes it does the opposite. One itinerary placed Portland Observatory in Oregon, and the judge gave geographical accuracy five out of five. Portland Observatory is in Portland, Maine.
That changed how I pick the sample. If I only review low scores, I miss the serious mistake that got a perfect one. So the sample includes high scores too, and the disagreements go back into the rubric. A judge score is a useful signal. It is not ground truth.
Complete. Supported. Measured.
The system waits for every required branch. A strong claim needs evidence or it is downgraded. When something changes, the same cases run again, and the judge gets checked too. None of this makes the system perfect. It makes problems easier to see and fix, and it is what turned a five-day demo into something people use.
A great book does not have to end on the last page. Building the part after the last page took more than a good prompt. It took a system that researches broadly, keeps evidence, respects the reader’s choice, and shows its own failures.
My Storyland is live at mystoryland.ai. The code is public at github.com/o-ostrovskiy/storyland-ai. The slides: PDF.