Skip to main content
Use this guide when you want LangChain chains, agents, or LangGraph workflows to call models through Phaseo.

Install

Configure ChatOpenAI

Use with LangGraph

Pass the same llm into your graph nodes or agent builder:

Notes

  • LangChain’s OpenAI-compatible path targets Chat Completions. Use Phaseo features that are available on /v1/chat/completions.
  • If you need Responses-only server tools such as phaseo:apply_patch, call Phaseo directly or use the OpenAI SDK guide.
  • For tracing, pair this with Observability.
Last modified on July 26, 2026