|
| 1 | +# Agents Playbook |
| 2 | + |
| 3 | +## Simple Playbook Example |
| 4 | + |
| 5 | +```yaml |
| 6 | +framework: crewai |
| 7 | +topic: Artificial Intelligence |
| 8 | +roles: |
| 9 | + screenwriter: |
| 10 | + backstory: 'Skilled in crafting scripts with engaging dialogue about {topic}.' |
| 11 | + goal: Create scripts from concepts. |
| 12 | + role: Screenwriter |
| 13 | + tasks: |
| 14 | + scriptwriting_task: |
| 15 | + description: 'Develop scripts with compelling characters and dialogue about {topic}.' |
| 16 | + expected_output: 'Complete script ready for production.' |
| 17 | +``` |
| 18 | +
|
| 19 | +## Detailed Playbook Example |
| 20 | +
|
| 21 | +```yaml |
| 22 | +framework: crewai |
| 23 | +topic: Artificial Intelligence |
| 24 | +roles: |
| 25 | + movie_concept_creator: |
| 26 | + backstory: 'Creative thinker with a deep understanding of cinematic storytelling, |
| 27 | + capable of using AI-generated storylines to create unique and compelling movie |
| 28 | + ideas.' |
| 29 | + goal: Generate engaging movie concepts using AI storylines |
| 30 | + role: Movie Concept Creator |
| 31 | + tasks: |
| 32 | + movie_concept_development: |
| 33 | + description: 'Develop movie concepts from AI-generated storylines, ensuring |
| 34 | + they are engaging and have strong narrative arcs.' |
| 35 | + expected_output: 'Well-structured movie concept document with character |
| 36 | + bios, settings, and plot outlines.' |
| 37 | + screenwriter: |
| 38 | + backstory: 'Expert in writing engaging dialogue and script structure, able to |
| 39 | + turn movie concepts into production-ready scripts.' |
| 40 | + goal: Write compelling scripts based on movie concepts |
| 41 | + role: Screenwriter |
| 42 | + tasks: |
| 43 | + scriptwriting_task: |
| 44 | + description: 'Turn movie concepts into polished scripts with well-developed |
| 45 | + characters, strong dialogue, and effective scene transitions.' |
| 46 | + expected_output: 'Production-ready script with a beginning, middle, and |
| 47 | + end, along with character development and engaging dialogues.' |
| 48 | + editor: |
| 49 | + backstory: 'Adept at identifying inconsistencies, improving language usage, |
| 50 | + and maintaining the overall flow of the script.' |
| 51 | + goal: Refine the scripts and ensure continuity of the movie storyline |
| 52 | + role: Editor |
| 53 | + tasks: |
| 54 | + editing_task: |
| 55 | + description: 'Review, edit, and refine the scripts to ensure they are cohesive |
| 56 | + and follow a well-structured narrative.' |
| 57 | + expected_output: 'A polished final draft of the script with no inconsistencies, |
| 58 | + strong character development, and effective dialogue.' |
| 59 | +dependencies: [] |
| 60 | +``` |
0 commit comments