red-optician-55467
12/16/2025, 5:48 PMtall-airline-16756
12/16/2025, 5:49 PMtall-airline-16756
12/16/2025, 5:49 PMsession object. Yes — the session is attached to the Agent instance and can be accessed as self.session inside Agent methods. To let a child/helper object reach it, either:
• Call the child method with a reference to the Agent (common pattern):
a. In the Agent: child.do_work(self)
b. In the child: use that reference: agent.session (e.g., agent.session.generate_reply())
• or give the child a direct reference to the session when you instantiate it:
a. In the Agent constructor: self.child = Child(session=self.session)
b. In the child: store self.session and use it in methods.
If you can share a short snippet showing your Agent/child structure (language and how the child is created/invoked), I can suggest the exact code pattern to use.
Sources: Building a Moviefone-style Theater Assistant | LiveKit docs