astonishing-salesclerk-9701
11/20/2025, 7:40 AMself.session.room_io.room.local_participant.send_text("my payload",
topic="my topic")
Within the Agent but I can't test this via uv run agent.py console as it gives me a Runtime error that says
RuntimeError: Cannot access room_io: the AgentSession was not started with a room.
which makes sense but then how do I test this locally? Also is accessing room_io the best way to do this?lively-winter-88668
11/20/2025, 10:53 AMuv run agent.py dev to have your agent connect to a room. You can then test it locally with a front end using the same LiveKit API key for both agent and front end.
The room object is available from ctx.roomastonishing-salesclerk-9701
11/20/2025, 11:12 AMctx.room within the llm_node -> so how do I get the room object?lively-winter-88668
11/20/2025, 11:52 AM