creamy-tiger-14805
12/09/2025, 10:37 AM@server.rtc_session() , I am new to this. Is this implemented in the new releases of LiveKit?
My agent.py doesn't use this, but seems to be working fine.
Can I get some understanding on the above decorator? Like I want to know if we have any documentation of what this decorator solves or adds.
cc: @refined-appointment-81829quaint-ambulance-32873
12/09/2025, 11:24 AMif __name__ == "__main__":
cli.run_app(WorkerOptions(entrypoint_fnc=entrypoint))quaint-ambulance-32873
12/09/2025, 11:25 AMquaint-ambulance-32873
12/09/2025, 11:36 AMrefined-appointment-81829
12/09/2025, 3:13 PM@server.rtc_session() implemented in new releases?
Yes. It was introduced in LiveKit Agents 1.3.3 (November 2025) as part of the new AgentServer API. The changelog notes:
> "We've renamed Worker to AgentServer, and you now need to use a decorator to define the entrypoint."
The old method is deprecated but is still supported to ease migration to the new format/
See these release notes:
https://github.com/livekit/agents/releases/tag/livekit-agents%401.3.3creamy-tiger-14805
12/10/2025, 5:07 AM