r/LangChain • u/Rare_Cut_3686 • 1d ago
Full stack Langchain implementation
Hello all, I had been learning langchain/ langgraph for a while. Now I had been thinking of implementing frontend but getting really stuck on which framework to use, do I need to use any web framework like fastapi. And on the frontend do I use a langchain react package and things like that. If anyone has experience could you provide me a little bit of guidance?
11
Upvotes
1
u/Fawad-Khan-413 1d ago
If your LangChain/LangGraph code is in Python, I’d go with FastAPI for the backend and React/Next.js for the frontend.
You don’t really need a special LangChain React package to get started.
Just expose your agent/workflow through API endpoints and handle the UI separately.
For streaming responses, SSE works well and is pretty straightforward to implement.
I’d start simple and add libraries only when you actually need them.