Skip to main content
Turn an unstructured order (email, PDF, API payload) into a quality-checked production schedule with a single function call. Turn an unstructured order (email, PDF, API payload) into a quality-checked production schedule with a single function call.
The user submits unstructured order text; four agents parse inventory, schedule production, and return a quality report.

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 ParseOrder
Swap the fallback strategy for inventory
Scale with IndustryAgentPattern

Best Practices

The OptimizeSchedule agent sorts by priority (urgent > high > normal). Ensure ParseOrder correctly extracts the priority field — incorrect priorities cascade into suboptimal schedules.
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.
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.
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.

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.