Spaces:
Sleeping
Sleeping
Create agents/planner_agent.py
Browse files- agents/planner_agent.py +11 -0
agents/planner_agent.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from crewai import Agent
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
def create_planner_agent():
|
| 5 |
+
return Agent(
|
| 6 |
+
role="Planner",
|
| 7 |
+
goal="Break coding problems into structured tasks",
|
| 8 |
+
backstory="Expert software architect skilled in debugging and planning.",
|
| 9 |
+
verbose=True,
|
| 10 |
+
allow_delegation=True,
|
| 11 |
+
)
|