Building a real-world LLM RAG App and Challenges


Back in 2023, I built a PDF RAG web application using Langchain.js and PDF.js as a side project. The architecture was quite simple: just wire up chunking and embedding, and the LLM would do its magic.

Now, in 2026, I’d like to share some insights and challenges from building a real-world LLM knowledge management application.

The Design of a Solid RAG App

There are four modules that I believe are required for a solid RAG app:

Challenges

After building the RAG App, there are still some realities you have to face:

Takeaway

In 2026, LLM RAG can feel out of fashion — everyone’s talking about agents, harness engineering, and loop engineering. But to me, RAG is foundational infrastructure for business-facing LLM applications: companies will keep using it to boost productivity, whatever the trend.