green-airline-46106
09/04/2025, 8:39 PMtall-airline-16756
09/04/2025, 8:39 PMtall-airline-16756
09/04/2025, 8:40 PMctx.job.userdata (or more specifically ctx.userData) is tied to a single session and doesn’t get shared across different sessions on an agent. Each session keeps its own separate state, including userData, which is connected to that particular AgentSession instance for the session.
Sources: examples/src/restaurant_agent.ts | examples/voice_agents/multi_agent.py | complex-agents/personal_shopper/personal_shopper.py | Workflows | LiveKit Docs