adamwlarson/ai-book-writer ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python app that can take a simple story idea and turn it into a full book using multiple AI agents working together.
I want it to create a solid outline first, then write chapter by chapter, while keeping the story consistent, the characters believable, and the world details the same throughout. It should have different roles like a planner, world builder, memory keeper, writer, and editor, and save the results into a folder with an outline file and separate chapter files.
Make it easy to run from a main script, and let me change things like the number of chapters, the model or endpoint, and the output folder in a config file. Add basic validation and retry handling so it can recover if one step fails. If you need to, look up current AutoGen docs online so the setup and agent patterns are up to date.
Are you gonna build this?
make sure you review the code using coderabbit