<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Lewisia Labs — Blog</title><description>Notes on building GenAI systems that survive real users: retrieval, agents, evaluation, deployment.</description><link>https://lewisialabs.com/</link><language>en</language><item><title>Where did the fact die? Root-causing a wrong RAG answer</title><link>https://lewisialabs.com/blog/where-did-the-fact-die/</link><guid isPermaLink="true">https://lewisialabs.com/blog/where-did-the-fact-die/</guid><description>Aggregate RAG scores tell you something is wrong, not where. How to trace each expected fact through parsing, chunking, retrieval, ranking, assembly and generation, and name the stage that lost it.</description><pubDate>Mon, 19 Oct 2026 06:40:00 GMT</pubDate><category>RAG</category><category>Evaluation</category></item><item><title>MCP or A2A? Tools versus colleagues</title><link>https://lewisialabs.com/blog/mcp-or-a2a/</link><guid isPermaLink="true">https://lewisialabs.com/blog/mcp-or-a2a/</guid><description>MCP connects an agent to tools and data. A2A lets it hand work to another agent it cannot see inside. What each protocol contains as of October 2026, and when the second one is worth its cost.</description><pubDate>Mon, 19 Oct 2026 06:36:00 GMT</pubDate><category>MCP</category><category>A2A</category><category>Agents</category></item><item><title>MCP explained, then hardened</title><link>https://lewisialabs.com/blog/mcp-explained-then-hardened/</link><guid isPermaLink="true">https://lewisialabs.com/blog/mcp-explained-then-hardened/</guid><description>What the Model Context Protocol is as of the 2026-07-28 specification, a tool call on the wire, the attacks seen so far, and a hardening checklist for anyone connecting servers to agents.</description><pubDate>Mon, 19 Oct 2026 06:32:00 GMT</pubDate><category>MCP</category><category>Agents</category><category>Security</category></item><item><title>Sizing an LLM server by hand: the KV-cache maths</title><link>https://lewisialabs.com/blog/kv-cache-maths-by-hand/</link><guid isPermaLink="true">https://lewisialabs.com/blog/kv-cache-maths-by-hand/</guid><description>A worked example that sizes Llama 3.1 8B on one H100 on paper: weights, KV cache, how many requests fit, and how fast decoding runs once memory bandwidth sets the pace.</description><pubDate>Mon, 19 Oct 2026 06:28:00 GMT</pubDate><category>Inference</category><category>Teaching</category></item><item><title>One agent first: when multi-agent is worth it</title><link>https://lewisialabs.com/blog/one-agent-first/</link><guid isPermaLink="true">https://lewisialabs.com/blog/one-agent-first/</guid><description>A ladder from a single LLM call to several agents, what each rung costs in tokens, latency and debugging, and the few reasons that justify splitting one agent into many.</description><pubDate>Mon, 19 Oct 2026 06:24:00 GMT</pubDate><category>Agents</category><category>Evaluation</category></item><item><title>Evaluating agents, not just answers</title><link>https://lewisialabs.com/blog/evaluating-agents/</link><guid isPermaLink="true">https://lewisialabs.com/blog/evaluating-agents/</guid><description>An agent changes the world, so check the world, the path it took, how often it gets it right, and what it cost. A practical method with a refund agent, a task file and a tiny grader.</description><pubDate>Mon, 19 Oct 2026 06:20:00 GMT</pubDate><category>Agents</category><category>Evaluation</category><category>Observability</category></item><item><title>Ten questions to ask before approving a GenAI project</title><link>https://lewisialabs.com/blog/ten-questions-before-a-genai-project/</link><guid isPermaLink="true">https://lewisialabs.com/blog/ten-questions-before-a-genai-project/</guid><description>A plain checklist for managers who must approve or fund a generative AI project: ten questions, what a good answer sounds like, and the red flags.</description><pubDate>Mon, 19 Oct 2026 06:16:00 GMT</pubDate><category>Teaching</category><category>Strategy</category><category>Evaluation</category></item><item><title>How large language models work, in one hour, without maths</title><link>https://lewisialabs.com/blog/transformers-in-one-hour/</link><guid isPermaLink="true">https://lewisialabs.com/blog/transformers-in-one-hour/</guid><description>Teaching notes for a one-hour explanation of large language models for executives: six ten-minute blocks, each with one idea, one analogy, one exercise and one misconception.</description><pubDate>Mon, 19 Oct 2026 06:12:00 GMT</pubDate><category>Teaching</category></item><item><title>Prompt injection is a data problem</title><link>https://lewisialabs.com/blog/prompt-injection-is-a-data-problem/</link><guid isPermaLink="true">https://lewisialabs.com/blog/prompt-injection-is-a-data-problem/</guid><description>Retrieved documents, tool results and emails are untrusted input. A security layer for RAG and agents: a trust boundary, least privilege for tools, and an attack set in CI.</description><pubDate>Mon, 19 Oct 2026 06:08:00 GMT</pubDate><category>Security</category><category>Agents</category><category>RAG</category></item><item><title>Agents need contracts: three things to write down before the first tool call</title><link>https://lewisialabs.com/blog/agents-need-contracts/</link><guid isPermaLink="true">https://lewisialabs.com/blog/agents-need-contracts/</guid><description>Tool schemas, structured outputs with a refusal path, and a trace for every step. The boring paperwork that makes a multi-agent system debuggable once it runs thousands of times a day.</description><pubDate>Mon, 19 Oct 2026 06:04:00 GMT</pubDate><category>Agents</category><category>Observability</category><category>MCP</category></item><item><title>Parsing and chunking are the first model you ship</title><link>https://lewisialabs.com/blog/parsing-and-chunking-first/</link><guid isPermaLink="true">https://lewisialabs.com/blog/parsing-and-chunking-first/</guid><description>Before embeddings and prompts, a RAG system is a document pipeline. How to parse real PDFs, chunk by structure instead of by token count, and measure the result with retrieval recall.</description><pubDate>Mon, 19 Oct 2026 06:00:00 GMT</pubDate><category>RAG</category><category>Data</category><category>Evaluation</category></item><item><title>Hybrid RAG in production: what the tutorials leave out</title><link>https://lewisialabs.com/blog/hybrid-rag-in-production/</link><guid isPermaLink="true">https://lewisialabs.com/blog/hybrid-rag-in-production/</guid><description>Dense retrieval alone is not enough. A practical walk through hybrid search, reranking, and the evaluation loop that keeps a RAG system honest once real users arrive.</description><pubDate>Fri, 09 Oct 2026 00:00:00 GMT</pubDate><category>RAG</category><category>Retrieval</category><category>Evaluation</category></item></channel></rss>