- Proper StateGraph with compiled nodes
- Conditional edges for writing iteration
- Checkpoint memory for resumability
- Structured state with Pydantic
- Node_validate for cross-stage validation
- Writing loop with iterate/next logic
- Full end-to-end workflow
This is the rigorous LangGraph integration.
- Structured OpusState with Pydantic models
- PreWriting schema with Character, ChapterPlan, PlotBeat
- Validation functions for each stage
- Checkpoint save/load to disk
- Workflow nodes for each stage
- Cross-validation between stages
- Structured parsing of LLM outputs
- Snowflake Method (already had)
- Three-Act Structure
- Save the Cat (Blake Snyder)
- Hero's Journey (Joseph Campbell)
- Story Circle (Dan Harmon)
- The 7-Point Plot (The Pantone)
- Fichtean Curve
Pass framework='hero-journey' or 'save-the-cat' etc. to use.
- Add .env to .gitignore (API keys stay local)
- Add LLM client with MiniMax and OpenAI support
- Update config to load from environment variables
- Wire up Architect agent to actually call the LLM
- Add MiniMax API key to local .env file