Aimal Rehman·3d agoK-Means vs. e-Means: How the Art of Forgetting Made Clustering Ten Times FasterA friendly look at the new e-means paper, explained through food trucks and a handful of simple numbers.
Aimal Rehman·3d agoOptimize RAG Retrieval with a Re-rankerYour retriever usually finds the right document. It just doesn’t always put it first. Here’s how a second, smarter look fixes that.A response icon1A response icon1
Aimal Rehman·Nov 12VectorDBs Every RAG Expert Should KnowWhat matters for RAG, where each database fits, and how to choose the right retrieval layerA response icon1A response icon1
Aimal Rehman·Nov 12Caching for Agentic AI Systems: Query, Semantic, and Prefix Caching with Llama 3How three different caching strategies can make AI agents faster, cheaper, and more efficient.
Aimal Rehman·Nov 12AI Agent Observability and Guardrails with Llama 3A practical guide to making tool-using AI agents constrained, inspectable, and easier to debug
Aimal Rehman·Nov 12Types of Token Reduction and Context Management Techniques in Agentic AIAI agents do more than answer a single prompt. They plan, call tools, retrieve information, observe results, maintain state, and continue…
Aimal Rehman·Aug 197 Types of APIs Every Software Engineer Should UnderstandA simple guide to how modern APIs communicate
Aimal Rehman·Aug 15How AI Agents Actually Work: Building Ten Agents from ScratchA framework-free guide to what happens under the hood of AI agents — from tool selection and action parsing to execution loops and offline…
Aimal Rehman·Jul 23Markov Decision Processes: Making Good Decisions in an Uncertain WorldHow intelligent agents choose actions, handle uncertainty, and plan for long-term rewards.