How to record an agent session without using egres...
# ask-ai
n
How to record an agent session without using egress?
t
Thanks for reaching out, Tareq. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You can record an agent session without using Egress by enabling Agent Observability. It captures audio, transcripts, traces, and logs directly in LiveKit Cloud and stores the session data for viewing and download. How to enable: 1. At the project level: open your project Settings → Data and privacy and enable observability. 2. At the session level: start the agent session with
record=True
. (If project-level recording is disabled, sessions cannot override it.) Example (Python):
Copy code
await session.start(
    agent=agent,
    room=ctx.room,
    record=True
)
What you get: • Full audio (user + agent) • Turn-by-turn transcripts • Session traces (STT/LLM/TTS steps), logs, and metrics • Session data available in the timeline view; you can use the Download data button to get a complete archive Retention and exports: • Session data is retained for 30 days. • Automatic export to your own cloud storage is planned but not yet available. Would you like step-by-step help enabling this in your project or a walkthrough of the session timeline/download process? Sources: https://blog.livekit.io/streamline-troubleshooting-with-agent-observability/#/portal/signup| | Agent insights in LiveKit Cloud | LiveKit docs | LiveKit Pricing | https://blog.livekit.io/streamline-troubleshooting-with-agent-observability/#/portal|