<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Shivam Negi: Writing</title><link>https://shivamnegi92.github.io/writing/</link><description>Guides and book reviews on AI systems.</description><item><title>System 1, System 2: How to Give Your AI a Fast Path and a Slow Path</title><link>https://shivamnegi92.github.io/writing/system1-system2-llms/</link><guid>https://shivamnegi92.github.io/writing/system1-system2-llms/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Why a production LLM system should run two paths, a fast default and a slow verified escalation, and how to build the router, the gate, and the evals that keep it honest.</description></item><item><title>How to Shrink a Transformer for CPU Serving Without Losing Your Mind (or Accuracy)</title><link>https://shivamnegi92.github.io/writing/shrink-a-transformer/</link><guid>https://shivamnegi92.github.io/writing/shrink-a-transformer/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>A field manual for distilling, pruning, and quantizing language models for CPU-only, latency-critical serving, and why most of the tricks fail before one works.</description></item><item><title>Why Your Voice Agent Feels Rude: Latency, Turn-Taking, and Barge-In</title><link>https://shivamnegi92.github.io/writing/voice-agent-latency/</link><guid>https://shivamnegi92.github.io/writing/voice-agent-latency/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>A systems view of real-time voice agents, why 800 ms feels broken, and how to engineer the pipeline, the turn-taking model, and the evals so conversations feel human.</description></item><item><title>How to Build a RAG System That Says &quot;I Don&#x27;t Know&quot;</title><link>https://shivamnegi92.github.io/writing/rag-that-says-i-dont-know/</link><guid>https://shivamnegi92.github.io/writing/rag-that-says-i-dont-know/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Retrieval-augmented generation fails quietly. Here is how to engineer retrieval, grounding, citation checks, and abstention so wrong answers become honest refusals.</description></item><item><title>How to Route Intents with Confidence: The Hybrid Classifier Pattern</title><link>https://shivamnegi92.github.io/writing/hybrid-intent-routing/</link><guid>https://shivamnegi92.github.io/writing/hybrid-intent-routing/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Why a single model should never decide everything, and how to build a confidence-gated cascade of rules, a small classifier, and an LLM fallback with self-correcting labels.</description></item><item><title>Why Your LLM Judge Is Biased (and How to Audit It)</title><link>https://shivamnegi92.github.io/writing/audit-your-llm-judge/</link><guid>https://shivamnegi92.github.io/writing/audit-your-llm-judge/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>LLM-as-a-judge is the cheapest evaluator you will ever have and the easiest to fool. A practical audit protocol for position bias, verbosity bias, self-preference, and agreement with humans.</description></item><item><title>How to Put Guardrails on an AI Agent Without Killing It</title><link>https://shivamnegi92.github.io/writing/guardrails-for-agents/</link><guid>https://shivamnegi92.github.io/writing/guardrails-for-agents/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Agents fail by doing things, not by saying things. A layered defense of allow-lists, budgets, approvals, and audit trails, plus a red-team loop that proves the guardrails hold.</description></item><item><title>How Semantic Caching Cuts LLM Cost, and Why It Can Serve Wrong Answers</title><link>https://shivamnegi92.github.io/writing/semantic-caching/</link><guid>https://shivamnegi92.github.io/writing/semantic-caching/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>The economics of LLM caching, exact vs. semantic hits, threshold tuning, invalidation, and the subtle ways a cache can return a confidently wrong answer to a different question.</description></item><item><title>How to Ship a Model Safely: Shadow, Canary, and the Rollback Button</title><link>https://shivamnegi92.github.io/writing/ship-models-safely/</link><guid>https://shivamnegi92.github.io/writing/ship-models-safely/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Offline metrics do not predict production. A deployment ladder of shadow traffic, canaries with guardrail metrics, and automatic rollback, the SRE way.</description></item><item><title>Why Your Training Data Is the Real Model: Curating Data for Small LMs</title><link>https://shivamnegi92.github.io/writing/training-data-is-the-model/</link><guid>https://shivamnegi92.github.io/writing/training-data-is-the-model/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Architecture is a commodity; data is the moat. How to find noisy, ambiguous, and memorized examples using the model&#x27;s own training dynamics, and fix them.</description></item><item><title>Designing Data-Intensive Applications: A Map of System Trade-offs</title><link>https://shivamnegi92.github.io/writing/review-ddia/</link><guid>https://shivamnegi92.github.io/writing/review-ddia/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>A public-materials review of Martin Kleppmann&#x27;s 2017 first edition, focused on its data-system concepts, practical boundaries, and relevance to modern ML infrastructure.</description></item><item><title>AI Engineering: A Public-Materials Review of Building with Foundation Models</title><link>https://shivamnegi92.github.io/writing/review-ai-engineering/</link><guid>https://shivamnegi92.github.io/writing/review-ai-engineering/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>An evidence-conscious review of Chip Huyen&#x27;s guide to foundation-model applications, evaluating its documented coverage of evaluation, prompting, retrieval, agents, adaptation, and inference.</description></item><item><title>Designing Machine Learning Systems: A Review of the System Around the Model</title><link>https://shivamnegi92.github.io/writing/review-dmls/</link><guid>https://shivamnegi92.github.io/writing/review-dmls/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>An evidence-conscious review of Chip Huyen&#x27;s 2022 book on the iterative work of building and maintaining machine-learning systems, from data and development to deployment and monitoring.</description></item><item><title>Build a Large Language Model (From Scratch): Learning Through Implementation</title><link>https://shivamnegi92.github.io/writing/review-llm-from-scratch/</link><guid>https://shivamnegi92.github.io/writing/review-llm-from-scratch/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>An evidence-conscious review of Sebastian Raschka&#x27;s PyTorch-oriented path through tokenizer construction, GPT architecture, pretraining, and fine-tuning.</description></item><item><title>Hands-On Large Language Models: Visualizing the Application Landscape</title><link>https://shivamnegi92.github.io/writing/review-hands-on-llm/</link><guid>https://shivamnegi92.github.io/writing/review-hands-on-llm/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>A public-materials review of Jay Alammar and Maarten Grootendorst&#x27;s illustrated, code-oriented tour through embeddings, classification, clustering, search, and generative models.</description></item><item><title>Thinking, Fast and Slow: The Psychology Book Every AI Engineer Should Read</title><link>https://shivamnegi92.github.io/writing/review-thinking-fast-slow/</link><guid>https://shivamnegi92.github.io/writing/review-thinking-fast-slow/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Kahneman&#x27;s dual-process theory gave AI its favorite metaphor for reasoning models, and it is an even better manual for the biases in your evals, your labels, and your launch decisions.</description></item><item><title>Deep Learning by Goodfellow, Bengio, and Courville: Still the Foundation</title><link>https://shivamnegi92.github.io/writing/review-deep-learning/</link><guid>https://shivamnegi92.github.io/writing/review-deep-learning/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>The canonical deep learning textbook predates transformers, yet its treatment of optimization, regularization, and representation learning explains why modern models work.</description></item><item><title>Machine Learning Design Patterns: A Shared Vocabulary for ML Engineering</title><link>https://shivamnegi92.github.io/writing/review-ml-design-patterns/</link><guid>https://shivamnegi92.github.io/writing/review-ml-design-patterns/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Lakshmanan, Robinson, and Munn do for ML what the Gang of Four did for software, naming recurring problems and their solutions so teams can design and review ML systems faster.</description></item><item><title>AI Agents in Action: A Practical Tour of Building Autonomous Systems</title><link>https://shivamnegi92.github.io/writing/review-ai-agents-in-action/</link><guid>https://shivamnegi92.github.io/writing/review-ai-agents-in-action/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Micheal Lanham&#x27;s hands-on guide covers agent architectures, tool use, memory, planning, multi-agent setups, and evaluation. Here is what it gets right and where production engineers need more.</description></item><item><title>Reliable Machine Learning: What Happens When SREs Run Your Models</title><link>https://shivamnegi92.github.io/writing/review-reliable-ml/</link><guid>https://shivamnegi92.github.io/writing/review-reliable-ml/</guid><pubDate>Sun, 11 Oct 2026 12:00:00 +0000</pubDate><description>Written by Google-veteran SREs and ML practitioners, this book applies Site Reliability Engineering to ML. SLOs, incident response, and organizational design for models in production.</description></item><item><title>LLM Engineer&#x27;s Handbook: RAG, Fine-Tuning, and Production LLMOps</title><link>https://shivamnegi92.github.io/writing/review-llm-engineers-handbook/</link><guid>https://shivamnegi92.github.io/writing/review-llm-engineers-handbook/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>I read Iusztin and Labonne&#x27;s hands-on guide to LLM pipelines and rate it 4.5: a strong end-to-end system, honest on RAG, tuning, and serving, though the code has aged faster than the ideas.</description></item><item><title>Agentic Design Patterns: A Pattern Vocabulary for Autonomous Systems</title><link>https://shivamnegi92.github.io/writing/review-agentic-design-patterns/</link><guid>https://shivamnegi92.github.io/writing/review-agentic-design-patterns/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>I read Gulli&#x27;s 21 agentic design patterns and rate it 4.5: a useful shared vocabulary for agent builders, repetitive in places, but the strongest single desk reference for the field.</description></item><item><title>The AI Optimization Playbook: Enterprise AI Strategy and Measurement</title><link>https://shivamnegi92.github.io/writing/review-ai-optimization-playbook/</link><guid>https://shivamnegi92.github.io/writing/review-ai-optimization-playbook/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>My take on The AI Optimization Playbook: a strategy-first guide for senior practitioners, strong on project selection, measurement beyond accuracy, causal inference, and governance.</description></item><item><title>Building Agentic AI Systems: Reasoning, Planning, and Orchestration</title><link>https://shivamnegi92.github.io/writing/review-building-agentic-ai-systems/</link><guid>https://shivamnegi92.github.io/writing/review-building-agentic-ai-systems/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>I read Biswas and Talukdar&#x27;s compact guide to agentic systems end to end: reasoning, planning, orchestration, multi-agent design, and governance for enterprise readers.</description></item><item><title>Designing Large Language Model Applications: Failure Modes and Design</title><link>https://shivamnegi92.github.io/writing/review-designing-llm-applications/</link><guid>https://shivamnegi92.github.io/writing/review-designing-llm-applications/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>My take on Suhas Pai&#x27;s design-first guide to LLM applications: strongest on failure modes and model choice, and best read by people who already know how LLMs are built.</description></item><item><title>Learning LangChain: Building Applications with LangChain and LangGraph</title><link>https://shivamnegi92.github.io/writing/review-learning-langchain/</link><guid>https://shivamnegi92.github.io/writing/review-learning-langchain/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>I read Oshin and Campos on LangChain and LangGraph. My take: a clear start for beginners on chains, retrieval, and agents, let down by code that has already aged badly.</description></item><item><title>Generative AI with LangChain: From Prototype to Production Agents</title><link>https://shivamnegi92.github.io/writing/review-generative-ai-with-langchain/</link><guid>https://shivamnegi92.github.io/writing/review-generative-ai-with-langchain/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>I read Auffarth and Kuligin&#x27;s second edition in full. My take on its production treatment of RAG, LangGraph agents, personal assistants, and the move from prototype to production.</description></item><item><title>Building LLMs for Production: Prompting, Fine-Tuning, and RAG</title><link>https://shivamnegi92.github.io/writing/review-building-llms-for-production/</link><guid>https://shivamnegi92.github.io/writing/review-building-llms-for-production/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>I read Bouchard and Peters on LLM reliability: prompting, fine-tuning, RAG, agents, and evaluation, judged on one test, whether answers are correct, fast, and cheap enough to serve.</description></item><item><title>Building Applications with AI Agents: Single and Multi-Agent Design</title><link>https://shivamnegi92.github.io/writing/review-building-applications-with-ai-agents/</link><guid>https://shivamnegi92.github.io/writing/review-building-applications-with-ai-agents/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>I read Michael Albada&#x27;s research-based guide to single- and multi-agent systems: design patterns, tool use, orchestration, and what happens after the demo works.</description></item><item><title>Learn Model Context Protocol with Python: Building Agentic Systems on MCP</title><link>https://shivamnegi92.github.io/writing/review-learn-mcp-with-python/</link><guid>https://shivamnegi92.github.io/writing/review-learn-mcp-with-python/</guid><pubDate>Mon, 16 Nov 2026 12:00:00 +0000</pubDate><description>I read Christoffer Noring&#x27;s guide to the Model Context Protocol in Python, and rate its servers, clients, components, and agentic systems on what actually works in practice.</description></item></channel></rss>
