Main Agent
The main agent is responsible for:- Understanding the user’s request.
- Planning the work.
- Calling tools and connectors.
- Calling sub agents when specialist help is useful.
- Returning the final response to the user.
Sub Agents
Sub agents are specialist helpers. The main agent can call them for focused tasks and use their result in the final answer. Good sub-agent jobs include:- Classification
- Extraction
- Summarization
- Research
- Redaction
- Validation
- Short reusable subtasks
Structured Data Outputs
AI Workforce supports structured outputs when a run needs predictable JSON. Structured inputs are no longer part of the public workflow model. The main agent talks to the user, and sub agents support that main agent behind the scenes. Use structured outputs when the result needs to be consumed by another system, rendered in a predictable UI, or reviewed consistently by your team. Good fits include:- Lead qualification summaries
- Research briefs with fixed fields
- Extraction from uploaded files
- QA or validation reports
- Connector-ready payloads
- Final workflow outputs that should be copied into another system
- The main agent needs to return a final result in a fixed shape.
- A sub agent needs to give the main agent a predictable helper result.
- A connector or downstream system expects specific fields.
Output Schema Setup
Open the agent settings and configure the output schema fields. For each field, define:- Name: the JSON key, such as
lead_scoreorsummary. - Type: string, number, boolean, or another supported schema type.
- Description: what the field should contain.
- Required: whether the field must be present.

