Event-driven orchestration
Business events, messages or schedules trigger subscribed agents through an event bus. Agents run asynchronously, each on its own clock.
In plain terms Like a smoke alarm: nothing happens until something occurs, then everyone subscribed to it reacts.
Last reviewed · Build from primitives Combine agents with event triggers or an event broker; not an agent orchestration itself.
How it works
Agents subscribe to events (records, schedules, messages) published through a broker and react asynchronously; producers don’t know which agents consume an event.
Roles in the example
- Bolt · Order agent Subscribed to order events.
- Nova · Report agent Subscribed to the nightly schedule.
- Pixel · Notification agent Also subscribed to order events.
At a glance
- Pattern type
- Execution model
- Execution model
- Asynchronous publish–subscribe
- Coordination
- Event broker and subscriptions
- Runs agents in parallel
- Yes
- Implementation complexity
- High
- Relative latency
- Low · Near real time per event; end-to-end is eventually consistent
- Relative operational cost
- Medium · Agents run only when events arrive, so cost follows event volume rather than user requests.
- Predictability
- Medium · Ordering and delivery need explicit design
- Scalability
- Highly scalable and decoupled; consumers scale independently.
Complexity, latency, cost and predictability are qualitative ratings that compare these patterns with each other, not measured benchmarks.
When to use it
Good for: Reacting to system changes in real time, at scale.
Use when
- Agents must react to business events without a user prompt
- Many consumers for the same events
- Decoupled, independently scaled components
Avoid when
- Simple request–response interactions
- Strong consistency required across services
- Team lacks async operations experience
Enterprise use cases
- Agent reacting to new Dataverse/CRM records
- Scheduled reporting agents
- Order and notification processing
Advantages and limitations
Advantages
- Proactive, autonomous agents
- Loose coupling between producers and agents
- Independent scaling
Limitations and trade-offs
- Eventual consistency
- Ordering, duplicate and lost-event handling
- Harder end-to-end tracing
Security, oversight and failure handling
Security and governance
- Minimize sensitive data in event payloads
- Triggered agents may run with the maker’s credentials — scope them
- Authenticate publishers and subscribers
Human oversight
Optional. Not per event: people monitor the stream, handle dead-lettered events and approve high-impact actions.
Failure handling and recovery
- Idempotent consumers and retries
- Dead-letter queues for failed events
- Correlation IDs for tracing
Implementation guidance
Decisions to settle before building
- Make agent handlers idempotent: event brokers can deliver the same event more than once.
- Validate and filter event payloads before they reach an agent; trigger data can contain unintended or sensitive content.
- With no user present, a tool call can fail when required input is missing: describe inputs clearly and test with representative event payloads.
Supported technologies
| Technology | Support | How |
|---|---|---|
| Copilot Studio | Platform feature | Event triggers for autonomous agents |
| Azure Event Grid / Service Bus | Build from primitives | Broker events to agent endpoints (e.g. via Azure Functions) |
| Microsoft Agent Framework | Custom implementation | Host workflows behind your event consumers |
Code samples and step-by-step guides for Python, C#, Microsoft Foundry and Copilot Studio are in the interactive explorer’s Developer implementation section.
Official references
- Copilot Studio: event triggers
- Azure Architecture Center: event-driven architecture style
- Azure Event Grid overview
Last reviewed 5 December 2026 against Copilot Studio, Azure Event Grid / Service Bus, Microsoft Agent Framework (Python 1.26 release line). Platforms change often: confirm details in the linked documentation.