Introduction to LLM
This page provides an easy-to-understand guide on LLMs (Large Language Models) from basics to applications for AI enthusiasts.
Chapter 12 — Access Control and Identity
Twelfth post of the LLM Primer VII walkthrough. OAuth 2.0 + PKCE, ABAC vs ReBAC (Zanzibar), multi-tenant isolation, and token-bucket rate limits for LLM APIs.
2026-05-21Chapter 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-19LLM 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 12 — Protocol Hardening and Defenses
Thirteenth post of the LLM Primer IV walkthrough. The four defense clusters — cryptographic attestation, OAuth scope discipline with bounded sessions, runtime sandboxing, and human-in-the-loop gates — compose into a posture that does not depend on the model behaving correctly under adversarial conditions.
2026-04-10Chapter 11 — Attack Surfaces and Protocol Vulnerabilities
Eleventh post of the LLM Primer IV walkthrough. The classical attacks adapted to MCP — Confused Deputy, Token Passthrough, Session Hijacking — the protocol-level flaws around capability escalation and unauthenticated sampling, and the implicit trust propagation that makes context poisoning a structural problem rather than a hygiene one.
2026-04-09Chapter 5 — Transport Protocols and Discovery
Fifth post of the LLM Primer IV walkthrough. The three transports MCP supports, the .well-known discovery layer with Server Cards, and the boring operational concerns — CORS, origin validation, caching — that decide whether a server is a cooperative network citizen or a liability.
2026-04-03Chapter 2 — Unveiling the Model Context Protocol (MCP)
Second post of the LLM Primer IV walkthrough. What MCP actually standardizes, the three-role split of Host, Client, and Server, why dynamic discovery and bidirectional messaging differ from REST in the cases that matter, and the session lifecycle that opens with capability negotiation.
2026-03-312.0 The Basics of Large Language Models (LLMs): Transformer Architecture and Key Models
Learn about the foundational elements of Large Language Models (LLMs), including the transformer architecture and attention mechanism. Explore key LLMs like BERT, GPT, and T5, and their applications in NLP.
2024-09-06A Guide to LLMs (Large Language Models): Understanding the Foundations of Generative AI
Learn about large language models (LLMs), including GPT, BERT, and T5, their functionality, training processes, and practical applications in NLP. This guide provides insights for engineers interested in leveraging LLMs in various fields.
2024-09-01