Applied AI, Large Language Models & Agentic Systems
A 12-part open-access technical monograph series authored by AhnLim Foundation covering transformer inference internals, hybrid retrieval-augmented generation, tool-using autonomous agents, security boundaries, and neuro-symbolic deployments across energy grids, healthcare, finance, and industrial operations.
12 In-Depth Technical Parts
Each part examines 1 Core Topic and 2 Deep Sub-Topics (~35–45 minutes of study per part, ~8–9 hours total reading), paired with mathematical derivations, original Python lab code, and analytical self-study questions.
Target Audience
Designed for upper-division STEM undergraduates, graduate researchers, and practicing software/data engineers comfortable with Python, linear algebra basics, and probability.
100% Original & Public-Grounded
Authored originally by AhnLim Foundation under CC BY-NC 4.0, citing exclusively public-domain federal standards (NIST, FERC/NERC, FDA, SR 11-7) and open-access research.
Monograph Chapters & Direct Reading Links
Select any part below to read the full technical analysis, runnable reference Python implementation, and expandable problem-set solutions.
| Part | Primary Technical Topic | Sub-Topic 1 & Sub-Topic 2 | Read |
|---|---|---|---|
| Section I (Parts 01–03): Foundation Model Internals, Alignment & Structured Conditioning | |||
| Part 01 | Autoregressive Transformers & Inference Mechanics | 1.1 Subword Tokenization, RoPE & Causal Self-Attention 1.2 KV-Cache Memory Arithmetic, Decoding & Calibration |
Read Part → |
| Part 02 | Pretraining Scaling, Alignment & Reasoning Models | 2.1 Compute-Optimal Scaling Laws & Supervised Fine-Tuning 2.2 Preference Optimization (RLHF vs. DPO) & Test-Time Compute |
Read Part → |
| Part 03 | Context Engineering & Constrained Structured Outputs | 3.1 Long-Context Attention Dilution & Prompt Conditioning 3.2 Finite-State Grammar Masking & Deterministic Schema Parsing |
Read Part → |
| Section II (Parts 04–06): Grounded Retrieval (RAG), Structured/Temporal Search & Evaluation | |||
| Part 04 | Production Retrieval-Augmented Generation (RAG) | 4.1 Structure-Aware Parsing, Chunking & Embedding Geometry 4.2 Hybrid Search (BM25 + Vector RRF), Reranking & Attribution |
Read Part → |
| Part 05 | Structured, Temporal & Graph-Enhanced Retrieval | 5.1 Semantic Text-to-SQL Routing vs. Document Passage Retrieval 5.2 Knowledge-Graph RAG, Multi-Hop Queries & Bi-Temporal Versioning |
Read Part → |
| Part 06 | Evaluation Harnesses, Fine-Tuning & Inference Economics | 6.1 Golden Datasets, Faithfulness Metrics & Debiased Judges 6.2 RAG vs. LoRA/QLoRA Trade-Offs, Prefix Caching & Quantization |
Read Part → |
| Section III (Parts 07–09): Autonomous Agents, Planning Reliability & Security Boundaries | |||
| Part 07 | Single-Agent Control Loops & Tool-Calling Architecture | 7.1 Workflows vs. Closed-Loop Agents (ReAct & State Machines) 7.2 Typed Tool Contracts, MCP Interfaces & Error-Recovery Loops |
Read Part → |
| Part 08 | Hierarchical Planning, Memory Tiers & Reliability Math | 8.1 Plan-Execute-Verify Topologies & Multi-Step Error Math 8.2 Working, Episodic & Semantic Memory Without Context Bloat |
Read Part → |
| Part 09 | Multi-Agent Orchestration, Security & Safety Boundaries | 9.1 Supervisor-Specialist Delegation & Termination Guarantees 9.2 Indirect Prompt Injection Defense, Least Privilege & HITL Gates |
Read Part → |
| Section IV (Parts 10–12): Critical-Sector Industry Architectures & Production LLMOps | |||
| Part 10 | AI & Agents in Energy Systems, Power Grids & Infrastructure | 10.1 Neuro-Symbolic Coupling with AC Power Flow & MILP Solvers 10.2 Grid Outage/Compliance Copilots & Zero-Actuation Safeguards |
Read Part → |
| Part 11 | AI & Agents in Healthcare, Life Sciences & Finance | 11.1 Clinical Synthesis, Trial Matching & FDA TPLC/PCCP Governance 11.2 Auditable Financial Workflows, Exact Ledgers & SR 11-7 Risk |
Read Part → |
| Part 12 | Industrial Operations, Supply Chains & Production LLMOps | 12.1 SCADA + Manual Maintenance Copilots & Supply-Chain Agents 12.2 OpenTelemetry Tracing, Drift Gates & NIST AI 600-1 Governance |
Read Part → |