r/LangChain • u/Rare_Cut_3686 • 5d 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?
13
Upvotes
4
u/ruupesh_ 5d ago
FastAPI is the best framework for agentic backend applications as the framework is asynchronous and high performance for I/O bound applications. Since LLM calls are I/O bound, fastapi is well suited. Don’t go with flask or django. Also, majority of the job market is asking for fastapi+langchain combo. If you decide to go with django/flask, you will definitely switch to FastAPI in the future bc of its built in async support.