Send a message
model.stream(...) instead of model.invoke(...) to render tokens as they arrive.
Build an agent
LangChain’screate_agent runtime is built on LangGraph. Bound each run and validate tool input:
supported_features includes tools.
Add retrieval
Query the embedding catalog, then configureOpenAIEmbeddings with a current model:
Verification boundary
This base-URL integration does not verify ACI locally. TypeScript applications that require an attested, TLS-bound connection can injectconnectAci().fetch through LangChain’s configuration
hook and audit the retained receipt, using the same pattern as the
OpenAI SDK.