Documentation Index
Fetch the complete documentation index at: https://daily-docs-pr-4424.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
FlowManager orchestrates conversation flows by managing state transitions, function registration, and message handling across different LLM providers.
Configuration
All parameters are keyword-only.Pipeline task instance used for queueing frames into the pipeline.
LLM service instance or an
LLMSwitcher for switching between providers at
runtime. Any LLMService subclass is supported, including OpenAI-compatible
services (Groq, Together, Cerebras, DeepSeek, etc.), Anthropic, Google Gemini,
and AWS Bedrock.Context aggregator for managing conversation context. Typically created using
LLMContextAggregatorPair from
pipecat.processors.aggregators.llm_response_universal.Default context strategy for managing conversation context during node
transitions. Can be overridden per-node via
NodeConfig.context_strategy.
See
ContextStrategyConfig.Transport instance for communication (e.g.,
DailyTransport). When provided,
accessible via the transport property in function and action handlers.Functions that will be available at every node. These are registered once
during initialization and automatically included alongside node-specific
functions. Useful for capabilities like “transfer to human” that should be
accessible from any conversation state.
Properties
state
transport
None if not set. Use this to interact with the communication platform (e.g., mute participants, access room info).
current_node
None before initialization or if no node has been set.
task
Methods
initialize
| Parameter | Type | Default | Description |
|---|---|---|---|
initial_node | NodeConfig | None | Initial node configuration. Can also be set later via set_node_from_config(). |
FlowInitializationError if initialization fails.
set_node_from_config
name field in the config, or a UUID is generated if not provided.
| Parameter | Type | Description |
|---|---|---|
node_config | NodeConfig | Configuration for the new node. |
FlowTransitionError if the manager is not initialized. FlowError if node setup fails.
In most cases, prefer returning the next node from a consolidated function
handler instead of calling this method directly.
get_current_context
FlowError if the context aggregator is not available.
register_action
(action) or a modern handler (action, flow_manager).
| Parameter | Type | Description |
|---|---|---|
action_type | str | String identifier for the action (e.g., "notify_slack"). |
handler | Callable | Async function that handles the action. |
pre_actions or post_actions: