AI agentsSoftware architecture
Stop building traditional RAG and let the agent do it
Anyone who is building RAG in a traditional way today should STOP and revisit approach. Unless you have millions of documents with terabytes of data, you can get a much better result by using Agent SDK and giving it access to the docs and letting it do the RAG. The agent would be able to analyze the docs, classify/index them and figure out what it needs to bring into the main context. Over the past 2 years, I have seen very strange uses of RAG. Eg companies that were trying to do a RAG on a single document, doing RAG on a database with structured types (non-text data), etc. TBH, with the recent improvements in Claude and Codex, and long-running agents, there is very little reason to build a complex agent architecture in the app layer. The best approach is to specify very clearly and succinctly your goals at the highest abstraction layer and just getting out of the way of the model.







