Skip to main content
Each LangGraph invocation receives an AionRuntimeContext populated by Aion Server. It carries the inbound inbox, typed event, and distribution payload for the current request. Thread and Message are authoring helpers built on top of it. When using create_event_router, they are injected automatically — you rarely need to reach into the context directly.

Accessing the Context

Register AionRuntimeContext as the graph context schema, then access it via Runtime[AionRuntimeContext] in any node: