What the agent does.
The logic and integrations that turn a business task into agent behavior.
- Define the tools.
- Specify required inputs, returned data, and the errors the agent needs to handle.
- Connect the steps.
- Set agent roles, pass results between them, and keep the information needed for the next decision.
- Test difficult requests.
- Try missing details, failed tools, and unexpected responses. Decide when to retry, ask for clarification, or stop.
Illustrative example
A request is missing a customer ID. Ask which customer before calling the lookup tool, then return the matching record.