Back to prompt library
CrewAI Router Definition
Linked challenge: Multi-Agent Hardware Cost and Latency Optimizer with CrewAI and OpenRouter
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Import `from crewai import Agent, Task, Crew` and configure a dynamic router agent that calls OpenRouter API endpoints based on estimated reasoning depth.