Introduction to LLM
This page provides an easy-to-understand guide on LLMs (Large Language Models) from basics to applications for AI enthusiasts.
Chapter 17 — Future Threats and Emerging Defenses
Seventeenth post of the LLM Primer VII walkthrough — and the series finale. Agent risks and the lethal trifecta, multimodal attack surfaces, deepfakes and C2PA provenance, plus a closing map of the whole LLM Primer arc and the Physical AI sister volume.
2026-05-26Chapter 13 — Regulatory Landscape
Thirteenth post of the LLM Primer VII walkthrough. The EU AI Act (Regulation 2024/1689), US EO 14179, Colorado AI Act, NIST AI RMF + GenAI Profile, and ISO/IEC 42001 as the compliance skeleton.
2026-05-22Chapter 11 — Observability, Logging, and Incident Response
Eleventh post of the LLM Primer VII walkthrough. Structured LLM logging with PII redaction, OpenTelemetry GenAI conventions, and the NIST SP 800-61 IR cycle adapted for probabilistic systems.
2026-05-20Chapter 10 — Designing Secure LLM Architectures
Tenth post of the LLM Primer VII walkthrough. Isolation boundaries, policy engines (OPA, Cedar), microVM sandboxes, and the "lethal trifecta" of agent + private data + untrusted content.
2026-05-19Chapter 2 — Threat Modeling for LLM Systems
Second post of the LLM Primer VII walkthrough. Adapting STRIDE, PASTA, and attack trees to LLM systems — model, prompt, data, and infrastructure as assets, and MITRE ATLAS as the LLM-specific adversary catalog.
2026-05-11Chapter 1 — Why AI Security Is Different
First post of the LLM Primer VII walkthrough. Why LLM security is structurally different from traditional security — the collapsed code/data boundary, the probabilistic core, and the OWASP LLM Top 10 as a working checklist.
2026-05-10LLM Primer VII — Series Introduction & Index
Kicking off the chapter-by-chapter walkthrough of Book VII in the LLM Primer series — AI Security. Why in LLM systems code and data are the same string, and the schedule for the seventeen posts that follow, May 10 through May 26. This is the series finale.
2026-05-09Chapter 15 — Serverless APIs vs Dedicated Infrastructure
Fifteenth post of the LLM Primer VI walkthrough. The breakeven math between serverless APIs and dedicated infrastructure, the hidden platform-engineering overhead each side takes on, and microVM sandboxes for agent code execution.
2026-05-07Chapter 2 — The KV Cache Challenge
Second post of the LLM Primer VI walkthrough. The KV cache formula, the attention-variant trade-offs (MHA vs GQA vs MQA), and the memory-fragmentation problem PagedAttention solves.
2026-04-24Chapter 3 — Advanced Chunking Frameworks
Third post of the LLM Primer III walkthrough. The chunking spectrum from fixed-size to structure-aware, the overlap myth, the context cliff that destroys retrieval quietly, and the contextual-retrieval and late-chunking techniques that have reshaped the frontier.
2026-03-20