Agentic AI (LangChain and LangGraph) · LangChain Agents in Depth · Advanced · 28 min read
LangChain Runtime, Context and ToolRuntime: Pass User, Tenant and Services to Tools and Middleware Safely
Learn how an agent run carries dependencies. Understand context versus state versus store, define a context_schema and pass context at invoke time, read it from tools with ToolRuntime and from middleware with Runtime, write dynamic prompts from context, stream custom progress, use execution info, and design secure, testable tools that never trust the model for identity.
Create an account to start
Create a free account to see what this lesson covers
- Every free lesson in every section, in full
- Track your progress and pick up where you left off
- Free practice questions and an incident simulation
- Takes under a minute: name, email and a password
No card needed. Full access to Agentic AI (LangChain and LangGraph) is a paid upgrade you can choose later.