I've built a library that expose LangChain / LangGraph agent respopnses as an OpenAI Compatible API #22897
samuelint
announced in
Show and tell
Replies: 1 comment
-
Very useful. Let's test it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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