When RAG and vector databases are the wrong tool

Common error in app-layer LLM products is that people use RAG and Vector DBs incorrectly. To process a single document or small amount of input information, people first chunk it, throw it in a vectorDB then retrieve it and put in the context. That makes no sense if the original document is small and could literally be fully packaged in the context window.

Remember - you need RAG if during inference, you need to select a subset of information from thousands of documents (100s of millions or billions of tokens), which of course is impossible to include in the context window of a single inference.

  • Software architecture

Keep reading

Software architecture

Eras of software from the mainframe age to AI

I've been reflecting on the evolution of software development and the distinct eras the industry has experienced over the years. For each era, I've considered the defining characteristics, the technological advancements that emerged, and the market segments most affected or newly created by these innovations. Dive deeper into this exploration on how software has transformed from the mainframe age to today's AI-driven landscape. In a follow-up post, I will talk about how the tooling has evolved from assembly languages to high-level languages to now plain-english prompts and agentic pipelines.

Plank

Sequoia, relentless execution and a golden era to build

Interesting to see Sequoia Capital continuing to innovate in Venture Capital. They have always set a high bar in how you operate with high integrity and rigor. They set a very high bar for themselves and come with a mindset of relentless execution. We are living in a golden era of innovation, it is the time to build and if you are someone who is excited to build your version of the future, now is the time. The mindset that is needed to win is that every week, every day, every minute is critical. What did you get done in the last 5 minutes?

Enterprise AI

Safe, sovereign AI deployment is the decade's top challenge

Safe secure sovereign deployment of AI will be the highest value challenge of the coming decade. There is an opportunity to rethink the security, deployment and fundamental business paradigms in this domain. The key is to get unshackled from the way of thinking of the past era. We have to start by accepting some new tenants like the cost of software is zero, cost of tokens in enterprise is near zero, model capabilities are already at AGI level when it comes to enterprise, and security and sovereignty of data is unsolved at the moment. It is an exciting space to innovate in.

Models and research

GPT-6 Astra edits Qwen's weights to make it better at math

Wow! This is like science fiction. This might be the clearest sign that we are on the verge of RSI (Recursive Self Improvement). In this case, GPT-6 Astra is able to modify the weights of an open-source Qwen 3.5 model to make it better at math by just editing 0.016% of the weights. Link to the paper and analysis in comments Paper: rikiyat.github.io/blog/weight-space-programming Analysis and reproduction of the result from Simon: simonwillison.net/2026/Nov/3/qwen-can-interpret-mod…