Agentic RAG System
An end-to-end RAG pipeline over Anthropic's API documentation — markdown-aware chunking into ~3,100 chunks, sentence-transformer embeddings, and a self-hosted Qdrant vector store, with full ingestion completing in under 60 seconds. Retrieval is exposed through a custom MCP server (built on the Python MCP SDK) with 4 tools, wired into an agent framework so the agent can only retrieve through MCP — no direct database access. The whole stack runs on a self-managed VPS behind Nginx/TLS with Docker, systemd, and a scripted GitHub Actions redeploy, with a Next.js frontend that includes a retrieval-inspector UI showing citation sources and similarity scores.
Why it's interesting: The interesting part is the enforcement boundary: the agent is architecturally incapable of bypassing the MCP layer to hit the vector store directly, and every answer traces back to its source chunks with a similarity score.
- Python
- MCP
- Qdrant
- FastAPI
- Docker
- Nginx
- Next.js
- TypeScript
- GitHub Actions
