Machine Learning Pills

Machine Learning Pills

Home
Notes
Chat
DIY
Blog
Audio pills
Real-World
Extra
Archive
Leaderboard
About
Extra #3 - The Prompt Injection Defense Playbook
Security is usually an afterthought in software development until a critical vulnerability breaks your trust, your system, or your budget. In the world…
Mar 4 • David Andrés
Issue #122 - The 12-Step Blueprint for Building an AI Agent. Part I
Building an AI agent requires shifting your mindset from prompt engineering to systems engineering. An agent is not just a language model; it is an…
Mar 1 • David Andrés
Extra #2 - How Uvicorn and FastAPI Make Your AI Agent Reachable
It is completely normal to be tripped up by the word “server.” In the tech world, we use the exact same word to describe entirely different things…
Feb 25 • David Andrés
Issue #121 - How to Deploy your AI Agent?
So You Built an AI Agent… Now What? There is a magical moment when your AI agent works for the very first time. You type a message, it thinks, and it…
Feb 22 • David Andrés
DIY #20 - Routing LLM Agent with LangChain
Imagine walking into a massive hospital with a generic complaint like “I hurt”. You don’t walk straight into the operating room, and you certainly don’t…
Feb 15 • David Andrés
Most Popular
View all
Issue #88 - Introduction to SHAP values
Jan 29, 2025 • David Andrés and Muhammad Anas
DIY #12 - SHAP in Action: Making ML Explainable
Feb 15, 2025 • David Andrés and Muhammad Anas
Issue #67 - Exploratory Data Analysis
Jul 28, 2024 • David Andrés and Josep Ferrer
RW #3 - EDA applied to Netflix (part I)
Mar 30, 2025 • David Andrés and Muhammad Anas

DIY

View all
DIY #20 - Routing LLM Agent with LangChain
Imagine walking into a massive hospital with a generic complaint like “I hurt”. You don’t walk straight into the operating room, and you certainly don’t…
Feb 15 • David Andrés
DIY #19 - Evaluator-Optimiser LLM Agent with LangChain
Imagine you are writing a critical novel. You don’t just type “The End” after the first draft and send it to the printer. Instead, you write a draft…
Jan 23 • David Andrés
DIY #18 - Orchestrator-Worker LLM Agent with LangChain
Imagine you’re managing a complex research project. You need to analyze a company’s financial health, but that requires gathering quarterly reports…
Nov 23, 2025 • David Andrés
DIY #17 - Parallelisation with LangChain
Imagine you’re a news editor trying to understand a breaking story. You get a single field report. To really cover it, you need to know the “who, what…
Nov 1, 2025 • David Andrés
DIY #16 - Build a Persistent Conversational Agent with LangGraph
In this article, we'll build exactly that: a Python-based conversational agent using LangGraph that can remember user information across sessions and…
Sep 7, 2025 • David Andrés

Real-World

View all
RW #9 - How Vector DBs Store 100M Embeddings on One Machine (and Still Search Fast)
The claim “Our vector database can handle 100 million embeddings on a single machine.” Sounds impressive, but the math doesn’t work using just naive…
Jan 11 • Nino Risteski
RW #8 - Turning Podcasts Into Knowledge Graphs
Picture this: You’ve just finished listening to a fascinating 2-hour podcast. The expert dropped dozens of insights, research findings, and connections…
Sep 28, 2025 • David Andrés
RW #7 - When to use Rules, ML or LLMs?
Deciding between a simple, rule-based system and a sophisticated machine learning (ML) model is a critical choice in software development. While it's…
Sep 20, 2025 • David Andrés
RW #6 - Text-Moderation System with Embeddings
This week we’re handing you a plug-and-play, notebook-ready tutorial you can drop straight into Jupyter or VS Code. Inside you’ll find:Why an…
Aug 3, 2025 • David Andrés
RW #5 - No-Code Customer Service agent with LangFlow
Imagine a customer service operation where AI agents don't just rely on generic responses, but actually understand the business inside and out. Agents…
Jul 13, 2025 • David Andrés
© 2026 MLPills · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture