How modern AI systems actually work

Short, visual breakdowns of the architecture and infrastructure behind modern AI — by Harsh Gupta. Every video here comes with chapters, key takeaways and a full transcript.

All videos

5 breakdowns
Thumbnail for How to Build an AI App for 1 Million Users
13:52
EP 0513:52

How to Build an AI App for 1 Million Users

How do you design an AI application that can scale to a million users? A system-design walkthrough of an Instagram-style AI chat feature: traffic estimates, interactive vs background workloads, AI gateways, model routing, queues, RAG, and why cost can break a system that looks healthy.

  • AI system design
  • Scalability
  • AI gateway
Watch & read the breakdown
Thumbnail for How AI Agent Proxies Actually Work
6:52
EP 046:52

How AI Agent Proxies Actually Work

What happens when an AI agent has access to your GitHub, database, payment system, MCP tools and multiple LLMs? If the agent decides to issue a ₹90 refund but its limit is ₹50, who stops it? A breakdown of proxies and gateways for AI agents: from basic network proxies to LLM gateways, tool access and policy enforcement.

  • AI agents
  • AI gateway
  • LLM gateway
Watch & read the breakdown
Thumbnail for AI Is Wasting Its Memory: WG-KV
7:52
EP 037:52

AI Is Wasting Its Memory: WG-KV

AI doesn't need to remember everything. A breakdown of WG-KV (Write-Gated KV Cache): instead of storing every token in the KV cache and evicting later, a lightweight write-gate predicts which tokens are worth keeping before they are ever written to long-term memory.

  • KV cache
  • WG-KV
  • LLM inference
Watch & read the breakdown
Thumbnail for Your AI Agent Is Failing for the Wrong Reason
4:44
EP 024:44

Your AI Agent Is Failing for the Wrong Reason

A smart model doesn't automatically make a smart agent. A breakdown of the agent harness — the layer around the model that decides what it can see, what tools it can use, what it's allowed to do, and how it finds out whether its actions actually worked.

  • AI agents
  • Agent harness
  • Tool use
Watch & read the breakdown
Thumbnail for OpenAI's Astra: The Strange Idea of Reusing AI Layers
5:48
EP 015:48

OpenAI's Astra: The Strange Idea of Reusing AI Layers

What if an AI model didn't need more layers to become more capable — what if it could reuse the same layers and compute more? A breakdown of looped transformers, the parameters-versus-compute trade-off, and what reports about OpenAI's Astra suggest about a different way to scale AI.

  • Looped transformers
  • AI scaling
  • OpenAI Astra
Watch & read the breakdown

Building something with AI?

I design and ship production AI systems — multi-agent workflows, RAG platforms and the backends behind them.