HomeWritingNotesContact
NOTES · CONTENTS

FOUNDATIONS

01LLM fundamentals
  • Tokens and tokenisation
  • Transformers and attention
  • How models are trained
  • Sampling and decoding
  • Reasoning models
  • Capabilities and failure modes
02Prompting and context engineering
  • Prompt design
  • Few-shot examples
  • Structured outputs
  • The context window as a budget
  • Long-context trade-offs
  • Compaction and summarisation
  • Memory
03RAG and retrieval
  • RAG overview
  • Chunking
  • Embeddings and vector search
  • BM25 and sparse retrieval
  • Hybrid search and reranking
  • Query rewriting
  • Agentic RAG
  • Measuring retrieval

BUILDING AGENTS

04Agents
  • What is an agent: the loop
  • Tool calling
  • ReAct and planning
  • Stopping conditions and budgets
  • Levels of autonomy
  • When not to use an agent
05Agentic design patterns
  • Workflows vs agents
  • Reflection
  • Human in the loop
  • Multi-agent systems
  • Error handling and recovery
  • Choosing a pattern
06Harnesses
  • Agent = model + harness
  • The execution loop
  • Tool design and the tool registry
  • Model Context Protocol (MCP)
  • Agent-to-agent protocols (A2A)
  • State and checkpoints
  • Hooks and lifecycle events
  • Subagents and delegation
  • Case study: coding agents
07Frameworks and SDKs
  • Building without a framework
  • Choosing a framework
  • LangGraph
  • OpenAI Agents SDK
  • Claude Agent SDK
  • Google ADK
  • CrewAI
  • Pydantic AI

RUNNING IN PRODUCTION

08Evals and observability
  • Why evals come first
  • Tracing and operational monitoring
  • Building eval sets
  • Evaluators and LLM-as-judge
  • Evaluating routers, tools and skills
  • Trajectories and final outcomes
  • Experiments and eval-driven development
  • Benchmarks and their limits
  • Online evals and A/B tests
09Safety and guardrails
  • Threat model
  • Prompt injection
  • Permissions
  • Sandboxing
  • Input and output guardrails
  • Human approval
  • Red teaming
10Inference and serving
  • Latency and cost
  • The KV cache
  • Batching
  • Quantisation
  • Speculative decoding
  • Mixture of experts
  • Prompt caching
  • Serving stacks
11Fine-tuning and adaptation
  • When to fine-tune
  • Supervised fine-tuning
  • LoRA and QLoRA
  • Preference tuning: RLHF and DPO
  • Distillation
  • Preparing training data

APPLIED AND REFERENCE

12Healthcare AI
  • The healthcare AI landscape
  • Clinical NLP
  • Evidence appraisal
  • Clinical decision support
  • Validation and safety in medicine
  • Privacy and regulation
13Reading list and glossary
  • Foundational papers
  • Reading list: agents
  • Books
  • Glossary
ABOUT · SOURCES & ATTRIBUTION

NOTES / PART 4 · APPLIED AND REFERENCE

13Reading list and glossary

Papers and articles worth reading, plus quick definitions.

THIS SECTION COVERS

Key papers with one-line takeaways, recommended articles and books, a glossary of terms.

TOPICS · 4/4 WRITTEN

  1. 13.1Foundational papersEleven papers behind the topics on this site, each with a one-line takeaway in my own words and where it shows up in these notes.
  2. 13.2Reading list: agentsA short, ordered reading path for building agents, from Anthropic's design guidance through ReAct, tool design and agent benchmarks, with why each is worth your time.
  3. 13.3BooksTwo books I would point an AI engineer to, with what each covers according to its publisher, and an honest note on how far these notes rely on them.
  4. 13.4GlossaryShort plain-language definitions of terms used across these notes, each pointing to the note that explains it.
← PREVIOUS SECTIONHealthcare AI