Skip to main content

Version Baseline — August 1, 2026

AI APIs, inference engines, generative-media libraries, agent frameworks, and interoperability protocols change quickly. This page records the current assumptions behind version-sensitive examples; durable engineering concepts remain separated from SDK syntax.

Production baseline​

AreaHandbook baselineGuidance
RuntimeNode.js 20+; current LTS preferredTypeScript-first application examples.
ValidationZod 4.xValidate model, structured-output and tool boundaries at runtime.
OpenAIResponses API and current specialized realtime/media surfacesKeep model IDs configurable and provider details behind adapters.
OpenAI Agents SDKcurrent stable @openai/agents TypeScript lineDedicated track for tools, handoffs, guardrails, sessions, HITL, tracing, realtime, MCP and sandbox agents.
LangChain JS/TScurrent stable 1.x lineModern createAgent, middleware, structured output, tools and retrievers.
LangGraph JS/TScurrent stable 1.x lineExplicit state, graph topology, checkpoints, interrupts and durable workflows.
MCP protocol2026-07-28 specificationCurrent handbook baseline: stateless core, per-request protocol/capability metadata, server/discover, MRTR input-required flows and opt-in extensions.
MCP extensionscurrent official extension specificationsTasks, Skills over MCP and MCP Apps are extensions, not assumed core behavior.
Agent-to-Agent protocolcurrent official A2A specificationRemote-agent interoperability: Agent Cards, Messages, Tasks, Artifacts, streaming and push notifications.
Hugging Face Transformerscurrent stable lineTokenizers/chat templates, model internals, local inference, multimodal processing and quantization concepts.
Hugging Face PEFTcurrent stable lineLoRA/QLoRA and parameter-efficient adaptation.
Hugging Face Diffuserscurrent stable lineImage/video/audio generation, schedulers, adapters, DiT and flow-matching concepts.
vLLMcurrent stable documentationOpenAI-compatible serving, scheduling, KV-cache management, prefix caching, speculative decoding, structured output and distributed inference.
llama.cpp / GGUFcurrent ecosystem formats/runtimesLocal/edge/CPU and consumer-GPU inference concepts; artifact integrity remains a production concern.
pgvector / managed vector databasescurrent stable provider docsRetrieval concepts remain provider-neutral.

MCP compatibility note​

The 2026-07-28 protocol is now the current specification taught by the handbook. Important differences from the previous architecture include:

  • stateless request semantics;
  • no protocol-level Mcp-Session-Id dependency;
  • removal of the old initialize/initialized handshake;
  • protocol version and client capabilities supplied per request;
  • server/discover for supported versions/capabilities/server identity;
  • subscriptions/listen for subscription/list-change streams;
  • multi round-trip input_required results for additional input;
  • Tasks moved to an extension;
  • Skills over MCP and MCP Apps as opt-in extensions;
  • deprecated Roots, Sampling, Logging and older HTTP+SSE guidance treated as migration knowledge, not the new default.

The durable host → client → server trust model remains useful: the host owns user experience, model use, authorization policy, approval and data-flow decisions.

Model/training guidance​

The zero-to-hero track now distinguishes:

  • base vs instruct/chat models;
  • tokenizer/model compatibility and chat templates;
  • causal language modeling, cross-entropy and perplexity;
  • pretraining, SFT, preferences/DPO, RLHF/RLAIF, reinforcement fine-tuning and PEFT;
  • hosted APIs vs self-hosted inference;
  • prefill/decode, TTFT/TPOT, KV cache, continuous batching and quantization;
  • product evals from generic training/model metrics.

Exact optimizer defaults, quantization kernels, model IDs, context limits and training recipes are version-sensitive and must be verified against the selected stack.

Source-of-truth policy​

Primary sources for implementation decisions are official documentation/specifications, including:

  • OpenAI developer documentation and OpenAI Agents SDK TypeScript docs;
  • Hugging Face Transformers, PEFT and Diffusers documentation;
  • PyTorch documentation for training/autodiff fundamentals;
  • vLLM documentation for serving/inference engineering;
  • LangChain and LangGraph JavaScript documentation;
  • MCP specification 2026-07-28 and official TypeScript SDK;
  • A2A protocol specification;
  • official vector database and pgvector documentation.

Community examples can be useful for operational experience, but current syntax/protocol behavior is not inferred from old tutorials when official docs disagree.