A Blog full of AI Projects

A Blog full of AI Projects

Python FastAPI with JWT Auth serving a Tool-Calling Agentic RAG using LangChain

19-November-2026

Python FastAPI with JWT Auth serving a Tool-Calling Agentic RAG using LangChain - hosted at Vercel Cloud using Serverless Functions

There is a Vue 3 SPA for the FastAPI

A production-style FastAPI backend built with LangChain, Groq LLMs, and JWT authentication. The system implements a modern Agentic RAG system with tool-calling architecture that automatically decides when to use external tools such as Wikipedia for factual retrieval and RAG for internal knowledge

Try the demo by OpenAPI...

Try the demo by Vue 3 SPA...

A Starter FastAPI + JWT Auth + AI Agent + RAG + LangChain + Vue 3 + OpenAPI / Swagger - secured by HTTPS

During the development process, I used ChatGPT for assisting with code generation and Github Copilot for code inline suggestion

DevOps by VS Code + GitHub + Vercel Cloud

The Web API at GitHub

The Vue SPA at GitHub
Software Developer - Per Olsen - Denmark