I've built a library that expose LangChain / LangGraph agent respopnses as an OpenAI Compatible API #22897
samuelint
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I just want to share a library that I've built on top of LangChain, which exposes the LangChain/LangGraph agent (CompiledGraph) as an OpenAI-compatible API.
It allows you to use any existing GUI, UI SDK, or OpenAI client to work seamlessly with a custom LangChain agent. It's been very useful for me, so it might be for you as well :)
Repo: https://github.com/samuelint/langchain-openai-api-bridge
Article about it: https://medium.com/@samuelint/stream-langchain-agent-to-openai-compatible-api-f5cffbb6fafa
Should I create a pull request to integrate this directly into the LangChain community package?
Beta Was this translation helpful? Give feedback.
All reactions