Join Slack
Powered by
What is RunContext part of ? Session or Agent ?
# ask-ai
f
famous-translator-29827
10/30/2025, 1:17 AM
What is RunContext part of ? Session or Agent ?
t
tall-airline-16756
10/30/2025, 1:17 AM
Thanks for reaching out, Roshan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
tall-airline-16756
10/30/2025, 1:17 AM
The
RunContext
is actually part of the
AgentSession
, rather than the Agent itself. Think of it as a helpful companion that provides runtime information and tools while things are running. It’s created with a link to an AgentSession and serves as a bridge between the tool in action and the current session state. This way, tools can easily access session-level data and user-specific details right through the context. I hope this helps clarify things for you! Sources:
Tool definition and use | LiveKit Docs
|
agents/src/voice/index.ts
|
livekit-agents/livekit/agents/voice/agent_session.py
|
telephony/survey_caller/survey_calling_agent.py
Open in Slack
Previous
Next