<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Louis Wang</title><description>Personal blog on ML, AI agents, recommendation systems, and GPU programming.</description><link>https://louiswang524.github.io/</link><item><title>Picking the Wrong Agent Topology Is Your Most Expensive Mistake</title><link>https://louiswang524.github.io/blog/agent-topology-decision-guide/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/agent-topology-decision-guide/</guid><description>Five multi-agent design patterns — with a decision guide for when each one earns its complexity and when it will burn you.</description><pubDate>Tue, 19 May 2026 00:00:00 GMT</pubDate></item><item><title>From Quadratic to Linear: A Survey of Subquadratic Sparse Attention</title><link>https://louiswang524.github.io/blog/ssa-subquadratic-sparse-attention/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/ssa-subquadratic-sparse-attention/</guid><description>Why standard attention breaks at 128K tokens, how four families of efficient attention tried and partially failed to fix it, and how content-dependent sparse routing achieves linear scaling without sacrificing retrieval accuracy.</description><pubDate>Fri, 15 May 2026 00:00:00 GMT</pubDate></item><item><title>The Agent Harness Pattern: What Poker Taught Me About Multi-Agent Systems</title><link>https://louiswang524.github.io/blog/agent-harness-poker/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/agent-harness-poker/</guid><description>How a Texas Hold&apos;em simulator became a blueprint for any domain where autonomous agents compete, negotiate, and adapt — turn by turn.</description><pubDate>Sat, 25 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Building a Self-Improving Personal Knowledge Base Powered by LLM</title><link>https://louiswang524.github.io/blog/llm-knowledge-base/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/llm-knowledge-base/</guid><description>Inspired by Andrej Karpathy&apos;s post on LLM knowledge bases, I built a system where Claude Code skills manage a personal wiki end-to-end — ingesting raw content, compiling concept articles, synthesizing connections, and answering questions. You never touch the wiki. The LLM owns it.</description><pubDate>Sun, 05 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Gemma 4 Explained: How One Model Family Spans Phones and Frontier-Class Reasoning</title><link>https://louiswang524.github.io/blog/gemma-family/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/gemma-family/</guid><description>A technical deep-dive into Gemma 4&apos;s four core ideas — MatFormer elastic inference, hybrid attention with p-RoPE, parallel dense+MoE FFN, and native agentic tooling — with the Gemma 1–3 lineage as context.</description><pubDate>Thu, 02 Apr 2026 00:00:00 GMT</pubDate></item><item><title>TurboQuant Explained: How Google Compresses KV Caches to 3 Bits Without Losing the Plot</title><link>https://louiswang524.github.io/blog/turboquant-explained/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/turboquant-explained/</guid><description>A technical breakdown of Google Research&apos;s TurboQuant stack: why KV-cache quantization is really an inner-product estimation problem, how PolarQuant removes normalization overhead, and where QJL fits into the final system.</description><pubDate>Thu, 02 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Diffusion Language Models: How They Work, How They Compare to Autoregressive LLMs, and Where They&apos;re Going</title><link>https://louiswang524.github.io/blog/diffusion-llm/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/diffusion-llm/</guid><description>A technical deep-dive into continuous and masked diffusion LLMs — full derivations, key models (LLaDA, Dream, Mercury), head-to-head comparison with autoregressive LLMs, and an honest look at whether dLLMs can replace AR in the future.</description><pubDate>Wed, 01 Apr 2026 00:00:00 GMT</pubDate></item><item><title>Multi-Agent Patterns: Swarm, Teammates, and the Coordinator</title><link>https://louiswang524.github.io/blog/claude-code-multi-agent-patterns/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/claude-code-multi-agent-patterns/</guid><description>Claude Code can run multiple Claude instances in parallel within the same process. Here&apos;s how in-process teammates, permission sync, and coordinator mode work — and what it means for building your own multi-agent system.</description><pubDate>Tue, 31 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Designing for Extensibility: How Claude Code&apos;s Plugin and Skill System Works</title><link>https://louiswang524.github.io/blog/claude-code-plugin-skill-system/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/claude-code-plugin-skill-system/</guid><description>Claude Code has two extension points: skills (slash commands that inject prompt content) and plugins (packages that contribute commands, MCP servers, and hooks). Here&apos;s how each works and why they&apos;re designed differently.</description><pubDate>Tue, 31 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Security Without a Sandbox: How Claude Code Decides What It&apos;s Allowed to Do</title><link>https://louiswang524.github.io/blog/claude-code-security-permissions/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/claude-code-security-permissions/</guid><description>Claude Code runs shell commands, edits files, and makes network requests on your machine — without a kernel sandbox. Here&apos;s the permission model that makes this safe enough to ship.</description><pubDate>Tue, 31 Mar 2026 00:00:00 GMT</pubDate></item><item><title>The Tool Use Loop: How Claude Code Executes Code, Edits Files, and Talks Back</title><link>https://louiswang524.github.io/blog/claude-code-tool-use-loop/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/claude-code-tool-use-loop/</guid><description>A tool call is a structured JSON request from the LLM to run a named function. Here&apos;s exactly how Claude Code handles the full lifecycle — from API call to file edit to loop continuation.</description><pubDate>Tue, 31 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Demystifying Claude Code: Inside the Architecture of a CLI Code Agent</title><link>https://louiswang524.github.io/blog/demystifying-claude-code-architecture/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/demystifying-claude-code-architecture/</guid><description>Claude Code is one of the most widely used AI coding tools and one of the least understood. We read the source so you don&apos;t have to.</description><pubDate>Tue, 31 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Two Bets on Generative Recommendation: Semantic IDs vs. Fine-Tuned LLMs</title><link>https://louiswang524.github.io/blog/genrec-paradigm-comparison/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/genrec-paradigm-comparison/</guid><description>A head-to-head comparison of the two paradigms remaking recommendation — semantic ID autoregressive models and fine-tuned LLMs — with trade-off analysis and a look at how they&apos;re converging.</description><pubDate>Sun, 29 Mar 2026 00:00:00 GMT</pubDate></item><item><title>The Attention Bottleneck: How Modern LLMs Solved a Problem That Nearly Broke the Transformer</title><link>https://louiswang524.github.io/blog/attention-variants/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/attention-variants/</guid><description>From vanilla multi-head attention to Flash Attention 3 — the engineering bottlenecks that drove every major attention variant and the math behind each fix.</description><pubDate>Sat, 28 Mar 2026 00:00:00 GMT</pubDate></item><item><title>The Harness Is the Moat: Why Autonomous AI Agents Live or Die by Their Architecture</title><link>https://louiswang524.github.io/blog/harness-is-the-moat/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/harness-is-the-moat/</guid><description>Model quality is commoditising. The durable competitive advantage in 2026 is harness architecture — the deterministic enclosures that make probabilistic agents reliable. A deep analysis of the four architectural primitives every production harness must implement, and how Autoresearch, Ralph Loop, Superpowers, and GSD each solve them differently.</description><pubDate>Wed, 25 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Generative Recommendation in Production: HSTU, OneRec, and What Every Major Platform Is Building</title><link>https://louiswang524.github.io/blog/generative-retrieval/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/generative-retrieval/</guid><description>From semantic IDs to OneRec Think — how Meta, Kuaishou, Google, Alibaba, ByteDance, and LinkedIn are replacing two-stage retrieval pipelines with generative models. What&apos;s in production and where the field is heading.</description><pubDate>Mon, 23 Mar 2026 00:00:00 GMT</pubDate></item><item><title>From Vibe Coding to Harness Engineering: How to Actually Ship AI-Assisted Software</title><link>https://louiswang524.github.io/blog/vibe-coding-to-harness-engineering/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/vibe-coding-to-harness-engineering/</guid><description>Vibe coding gets you a working prototype in 10 minutes. Harness engineering is how you ship it to production. Here&apos;s the difference, why it matters, and how to make the transition.</description><pubDate>Mon, 23 Mar 2026 00:00:00 GMT</pubDate></item><item><title>Why LLM Inference Costs Will Keep Falling</title><link>https://louiswang524.github.io/blog/inference-cost-trends/</link><guid isPermaLink="true">https://louiswang524.github.io/blog/inference-cost-trends/</guid><description>An analysis of hardware trends, algorithmic improvements, and market forces driving down the cost of running large language models.</description><pubDate>Sun, 01 Mar 2026 00:00:00 GMT</pubDate></item></channel></rss>