Skip to main content
The same 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. For attested hardware use a :confidential variant; GET /v1/models lists their :confidential IDs. Encrypted needs client-side encryption and extra headers, which these frameworks do not add. See Privacy Levels.

Framework Integrations

The shared pattern.

OpenAI Compatibility

What differs.

Privacy Levels

The four levels.