Schemas

Validate agent, team, factory, and workflow inputs and outputs.

The SDK examples demonstrate typed model inputs and outputs. The factory and served-workflow examples show runtime request validation.

ExampleDescription
Agent inputSupply a Pydantic input model.
Agent outputReceive structured Pydantic output.
Team inputValidate a team’s input.
Team outputDefine the team’s structured response.
Factory inputValidate client-controlled factory_input before construction.
Served workflow inputValidate the run input of a served workflow.