Ambient Agents Cookbook
Ambient agents can leverage different trigger types, each with its own architecture for handling events, changes, or scheduled tasks. Below are sequence diagrams illustrating the flow for each trigger type.
Webhook Trigger Architecture
This diagram shows an ambient agent responding to a real-time webhook event, such as monitoring CPU usage and scaling resources if needed.
Scheduled Trigger Architecture
This diagram depicts an ambient agent executing a workflow at a predefined time, such as generating a report on new feature requests every Monday morning.
Do not use scheduled triggers to run a task for every employee. Instead, you should aim to run a task for every record in a business process.
.