llm binds tools (llm.bind_tools([...])) and drives an agent unchanged:
create_agent returns a compiled LangGraph graph. langgraph.prebuilt.create_react_agent is deprecated since LangGraph 1.0 and points at the same function.
Pass stream_usage=True to get token usage in streamed chunks (full.usage_metadata after summing the chunks).
Privacy
Use a catalog ID, not an OpenAI name. Every catalog ID runs in attested hardware;GET /v1/models lists them. End-to-end encryption needs client-side encryption and extra headers, which these frameworks do not add. See How Privacy Works.
Related
Framework Integrations
The shared pattern.
OpenAI Compatibility
What differs.
How Privacy Works
Privacy-preserving hardware on every call.

