Back to prompt library
Build CrewAI Safety Agents
Linked challenge: CrewAI OSHA Plant Safety Audit Crew with Specialized Expert Roles
Prompt source
implementation1 lines1 sectionsNo variables0 checklist items
Import Agent, Task, Crew, Process from crewai. Define three agents: 'OSHA_Inspector' (goal: identify regulatory violations), 'Safety_Engineer' (goal: propose physical mitigations), and 'Plant_Manager' (goal: summarize operational risk).