Optionaloptions: Partial<Omit<AdapterConfig, "agentId" | "framework">>Optionalcallbacks: AdapterCallbacksEnd the session
Create a LangChain-compatible callback handler object
Get events by type
Get the current session
Get session summary
Record an agent reasoning step
Record an LLM call
Record a tool call
Check if the agent should stop (budget exceeded or action limit)
LangChain adapter — wraps LangChain callbacks