---
author: "Umesh Malik"
canonical: "https://umesh-malik.com/blog/tag/rag"
description: "Explore articles tagged with RAG by Umesh Malik — AI Engineer, LLM & GenAI Developer. Learn RAG best practices, practical tips, and in-depth guides."
title: "Umesh Malik's Blog - RAG Articles | RAG Tutorials"
tokens: 791
generator: "scripts/generate-page-markdown.mjs"
---

[← Back to Blog](https://umesh-malik.com/blog)

# RAG

6 articles

 [![Ads for AI agents: TIME serves markdown with sponsored FAQ blocks to AI crawlers and HTML to humans](https://umesh-malik.com/blog/ads-for-ai-agents-time-markdown-crawlers-cover.png)

AI Engineering • Aug 6, 2026

### Ads for AI Agents: TIME Serves Crawlers a Different Site

Ads for AI agents are live. TIME serves crawlers a 42 KB markdown site with sponsored blocks; humans and Googlebot get 1.2 MB of HTML. I measured all of it.

10 min read

Read more →](https://umesh-malik.com/blog/ads-for-ai-agents-time-markdown-crawlers)

 [![Reinforcement fine-tuning: a 4B open model matching a frontier LLM on retrieval at a fraction of the cost](https://umesh-malik.com/blog/reinforcement-fine-tuning-small-models-retrieval-cover.png)

LLM Engineering • Aug 6, 2026

### Reinforcement Fine-Tuning: When a 4B Model Beats GPT-5.6

Reinforcement fine-tuning let a 4B open model match GPT-5.6 Sol on retrieval at 100x lower cost. How RFT works, and when it beats prompting a frontier LLM.

10 min read

Read more →](https://umesh-malik.com/blog/reinforcement-fine-tuning-small-models-retrieval)

 [![A RAG chatbot in Next.js: embed the query, search pgvector, augment the prompt, stream a cited answer](https://umesh-malik.com/blog/rag-chatbot-nextjs-guide-cover.png)

AI Engineering • Jul 21, 2026

### Build a RAG Chatbot in Next.js: Retrieval, Streaming & Citations (2026)

Build a RAG chatbot in Next.js with the AI SDK: embed the query, search pgvector, stream a grounded answer with citations, and stop hallucinations.

8 min read

Read more →](https://umesh-malik.com/blog/rag-chatbot-nextjs-guide)

 [![Editorial cover: build enterprise-grade AI agents for free with open-source MaxKB, $0 API cost, self-hosted](https://umesh-malik.com/blog/build-enterprise-ai-agents-free-cover.png)

AI Engineering • Jul 8, 2026

### How to Build Enterprise-Grade AI Agents for Free (MaxKB, 2026)

How to build enterprise-grade AI agents for free in 2026: a hands-on MaxKB + local LLM guide to RAG precision, security, and $0 API cost.

10 min read

Read more →](https://umesh-malik.com/blog/build-enterprise-ai-agents-free)

 [![The stages of a production retrieval-augmented generation pipeline](https://umesh-malik.com/blog/build-rag-pipeline-from-scratch-cover.png)

AI Engineering • Jun 8, 2026

### Build a RAG Pipeline From Scratch: Production Patterns That Matter

Build a RAG pipeline from scratch: chunking, embeddings, retrieval, reranking, grounded generation, and the production patterns that decide whether it works.

7 min read

Read more →](https://umesh-malik.com/blog/build-rag-pipeline-from-scratch)

 [![RAG vs fine-tuning architecture comparison for LLMs](https://umesh-malik.com/blog/rag-vs-fine-tuning-llms-2026-cover.png)

AI Engineering • Feb 28, 2026

### RAG vs Fine-Tuning for LLMs in 2026: A Production Decision Framework With Real Tradeoffs

RAG vs fine-tuning for LLMs in 2026: a practical decision framework covering architecture tradeoffs, cost, latency, and when to use each in production.

6 min read

Read more →](https://umesh-malik.com/blog/rag-vs-fine-tuning-llms-2026)
