Quick Start
1
Run the prebuilt workflow
result is a dict with keys order, inventory, schedule, and quality.2
Build a custom agent with IndustryAgentPattern
How It Works
Configuration Options
Pydantic I/O schemas used by this template:Common Patterns
Plug a custom ERP tool into ParseOrderBest Practices
Always validate priority before scheduling
Always validate priority before scheduling
The
OptimizeSchedule agent sorts by priority (urgent > high > normal). Ensure ParseOrder correctly extracts the priority field — incorrect priorities cascade into suboptimal schedules.Keep SLA budgets per agent
Keep SLA budgets per agent
CheckInventory must respond within 5 seconds to avoid blocking production scheduling. Any custom inventory tool you attach should query a cache or pre-indexed store rather than a slow ERP endpoint.Use fallback_strategies for supply chain disruptions
Use fallback_strategies for supply chain disruptions
When
CheckInventory cannot find stock, the built-in fallback returns an alternative-supplier flag. Extend this by attaching a @tool that queries a supplier API before escalating to manual review.Run quality inspection on every batch, not just failures
Run quality inspection on every batch, not just failures
DefectDetect returns a defect_rate even when passed=True. Log these rates over time to catch drift in machine calibration before it causes real rejections.Related
Industry Templates Overview
Hub page — choose the right template and understand cross-industry reuse.
Energy Template
Wind-farm monitoring, vibration fault detection, and predictive maintenance.

