// The Full Archive

Blog Articles

Deep dives on ML, Deep Learning, DSA, Computer Vision, and more — written for engineering and BSc students.

Agentic AI

My RAG Pipeline Had Perfect 1.0 Scores. Then I Broke It 5 Ways (With Live Screenshots)

My RAGAS scores were perfect 1.0. Then a simple question made the AI hallucinate while every metric stayed green. I broke the pipeline 5 ways on purpose. Real screenshots. Real failures.

15 min read · Sep 14, 2026
Agentic AI

Game of Thrones GraphRAG: Master Multi-Hop Querying with FalkorDB

Jon Snow is Daenerys’s nephew — but your Vector RAG can’t figure it out. Here’s how multi-hop GraphRAG with FalkorDB actually works (with real bugs and fixes).

9 min read · Sep 12, 2026
Agentic AI

FalkorDB for Beginners: How to Build a Knowledge Graph in Python

Master FalkorDB from scratch! Discover how graph databases work, learn essential Cypher queries, and build your first knowledge graph using Python.

36 min read · Sep 12, 2026
Agentic AI

Part 2: Giving the Graph a Brain — Agentic RAG with FalkorDB

In Part 1, we built a rock-solid college knowledge graph using FalkorDB with 20 nodes and 39 relationships. But there was a…

28 min read · Sep 12, 2026
Agentic AI

The AI Agent You Built Is About to Hack Your Database (Unless You Read This)

Master agentic security, mitigate indirect prompt injection, and secure LangGraph workflows with Pydantic validation, human-in-the-loop interrupts, and MCP defenses.

32 min read · Aug 30, 2026
Deep Learning

Master PyTorch Tensor Shapes: .view(), .reshape(), .transpose(), .permute()

Master PyTorch tensor operations (.view, .reshape, .transpose, .permute). Learn contiguous memory layouts, stride bugs, and performance fixes in PyTorch 2.x.

11 min read · Aug 28, 2026
Deep Learning

RMSprop in PyTorch (2026): Hyperparameter Tuning & NaN Fixes

Master PyTorch RMSprop hyperparameters. Fix FP16 NaN loss, tune epsilon (eps) & alpha, and migrate from TensorFlow. Includes interactive visual simulations!  …

12 min read · Aug 28, 2026
Deep Learning

PyTorch torch.compile() & Triton Kernels: The Ultimate Technical Deep-Dive

Master PyTorch torch.compile() and Triton kernels. Learn how TorchDynamo, TorchInductor, kernel fusion, and CUDA graphs eliminate overhead to accelerate deep learning.

23 min read · Aug 24, 2026
Agentic AI

LangGraph Parallel Agents Tutorial: Build a Multi-Agent AI Workflow

Build four AI agents that analyze the same customer review at the same time using LangGraph, Groq, strict structured outputs, fan-out/fan-in orchestration,…

20 min read · Aug 22, 2026
Agentic AI

Build a FastAPI Dashboard for LangGraph Multi-Agent Workflows

Learn how to connect LangGraph multi-agent workflows to a live FastAPI dashboard. Transform terminal AI scripts into a production web app UI.…

17 min read · Aug 22, 2026
Agentic AI

Build a Real Python MCP Server: Resources, Tools & Prompts (Part 1)

Tired of basic AI demos? Learn how to build a real Python MCP server that uses FastMCP, Resources, and Tools to let LLM agents safely control your PC.

19 min read · Aug 21, 2026
Agentic AI

Connecting LangGraph to MCP: A Real AI Agent Tutorial (Part-2)

Learn how to build a real AI agent using LangGraph, MCP, and Groq. Master state management, Human-in-the-Loop (HITL) approvals, and Python tool…

25 min read · Aug 21, 2026
Agentic AI

AI Agent Memory Architecture: Why Vector RAG is Not Enough

Learn how to build intelligent long-term memory for AI agents. Master memory consolidation, reflection loops, and semantic storage using Python and LangGraph.

22 min read · Aug 18, 2026
Agentic AI

Mastering LLM Settings: Temperature vs. Top-P vs. Top-K

How to Tune LLMs for Production: Temperature, Top-P, and Repetition Penalties Explained. Master LLM generation parameters. Understand the exact Softmax math and…

30 min read · Aug 18, 2026
Agentic AI

LLM Reasoning Architectures: CoT, ToT & GoT – A Comprehensive Production Guide

LLM Reasoning Architectures: Chain of Thought, Tree of Thoughts & Graph of Thoughts Explained (2026). Understand Chain of Thought, Tree of Thoughts, and Graph of Thoughts architectures. Learn their mechanisms, hidden costs, and production implementation with LangGraph.

12 min read · Aug 18, 2026
Agentic AI

What is GraphRAG? A Complete Beginner’s Guide to Graph Retrieval

GraphRAG vs RAG: When to Use Multi-Hop Reasoning in AI? Discover how GraphRAG works, when to use it over standard vector RAG,…

20 min read · Aug 15, 2026
Deep Learning

PyTorch Optimizers: AdamW vs SGD vs RMSprop Explained

Stop getting NaN errors. The ultimate no-BS guide to PyTorch optimizers. Learn exact VRAM costs, hyperparameter tuning, and why fused=True crashes your…

24 min read · Aug 13, 2026
Deep Learning

Master Backpropagation: Step-by-Step Math, Numerical Example & Python Code

The Complete Guide to Backpropagation: Chain Rule, Math & Interview Q&A . Demystify Backpropagation with a complete step-by-step numerical example, chain rule…

21 min read · Aug 12, 2026
Agentic AI

pgvector for Absolute Beginners: Build Your First AI Search from Zero

pgvector for Beginners: Build Your First AI Search with PostgreSQL (No Experience Needed) Never used PostgreSQL or Docker before? Learn pgvector from…

9 min read · Aug 11, 2026
Agentic AI

Redis for Agentic RAG: The Beginner’s Guide to Making Your AI Agent Remember Stuff

– Redis for Agentic RAG: A Beginner’s Guide to AI Memory, Vector Search & Caching. New to Redis and Agentic RAG? Learn…

18 min read · Aug 8, 2026
Agentic AI

LangGraph Agent Memory with Redis: RedisSaver & RedisStore Guide

– Fix LangGraph Agent Memory: Redis Persistence & Coercion Errors. Master AI agent persistence in LangGraph. Complete guide to setting up RedisSaver…

15 min read · Aug 8, 2026
Agentic AI

Redis vs Redis Iris: Beginner’s Guide to AI Agent Context & Memory

Confused about Redis vs Redis Iris? Learn the 5 pillars, when to use each, LangCache cost savings up to 90%, and real…

20 min read · Aug 8, 2026
Agentic AI

How to Evaluate LangGraph Agents with Ragas: The Complete Beginner’s Guide

Learn how to evaluate LangGraph agents with Ragas. Step-by-step guide covering Faithfulness, Answer Relevancy, Context Precision, the bridge function, common errors, and…

16 min read · Aug 8, 2026
Agentic AI

LoRA Target Modules Explained: q_proj, v_proj, k_proj & More

Confused by LoRA target modules? Learn what q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, and down_proj actually do. When to use them. How…

13 min read · Aug 7, 2026
Agentic AI

Agentic RAG Cost Optimization: 7 Ways to Slash Token Costs & Latency

Is your multi-step agent costing you a fortune? Learn practical techniques like prompt caching, parallel tools, and state compression that actually work…

20 min read · Aug 6, 2026
Agentic AI

Prompt Engineering for Agentic RAG: Build Smarter AI Agents

Master prompt engineering for Agentic RAG. Learn to build reliable AI agents using hard retry limits, tool selection boundaries, state compression, and…

16 min read · Aug 6, 2026
MACHINE LEARNING

The Math of ROC-AUC: Why Area Under the Curve = Probability

– ROC-AUC Explained: The Math Behind Why Area Under Curve = P(Positive > Negative) Why does ROC-AUC equal the probability that a…

15 min read · Aug 3, 2026
Deep Learning

Your PyTorch Model is Broken. Here’s How to Fix It.

– Vanishing & Exploding Gradients in PyTorch: Detection, Debugging, and Fixes. Loss stuck at 2.3? Suddenly turning into NaN? Learn how to…

21 min read · Aug 3, 2026
Agentic AI

Query Rewriting in RAG: Beginner’s Guide to Better Retrieval (2026)

Learn query rewriting in RAG with simple explanations and working code. Fix messy user queries, improve retrieval accuracy by 10-20%, and master…

17 min read · Aug 2, 2026
Agentic AI

Demystifying LoRA: What Rank (r), Alpha, and Target Modules Actually Do

Stop copying LoRA configs from random tutorials! Learn what rank (r), lora_alpha, and target_modules actually do. Get concrete recommendations for coding assistants,…

18 min read · Aug 1, 2026
Deep Learning

PyTorch GPU Troubleshooting: Fix CUDA OOM, Device Mismatch & CUDA Errors

Stop wasting hours on PyTorch GPU errors! Learn to fix CUDA out of memory, device mismatch, and torch.cuda.is_available() with real code, debugging flows, and…

24 min read · Jul 31, 2026
Agentic AI

LoRA in LLMs and Agentic RAG: The Complete Production Guide

Learn where LoRA fits inside an agentic RAG pipeline, when to combine fine-tuning with retrieval, and how to train, evaluate, secure, and…

27 min read · Jul 31, 2026
Deep Learning

Transformers Deep Dive: Encoder vs Decoder, Masked Attention, and the Architecture Behind GPT & BERT

Transformer AI Architecture Explained: Encoder vs Decoder, Masked Attention, and Positional Encoding. Learn the deeper side of Transformer AI architecture with encoder…

13 min read · Jul 30, 2026
Deep Learning

Transformers Explained: From “Huh?” to “Aha!” in 15 Minutes

Transformer AI Architecture Explained: From Simple Intuition to Self-Attention and QKV Math. Learn how self-attention, QKV vectors, and multi-head attention work with…

11 min read · Jul 30, 2026
Agentic AI

Mastering LangGraph Reducers: The Ultimate Guide to State Merging & Parallel Branches

Learn how LangGraph reducers work in state updates, what happens without a reducer, how to define custom reducers, how parallel branches merge,…

13 min read · Jul 26, 2026
Agentic AI

Layout-Aware PDF & Table Chunking for Production RAG

PDFs breaking your RAG system? Learn production-ready layout-aware chunking to preserve tables, headers, and document structure. Python code included. 1. The Problem:…

16 min read · Jul 24, 2026
Agentic AI

Why Combine LangGraph with MCP?

Learn why LangGraph and MCP work so well together, how LangGraph acts as the client, how MCP servers expose tools, and how…

17 min read · Jul 24, 2026
Agentic AI

What Is a Checkpointer in LangGraph? Complete Guide with Code Examples

Learn what a checkpointer is in LangGraph, how it preserves state across sessions, how thread_id, time travel and checkpoint_ns work, and why…

15 min read · Jul 24, 2026
Agentic AI

Do LLMs Learn From You in Real Time? The Truth About Frozen Models and Temporary Context

LLMs do not constantly learn from you in real time. The base model stays frozen, while preferences and conversation context live only…

8 min read · Jul 24, 2026
Agentic AI

Mastering Human-in-the-Loop & RAG: Building Reliable Multi-Turn Systems Without Hallucinations

Human-in-the-Loop RAG Systems: Prevent Hallucinations with Interrupts & State Editing. Learn how to combine RAG with human-in-the-loop workflows using LangGraph interrupts, checkpoints,…

13 min read · Jul 24, 2026
Agentic AI

Orchestrator Agent 101: How to Build Scalable Agentic RAG Systems That Don’t Crash

Stop wasting API credits on static RAG pipelines. Learn how orchestrator agents route, delegate, and scale complex AI workflows—with real code, cost-saving…

15 min read · Jul 21, 2026
Agentic AI

Agent Memory Architecture: Build Persistent, Context-Aware AI Agents That Actually Remember

Learn how to build persistent memory for AI agents using short-term, long-term, and episodic memory layers. Complete guide with architecture patterns, vector…

15 min read · Jul 21, 2026
Agentic AI

LangGraph Tutorial: Build a Self-Correcting RAG Agent That Actually Works

Stop building linear RAG that fails. Master LangGraph’s cyclic workflows, self-correction, and memory to build agents that actually know when to search…

17 min read · Jul 21, 2026
Agentic AI

MCP (Model Context Protocol): The USB-C Port for AI Applications

Discover how the Model Context Protocol (MCP) solves the N×M integration problem, standardizes AI tool connections, and turns LLMs from text completers…

10 min read · Jul 20, 2026
Electronics Lab

IMU (Accel + Gyro + Fusion)

1 min read · Jul 16, 2026
Electronics Lab

DAC (R-2R Ladder)

1 min read · Jul 16, 2026
Electronics Lab

ADC

1 min read · Jul 16, 2026
Electronics Lab

LCR Series Resonance

1 min read · Jul 16, 2026
Electronics Lab

Bridge Rectifier + Filtering

1 min read · Jul 16, 2026
Electronics Lab

LC Resonance

1 min read · Jul 16, 2026
Electronics Lab

RC Circuit (3-way switch)

1 min read · Jul 16, 2026
Electronics Lab

Zener I-V Characteristic

1 min read · Jul 16, 2026
Electronics Lab

Clock Frequency

1 min read · Jul 16, 2026
Electronics Lab

Logic Gates (NOT/AND/OR/Half Adder)

1 min read · Jul 16, 2026
Electronics Lab

Pull-up/Pull-down

1 min read · Jul 16, 2026
Agentic AI

ReAct in RAG: How Reasoning and Action Make Agents Actually Useful

Learn the ReAct framework in RAG with real prompt architecture, tool orchestration, failure modes, production limits, and practical agent design. ReAct in…

8 min read · Jul 15, 2026
Agentic AI

Embeddings in Agentic RAG

Master embeddings for Agentic RAG — from dense vectors and hybrid search to chunking strategies, latest models like Voyage-4, practical gotchas, code…

6 min read · Jul 15, 2026
Agentic AI

Chain-of-Thought: Why Step-by-Step Reasoning Still Matters

Learn Chain-of-Thought reasoning, the prompting shift, native reasoning models, hard trade-offs, failure modes, and production implementation patterns. Chain-of-Thought: The Difference Between a…

12 min read · Jul 15, 2026
Agentic AI

Prompt Injection in LLMs: Types, Risks, and How Businesses Can Prevent It

Learn prompt injection types, real attack paths, and practical prevention strategies for businesses, enterprises, and local deployments. Prompt Injection: The Quiet Attack…

13 min read · Jul 15, 2026
Agentic AI

Evaluation Metrics in RAG: How to Measure Retrieval, Grounding, and Answer Quality

Learn the industry-standard metrics for RAG evaluation, including the RAG Triad, retrieval precision/recall, MRR, NDCG, groundedness, faithfulness, LLM judges, and continuous monitoring.…

16 min read · Jul 15, 2026
Agentic AI

RAG Optimization: From Metrics to Action

Learn how to turn RAG evaluation into concrete pipeline improvements with hybrid search, metadata filters, chunking, reranking, query expansion, compression, and latency-aware…

16 min read · Jul 15, 2026
Agentic AI

Groundedness in RAG: Stop Hallucinations Before They Reach Your Users

Learn how to measure and enforce groundedness in RAG systems using RAGAS, NLI, LLM judges, and production guardrails. Includes practical code, evaluation…

8 min read · Jul 15, 2026
Electronics Lab

Capacitor Applications

1 min read · Jul 14, 2026
Electronics Lab

Smoothing Filter Lab

1 min read · Jul 14, 2026
Uncategorized

Precision vs Recall in ML: The Ultimate Guide to Catching the Bad Guys (Without Annoying the Good Guys)

The Problem  Imagine you are running a free health camp in rural Bihar. If your diagnostic test misses a single Tuberculosis (TB)…

35 min read · Jul 13, 2026
MACHINE LEARNING

Dividing the World: How SVM Masters the Art of Separation

The Problem  Imagine walking through a lush, green tea estate in Jorhat, Assam. You are holding a smartphone, scanning tea leaves to…

38 min read · Jul 13, 2026
MACHINE LEARNING

Why Your Machine Learning Model is Overthinking (And How to Fix It: The Bias-Variance Tradeoff)

The Problem  Imagine you are preparing for your Class 12 Board Exams. If you only memorize the back-of-the-chapter questions, you will fail…

31 min read · Jul 13, 2026
MACHINE LEARNING

Demystifying Principal Component Analysis (PCA): The Art of Simplifying Complexity

The Problem  Imagine you are the chief analyst for the Mumbai Indians at the IPL auction table, staring at a massive spreadsheet…

31 min read · Jul 13, 2026
MACHINE LEARNING

The Ultimate Guide to Gradient Descent in ML: Finding Your Way Down the Mountain

The Problem  Imagine you are trekking down the foggy hills of Kudremukh in Karnataka, and suddenly, a thick cloud rolls in, reducing…

29 min read · Jul 13, 2026
MACHINE LEARNING

How to Never Get Fooled by “Beginner’s Luck”: A Guide to k-fold cross validation in ml

The Problem  Imagine you are the head talent scout for the Mumbai Indians, looking for India’s next superstar batsman. You watch a…

31 min read · Jul 13, 2026
Electronics Lab

Switch Types

1 min read · Jul 12, 2026
Electronics Lab

Capacitor Lab

1 min read · Jul 11, 2026
Electronics Lab

NPN Transistor

1 min read · Jul 11, 2026
Electronics Lab

Inductor Applications

1 min read · Jul 11, 2026
Electronics Lab

Capacitor Filter

1 min read · Jul 11, 2026
Electronics Lab

Series & Parallel Network

1 min read · Jul 11, 2026
Electronics Lab

Diode Lab

1 min read · Jul 11, 2026
Electronics Lab

AC vs DC

1 min read · Jul 11, 2026
Electronics Lab

Resistor Color Code

1 min read · Jul 10, 2026
Electronics Lab

Current Lab

1 min read · Jul 10, 2026
Electronics Lab

Voltage Lab

1 min read · Jul 10, 2026
Deep Learning

torch.flatten() Explained: Reshape Tensors Like a Pro

Master torch.flatten() in PyTorch! Understand how to reshape tensors, collapse dimensions, and fix shape mismatches in your deep learning models. Learn with clear examples.…

23 min read · Jul 9, 2026
Deep Learning

PyTorch Activation Functions: The Neuron’s Personality and Why They Matter

Demystify PyTorch activation functions! Learn why they’re crucial for non-linearity, which ones to use, and how to avoid common pitfalls like vanishing…

17 min read · Jul 9, 2026
Deep Learning

Learning Rate Schedulers in PyTorch: Why Your Model Needs a Smart Brake (Cosine Annealing Explained)

Master Learning Rate Schedulers, especially Cosine Annealing — the technique that helps your model converge smoothly to the best possible solution instead…

6 min read · Jul 8, 2026
Deep Learning

Batch Normalization in PyTorch: The Secret Sauce That Makes Deep Networks Train Faster and Better

Master Batch Normalization (BatchNorm) — the technique that stabilized deep learning and became a standard in almost every modern neural network. Learn…

7 min read · Jul 8, 2026
MACHINE LEARNING

Linear Regression in ML: The Ultimate Guide to Drawing the Perfect Line

The Problem  Imagine you are managing a massive solar power plant in the sun-drenched sands of Bhadla, Rajasthan. Every single morning, the…

34 min read · Jul 3, 2026
MACHINE LEARNING

Tuning the Knobs of Machine Learning: Hyperparameters in ML

The Problem Imagine setting up a new JioFiber Wi-Fi router in your living room, only to find that the signal drops the…

28 min read · Jun 29, 2026
MACHINE LEARNING

The Loudspeaker Effect: Understanding Noise in Machine Learning

The Problem (Hook) You order a hot, spicy Biryani on Zomato, and the app promises: “Delivered in 30 minutes.” But the delivery…

35 min read · Jun 29, 2026
// STILL BROWSING?
Build along, don't just read.
Get labs & articles matched to what you're into — free, takes 30 seconds.
Start building free