creamy-window-79763
12/10/2025, 4:46 PMtall-airline-16756
12/10/2025, 4:46 PMtall-airline-16756
12/10/2025, 4:47 PMadd_shutdown_callback / ctx.add_shutdown_callback) remains backward compatible in LiveKit Agents 1.3.3. You can register shutdown hooks in Python and Node.js; they run after the session shuts down but before the process exits, and the framework waits up to 60 seconds (default) for them to finish.
Sources: Job lifecycle | LiveKit docs | Agents (Node.js) | livekit/livekit_composite | DeepWiki