How opahopa/crewai-factory-crew works
Main Components
a) Input Layer:
• YAML Configuration Input (crew_input.yaml)
• Environment Configuration (.env)
b) Core Processing Components:
• Design Crew System
• Coding Crew System
• Model Selection & Management
c) Tool Management Layer:
• Custom Tools Repository
• External Tools Integration
d) Output Generation Layer:
• Generated Crew Implementation
• Configuration Files
• Support Files
[Input YAML] → [Factory Core] → [Generated Crew]
[Input Layer]
• ↓
[Configuration Parser]
• ↓
[Design Crew] → [Design Artifacts] → [Coding Crew] → [Final Implementation]
• ↑ ↑ ↑ ↓
[Tools Layer] ←→ [Model Layer] ←→ [Helper Functions] → [Output]
Key Relationships to Highlight
a) Two-Stage Processing Pipeline:
• Sequential flow from Design Crew to Coding Crew
• Feedback loops between stages
b) Tool Integration:
• How custom tools (from /tools directory) connect to both crews
• External tool integration points
c) Model Selection Flow:
• How different models (gpt1o_mini, gemini2, claude3.5-sonnet) are used at different stages
Important Details
a) Configuration Management:
• How /config directory structures influence both crews
• Relationship between agents.yaml and tasks.yaml
b) Helper Integration:
• How helpers/ directory components support the main process
• Utility function integration points
Technical Stack Indicators
• Python (core implementation)
• YAML (configuration)
• LLM APIs (OpenAI, Gemini, Anthropic)
• External APIs (Serper)