Skip to main content
Loading navigation
Back to prompt library

OpenAI Agents SDK Setup for Factory Scheduling

Linked challenge: Autonomous Factory Maintenance Scheduler with OpenAI Agents SDK and Cognition Devin

Prompt source

implementation1 lines1 sectionsNo variables0 checklist items
Using Python and the OpenAI Agents SDK (`from agents import Agent, Runner, function_tool`), create a multi-agent environment with three specialized agents: `HealthDiagnosticsAgent`, `ProductionPlannerAgent`, and `MaintenanceSchedulerAgent`. Implement tool definitions for querying machine RUL and solver constraint functions.