LLM

← All posts

LLM-on-Spark: Four Patterns That Actually Scale

"Just call the LLM in a loop." 9.6 years later, you finish. Here are the 4 patterns that actually scale to a billion rows: Spark UDFs, Ray+vLLM, warehouse-native SQL, or the Batch API. Code + costs.

How LLM applications learned to remember

We went from 4K token context windows to virtual memory filesystems in four years. Here's the engineering story of how LLM memory evolved - and what you should actually use today.

The hard part of AI engineering isn't the AI

I run a 19-node LangGraph pipeline serving 20000+ users. I've never written a PyTorch training loop for it. Here's what actually matters - and a 24-week roadmap built around it.

What Happens When You Let an AI Rewrite Its Own Instructions?

Most of us are stuck on the prompt treadmill - manually tweaking instructions that break every time the task shifts. This post lays out an architecture where the AI agent grades its own work, rewrites its own prompts, builds its own tools, and rolls back when things get worse. Every idea is backed by published research. No jargon, just the blueprint.

What If Your AI Agents Could Find Each Other?

You're copying the same agents into every new workflow. There's a better way. A self-organizing architecture with RAG-based discovery, reputation scores, budget-aware planning, and dynamic composition that solves problems nobody anticipated.

What If Your AI Agents Could Find Each Other?

You're copying the same agents into every new workflow. There's a better way. A self-organizing architecture with RAG-based discovery, reputation scores, budget-aware planning, and dynamic composition that solves problems nobody anticipated.