Frames
Base Frame Types
Core frame classes that all other Pipecat frames inherit from
Frame
The base class for all frames in Pipecat. Provides core functionality for frame identification and timing.
Properties
id
integer
Unique identifier for the frame. Auto-generated during frame initialization.
name
string
Frame class name with unique counter (e.g., “Frame#1”, “AudioFrame#2”)
pts
Optional[int]
Presentation timestamp in nanoseconds. Used for frame timing and synchronization.
Methods
DataFrame
Base class for all frames carrying data through the pipeline (audio, text, images, etc.).
SystemFrame
Base class for frames that carry system-level signals and can bypass normal processing rules.
ControlFrame
Base class for frames that manage pipeline flow and processing control.
AppFrame
Base class for application-specific custom frames.