Recording
The AI Agent SDK now supports session recordings, which can be enabled with a simple configuration. When enabled, all interactions between the user and the agent are recorded.
These recordings can be played back directly from the dashboard with autoscrolling transcripts and precise timestamps, and you can also download them for offline review and analysis.
Enabling Recording
To enable recording for an AI agent session, you need to set the recording
flag to true
in the session context. Once that's done, start your agent as usual—no additional changes are required in the pipeline.
By default, the recording flag is set to false
.
job_context = JobContext(
room_options = RoomOptions(
room_id = "YOUR_ROOM_ID",
name = "Agent",
recording = True
)
)
Got a Question? Ask us on discord