How saiprasaad2002/d2c-agent works
Main Components
• Input Module: Represents the high-level natural language description users supply.
• Agents:
• Task Management Layer:
• UML Task (in tasks.py): Invokes the uml_generator.
• Code Task (in tasks.py): Relies on the context output from uml_task to drive code generation.
• Crew Workflow Manager:
• Crew (in crew.py): Orchestrates the execution order (sequentially) by defining and managing the tasks and agents using CrewAI’s workflow.
• Supporting Tools/Utilities:
• Tools (in tools.py): Although the file content is not detailed, it likely contains helper functions or classes to support the above modules.
Relationships and Interactions
• The process starts by receiving a natural language feature description.
• The Crew Workflow Manager ensures that the UML Task is executed first, then passes its output as the context to the Code Task.
Architectural Patterns and Design Principles
• Agent-Based Orchestration: The design leverages CrewAI’s multi-agent model, where dedicated agents handle distinct responsibilities.
• Sequential Task Dependency: Tasks are chained (uml_task → code_task) ensuring that output from one step is the input for the next.
Technologies and Frameworks
• CrewAI for agent orchestration.
• Gemini (LLM) for interpreting input and generating UML.
• Python (as the implementation language).