graph TD
A[Input: User Topic/Description] --> B[System Start]
B --> C[ScriptMaster Agent]
C --> D[Analyze Topic]
D --> E[Research Content]
E --> F[Structure Script]
F --> G[Generate First Draft]
G --> H[Review Length]
H --> I{Script Length OK?}
I -->|No| J[Adjust Content]
J --> G
I -->|Yes| K[Polish Final Script]
K --> L[Format Output]
L --> M[Output: Final Script]
subgraph Script Requirements
N[100-300 Words]
O[Conversational Tone]
P[Topic Relevance]
end
subgraph Quality Checks
Q[Grammar Check]
R[Content Accuracy]
S[Flow Check]
end
M --> T[Ready for Voice Forge]