A conversation process is a plan for the reasoning engine. A compound action is where integration logic lives.
Compound actions and conversational processes are foundational building blocks for creating agents that automate tasks and interact with users. Understanding when to use each helps developers design solutions tailored to trigger types and interaction needs.
The choice between them depends on the agent’s context: ambient agents typically rely on compound actions for event-driven logic, while conversational agents use processes for user-initiated flows. However, they aren’t mutually exclusive, integrations allow hybrid scenarios, such as triggering compound actions from conversational processes for asynchronous tasks or loops.
While both can include multiple activities, they serve fundamentally different purposes — and misusing them leads to fragile, underperforming agents.
Never execute two action-based activities in a row inside a conversational process without collecting a slot in between.
Most of the time, this pattern indicates anti-pattern usage.
Use compound actions when your workflow is triggered at the system level, without requiring immediate user interaction. They are the go-to for ambient agents, which monitor external signals proactively.
In an ambient agent monitoring inventory levels:
Advantages: Fast execution, no user dependency, scalable for high-volume tasks.
Limitations: Lacks user context; cannot directly solicit input.
Use conversational processes when triggers are user-initiated and require interactive guidance, validation, or consent. These are core to conversational agents.
In a conversational agent for HR support:
Advantages: Maintains context for natural conversations, validates inputs in real-time, enhances user experience.
Limitations: Reactive only; not suited for unattended automation.
Almost every plugin should expose one conversational process with a single activity.
Only use multiple activities in a process when:
Otherwise: keep integration logic in compound actions.
While compound actions and conversational processes operate in distinct worlds, they can integrate for powerful hybrid agents. For instance:
For detailed guidance on bridging these, including using notify for transitions, refer to our guide on Connecting Ambient Agents and Conversational Agents.
This blend enables flexible architectures, such as ambient agents prompting user actions or conversational flows delegating to background processing.