What problem does it solve? Designing a production AI pipeline from scratch—task decomposition, prompt engineering, context management, and cost control—is error-prone and often results in monolithic prompts with no validation or retry logic. ## Core Features & Use Cases - Structured Workflow Design: Produces a complete AI_WORKFLOW.md covering task breakdown, text chunking, prompt templates, LangChain chains (PromptTemplate, RunnableSequence, OutputParser), and context management. - Reliability Engineering: Defines output schemas (JSON/YAML), validation rules, exponential-backoff retries, Redis caching, and error codes like AI_TIMEOUT and AI_INVALID_YAML. - Use Case: Given a PRD for a novel-to-script tool, generate a multi-stage pipeline (NovelAnalyzerChain → CharacterExtractionChain → SceneGenerationChain → YamlValidationChain) with DeepSeek model settings, token budgets, and risk analysis. ## Quick Start Ask the AI to generate a complete AI workflow design from your PRD.md or business logic document, including prompts, LangChain chains, validation, and cost optimization.