Python SDK 3.3 and 3.4
session.ai_headers gives any OpenAI-compatible client, such as LangChain's ChatOpenAI, the headers that put its model calls in the agent's session and attribute them to the end user. A held call now says who approves it (details.approval with routed_to, channel and expires_at, in display names only), a denied call carries the approver's note, and a refused call echoes the arguments it sent. An SDK agent reads Connected after a call in the last 15 minutes. pip install "cortexhub[verify]" adds cortexhub verify for checking receipts and evidence packs offline. See Installation and Approvals.