Deep tech,
written and visualized.

A working engineer's library: 1,517 articles paired with 136 single-file interactive labs on transformers, distributed systems, Apache Cassandra, agent protocols, networking, security, and real-time media. All static HTML, all yours to read offline.

★ Featured · 383 articles + 49 labs

Transformer Math & CPU SLM

A depth-first walk through how autoregressive transformers actually work — from linear algebra to CPU inference kernels.

383 Articles
49 Labs
0
In-depth articles
0
Interactive labs
0
Topic categories
0
ADK for Java articles
ADK for Java ADK Runtime Loop Hierarchical Agents Agent Registry Task Resumability WhatsApp Architecture UPI Payments Uber Ride Matching Signal Protocol ATM Architecture A2A JSON-RPC A2A Streaming WebSocket Handshake SSE for LLM MCP Servers Gemini 2.5 ADK for Java ADK Runtime Loop Hierarchical Agents Agent Registry Task Resumability WhatsApp Architecture UPI Payments Uber Ride Matching Signal Protocol ATM Architecture A2A JSON-RPC A2A Streaming WebSocket Handshake SSE for LLM MCP Servers Gemini 2.5
↑ hover to pause · click any topic to jump straight to it
Articles by topic

Hand-written technical articles,
organized by domain

Every article is self-contained, uses concrete examples and numbers, and avoids marketing fluff. Click any category to browse its index. 1,517 articles across 39 categories.

✨ Newly added
Updated 2026-07-11
ADK JAVA · RUNTIME

ADK Java Runtime — Anatomy of the Execution Loop

Every phase of the ADK Java runtime's execution loop, from message-in to response-out.

ADK JAVA · ORCHESTRATION

Hierarchical Agents — Supervisor Pattern

One coordinator delegating to specialist workers — classic hierarchical orchestration.

ADK JAVA · ORCHESTRATION

Parallel Agents — Fan-Out Pattern

Send the same input to multiple agents concurrently and gather all their results.

ADK JAVA · ORCHESTRATION

Sequential Agent Chains in ADK Java

The workhorse pipeline pattern — parse, validate, transform, summarize.

ADK JAVA · GUIDE

Choosing an Orchestration Pattern — Decision Guide

Sequential vs parallel vs loop vs hierarchical — the right pattern for your system.

See all 31 ADK Java articles
A2A

Agent Protocols

249 articles · 8 categories
PROTOCOL

MCP Protocol

33

Model Context Protocol — server design, OAuth 2.1, transports, testing patterns.

Browse →
FRAMEWORK

ADK Framework

46

Agent Development Kit — lifecycle, tools, evals, guardrails, sessions, skills.

Browse →
FRAMEWORK · NEW

ADK for Java

31

Complete coverage: runtime, model package (BaseLLM + Gemini), persistence, memory, tools, orchestration, A2A transport, observability, evaluation, safety, deployment. All with Java code.

Browse →
ALGORITHMS · NEW

Algorithms & DP

34

DP, trees, graphs, strings, geometry, network flow, number theory, plus cryptography (AES/RSA/ECC/Ed25519/SHA/HMAC/Argon2/ChaCha/Kyber/ZK-SNARKs/MPC/FHE/JWT/OAuth) and ML (regression/RF/XGBoost/SVM/k-means/PCA/attention/transformer/CNN/RNN/BERT/GPT/Q-learning/PPO/RLHF) — all with animated visualizations.

Browse →
PROMPT ENG · NEW

Prompt Engineering

24

Zero/few-shot, CoT, self-consistency, ToT, ReAct, self-refine, Reflexion, Constitutional AI, DSPy, meta-prompting, RAG (HyDE/GraphRAG/contextual), agentic prompting, multi-agent orchestration, function calling, structured outputs, prompt caching, cost optimization, A/B testing, eval frameworks.

Browse →
SECURITY · NEW

LLM Security & Guardrails

30

OWASP LLM Top 10, prompt injection (direct/indirect/multi-turn/GCG), jailbreaks, data exfil, model stealing, MITRE ATLAS, NeMo/Guardrails AI/Llama Guard, PII redaction, hallucination detection, sandboxing, red team (PyRIT/Garak), NIST RMF, EU AI Act, mechanistic interpretability, SAE, watermarking, PQ migration, agent security.

Browse →
PROTOCOL

A2A Protocol

21

Full protocol coverage: JSON-RPC flow, task lifecycle, streaming, push notifications, artifacts, auth, tracing, MCP interop.

Browse →
PAYMENTS

AP2 Payments

30

Agent Payment Protocol — subscriptions, settlement, chargebacks, compliance.

Browse →
Advertisement
Interactive labs

No install. No build step.
146 labs ready to play.

Each lab is one HTML file with embedded JavaScript. Open it in a browser and play. Every lab has interactive controls, a clear ★ Key Takeaway, and a ▶ What to Try guide.

▶ Lab series

50 labs that visualize transformer math, end-to-end

From matrix multiplication step-through to KV cache memory growth and CPU inference latency — each lab visualizes one concept from the article series.

Read next

Start here if you're curious where to dig in

Three good starting points if you're new to the site. Each one opens onto dozens more.

About

Built by an engineer
who learns by building

Sandeep Belgavi Ashok Kumar

Belgavi's AI Lab is a personal initiative by Sandeep Belgavi Ashok Kumar, a Senior Engineering Manager and Architect working at the intersection of scalable distributed systems and modern AI.

The site captures deep technical knowledge in two complementary forms: focused written explanations and interactive single-file labs that make the underlying mechanics visible. Topics span LLM internals, agent protocols (MCP, A2A, ADK, AP2), Apache Cassandra, distributed consensus, system design, networking, security, observability, and the realtime media stack (WebRTC, HLS, DASH).

Every article aims for concrete numbers and working examples over marketing claims. Every lab runs in a browser — no install, no build step, no JavaScript framework dependency.