Deep tech,
written and visualized.

A working engineer's library: 469 in-depth articles paired with 135 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 · 50+50

Transformer Math & CPU SLM

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

50 Articles
50 Labs
10 Batches
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. 1992 articles across 33 categories.

A2A

Agent Protocols

70 articles · 4 categories
PROTOCOL

MCP Protocol

24

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

Browse →
FRAMEWORK

ADK Framework

16

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

Browse →
FRAMEWORK · NEW

ADK for Java

161

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

388

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

50

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

150

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

37

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

Browse →
PAYMENTS

AP2 Payments

16

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

Browse →
Advertisement
Interactive labs

No install. No build step.
135 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.