Back to prompt library
Build Multi-Agent Crew in CrewAI
Linked challenge: Multi-Agent Industrial Asset Management Strategy Engine with CrewAI
Prompt source
implementation8 lines3 sectionsNo variables0 checklist items
from crewai import Agent, Crew, Process, Task
# Define Maintenance Planner Agent
planner = Agent(
role='Maintenance Planner',
goal='Analyze machine telemetry and trigger optimal repair schedules',
backstory='Senior industrial engineer with 15 years experience in predictive maintenance.'
)
# Define Inventory Agent and Production Agent, then assemble Crew