# AI weekly: 23–29 November 2026

Every article published from 23–29 November 2026, newest first, with a short summary of each.

## This week's articles

### [smolagents 1.26 in depth: code agents versus JSON tool calls, sandboxes and managed agents](/articles/smolagents-code-agents-in-depth)

24 November · Other agent frameworks

Run Hugging Face smolagents 1.26 offline with a scripted model: CodeAgent vs ToolCallingAgent, blocked imports, answer checks, max_steps and managed agents.

### [cmHC explained: fixing how hyper-connections mix residual streams with one dial](/articles/cmhc-hyper-connections-geometric-contraction)

24 November · Research

China Telecom's cmHC pulls doubly stochastic residual mixing toward the uniform matrix to stop under- and over-mixing. Method, maths, results, limits.

### [Vector databases explained: HNSW, IVF and product quantisation measured with FAISS](/articles/vector-databases-hnsw-ivf-pq-pgvector)

24 November · Vector databases

How vector databases search millions of embeddings: HNSW, IVF and product quantisation, a FAISS benchmark, pgvector settings and a product comparison.

### [Unsupervised learning explained: clustering, PCA, density estimation and anomaly detection](/articles/unsupervised-learning-clustering-pca-anomalies)

24 November · Unsupervised learning

How unsupervised learning finds structure without labels: k-means, HDBSCAN, PCA, Gaussian mixtures and isolation forests, with worked numbers and runnable code.

### [Tutorial: build a read-only SQL data agent with LangChain 1.5 and test it without an LLM](/articles/tutorial-sql-data-agent-langchain-tests)

24 November · Agent tutorials

Build a LangChain 1.5 agent that answers questions from SQLite, recovers from SQL errors, obeys call limits and passes four pytest tests with a scripted model.

### [Tree of Thoughts explained: propose, evaluate and search with a runnable Game of 24](/articles/tree-of-thoughts-search-explained-code)

24 November · Tree of Thoughts

How Tree of Thoughts makes a model search: proposals, sure/likely/impossible values, BFS with beam b=5, the paper's 74% Game of 24 result and runnable code.

### [Supervised learning explained: losses, generalisation and honest evaluation, step by step](/articles/supervised-learning-losses-generalisation-evaluation)

24 November · Supervised learning

How supervised learning works: regression and classification losses, why models generalise or overfit, and how to evaluate them honestly with scikit-learn 1.9.

### [Semi-supervised learning explained: pseudo-labels, consistency training and label propagation](/articles/semi-supervised-pseudo-labels-consistency-propagation)

24 November · Semi-supervised learning

How semi-supervised learning turns a few labels and lots of unlabelled data into a better model: self-training, FixMatch and label propagation, with code.

### [Self-supervised learning explained: masked and next-token prediction behind foundation models](/articles/self-supervised-learning-masked-next-token-pretraining)

24 November · Self-supervised learning

How self-supervised learning creates labels from raw data: next-token and masked prediction, perplexity, scaling rules and a tiny PyTorch model you can run.

### [Self-consistency explained: sample many reasoning paths, vote, and know when it pays](/articles/self-consistency-majority-vote-reasoning)

24 November · Self-consistency

How self-consistency samples several chains of thought and majority-votes the answer: the paper's algorithm and gains, agreement as confidence, cost and code.

### [Self-RAG and CRAG explained: grading passages, corrective retrieval and web fallback](/articles/self-rag-crag-grading-corrective-retrieval)

24 November · Self-RAG and CRAG

How Self-RAG and Corrective RAG check their own retrieval: reflection tokens, a grader with two thresholds, knowledge strips and web fallback, in Python.

### [Reranking for RAG: cross-encoders, LLM rerankers and the latency and cost of each](/articles/reranking-cross-encoders-llm-rerankers-cost)

24 November · Reranking

How rerankers reorder RAG candidates: cross-encoders versus pointwise, pairwise and listwise LLM rerankers, nDCG worked by hand, and token cost per query.

### [Reflexion explained: agents that learn from failure with verbal feedback, step by step](/articles/reflexion-verbal-reinforcement-agents-explained)

24 November · Reflexion

How Reflexion turns failures into written lessons an agent reuses on its next try: actor, evaluator, self-reflection, memory, paper results and LangGraph code.

### [ReWOO explained: plan every tool call up front and cut agent tokens, step by step](/articles/rewoo-plan-once-agents-fewer-tokens)

24 November · ReWOO

How ReWOO plans all tool calls in one pass with #E placeholders, runs them without the LLM, then solves: the 5x token claim, worked maths and runnable code.

### [ReAct explained: the reason-act-observe loop from the paper to LangChain 1.5 code](/articles/react-reason-act-loop-paper-code)

24 November · ReAct

How ReAct interleaves thoughts, tool calls and observations: the 2022 paper step by step, its prompt, results, costs and runnable Python and LangChain 1.5 code.

### [RAG evaluation step by step: recall@k, MRR, nDCG, faithfulness and when a gain is real](/articles/rag-evaluation-recall-mrr-ndcg-faithfulness)

24 November · RAG evaluation

How to evaluate a RAG system in two halves: retrieval metrics computed by hand and checked with pytrec_eval, generation metrics in Ragas, DeepEval and TruLens.

### [RAG basics: the retrieve-then-generate pipeline, step by step, and when it beats fine-tuning](/articles/rag-basics-retrieve-then-generate-pipeline)

24 November · RAG basics

How retrieval-augmented generation works step by step: indexing, retrieval, prompt assembly and generation, with worked costs and when RAG beats fine-tuning.

### [Query transformation for RAG: multi-query, HyDE, step-back, decomposition and routing](/articles/query-transformation-multi-query-hyde-routing)

24 November · Query transformation

How query transformation fixes RAG retrieval misses: multi-query, HyDE, step-back prompts, decomposition and routing, with runnable BM25 code and costs.

### [Production RAG: ingestion, freshness, access control, caching, latency and cost per answer](/articles/production-rag-ingestion-freshness-access-cost)

24 November · Production RAG

How to run RAG in production: incremental ingestion with content hashes, access control before ranking, semantic caching, latency budgets and cost per answer.

### [Power BI storage modes explained: Import, DirectQuery, Dual and Direct Lake compared](/articles/power-bi-import-directquery-direct-lake)

24 November · BI tools

How Power BI storage modes work and when to use each: Import, DirectQuery, Dual, Direct Lake guardrails, composite models, aggregations and incremental refresh.

### [Plan-and-execute agents explained: planner, executor and replanner in LangGraph 1.2](/articles/plan-and-execute-agents-replanning-langgraph)

24 November · Plan-and-Execute

How plan-and-execute agents work: Plan-and-Solve prompting, the planner, executor and replanner loop, a runnable LangGraph 1.2 graph, costs and trade-offs.

### [OpenAI publishes its perplexity curve and asks labs to agree limits on pretraining progress](/articles/openai-perplexity-curve-shared-limits)

24 November · Trends

OpenAI's chief scientist published internal log-perplexity numbers and proposed shared limits. What the metric measures, what it misses and how to read it.

### [Multimodal RAG explained: ColPali page retrieval, PDF parsing, tables and storage costs](/articles/multimodal-rag-colpali-pdfs-tables-images)

24 November · Multimodal RAG

How multimodal RAG retrieves from PDFs, tables and images: parsing versus ColPali page images, late-interaction MaxSim, ViDoRe scores and storage costs.

### [MoE routing explained: top-k gates, load balancing losses and loss-free bias updates](/articles/moe-routing-load-balancing-bias)

24 November · Concepts

How mixture-of-experts models pick experts per token and keep them evenly loaded: top-k gating, the Switch auxiliary loss, capacity and bias-based balancing.

### [Meta's Muse family for developers: Ember, Spark Open weights, Glimmer and API prices](/articles/meta-muse-family-ember-spark-open-glimmer)

24 November · Llama

A developer guide to Meta's Muse models after Llama: Muse Ember at $0.10 input, open Muse Spark Open and Glimmer weights, licences, prices and how to call them.

### [MemOnce explained: a 25 MB memory that beats full context for a 4B model at 1M tokens](/articles/memonce-compact-memory-kv-cache)

24 November · Research

MemOnce caches a small slice of final-layer states, retrieves once per query and decodes KV on demand. How it works, its numbers and its limits.

### [Long context vs RAG: when a big prompt replaces retrieval, and what caching changes](/articles/long-context-vs-rag-caching-break-even)

24 November · Long context vs RAG

When should you paste the whole corpus into a long prompt instead of using RAG? Cost and latency worked out, context caching, KV reuse and accuracy limits.

### [LATS explained: Monte Carlo tree search for language agents, step by step with code](/articles/lats-language-agent-tree-search-mcts)

24 November · LATS

How Language Agent Tree Search joins ReAct, reflection and Monte Carlo tree search: selection, expansion, values, rollouts, backpropagation and code.

### [Hybrid search for RAG: BM25, SPLADE and dense vectors fused with reciprocal rank fusion](/articles/hybrid-search-bm25-splade-dense-rrf)

24 November · Hybrid search

How hybrid search combines BM25, SPLADE and dense embeddings, with the BM25 formula worked by hand and reciprocal rank fusion compared with score blending.

### [GraphRAG explained: entity graphs, community summaries, LightRAG and indexing cost](/articles/graphrag-entity-graphs-community-summaries-lightrag)

24 November · GraphRAG

How GraphRAG builds an entity graph and community summaries for RAG, how local and global search differ, how LightRAG compares, and what indexing really costs.

### [Gemma 4 in late 2026: five sizes, Apache 2.0, EmbeddingGemma 2 and how to choose one](/articles/gemma-4-family-guide-sizes-licence)

24 November · Open models

A practical guide to Google's Gemma 4 open models: E2B to 31B, the 12B Unified model, memory needs, Apache 2.0 terms, EmbeddingGemma 2 and how to run each one.

### [GPTQ and AWQ explained: how 4-bit weight quantisation keeps LLMs accurate](/articles/gptq-awq-4-bit-weight-quantisation)

24 November · Concepts

How GPTQ and AWQ shrink LLM weights to 4 bits: the layer-wise objective, Hessian error feedback, activation-aware scaling, worked numbers and runnable code.

### [GLM-5.4 explained: Z.ai's first looped flagship, its hybrid KV cache and what is confirmed](/articles/glm-5-4-loop-transformer-explained)

24 November · Trends

Z.ai's GLM-5.4 runs GLM-5 layers twice for more depth at the same size. How looping, gated updates and the hybrid KV cache work, and what is still unconfirmed.

### [FlashAttention explained: tiling, online softmax and why FA4 had to fight the exponential](/articles/flashattention-tiling-online-softmax-fa4)

24 November · Concepts

How FlashAttention computes exact attention without storing the score matrix: tiling, the online softmax, recomputation and the FA4 tricks for Blackwell GPUs.

### [Fact table types explained: grain, transaction, periodic and accumulating snapshots](/articles/fact-table-types-grain-snapshots)

24 November · Facts and dimensions

A hands-on guide to fact tables: declare the grain, then build transaction, periodic snapshot, accumulating snapshot and factless facts in runnable DuckDB SQL.

### [Embedding models for RAG: how they work, how to read MTEB and what dimensions really cost](/articles/embedding-models-for-rag-choose-measure)

24 November · Embeddings

How text embedding models turn chunks into vectors, how contrastive training works, how to read MTEB results and what dimensions cost in memory and money.

### [Contrastive learning explained: InfoNCE, SimCLR and CLIP with worked numbers and PyTorch code](/articles/contrastive-learning-infonce-simclr-clip)

24 November · Contrastive learning

How contrastive learning trains embeddings by pulling matching pairs together and pushing others apart: the InfoNCE loss, temperature, SimCLR, CLIP and code.

### [Clover-35B-A3B: a diffusion language model that reports 73.6 on SWE-bench Verified](/articles/clover-35b-diffusion-language-model-agents)

24 November · Research

DiffuSpace turned Qwen3.6-35B-A3B into a block diffusion model with Gated DeltaNet memory. How it decodes in parallel, its benchmark numbers and caveats.

### [Claude and the Riemann hypothesis claim: what a Lean-checked proof does and does not prove](/articles/claude-riemann-hypothesis-lean-proof-claim)

24 November · Claude

An Anthropic mathematician says Claude helped prove the Riemann hypothesis in Lean. How proof checking works, what is verified so far and the Claude line-up.

### [Chunking for RAG explained: fixed, recursive, semantic and late chunking with worked numbers](/articles/chunking-for-rag-fixed-recursive-semantic-late)

24 November · Chunking

How to split documents for RAG: fixed-size, recursive, semantic and late chunking, the overlap formula, chunk-size trade-offs and runnable Python to test them.

### [BigQuery costs explained: bytes billed, partition pruning, clustering and slot editions](/articles/bigquery-bytes-billed-partitioning-clustering)

24 November · Other warehouses

How BigQuery bills a query, step by step: logical bytes per column, partition pruning, clustering, caching, cost guards and when slot editions beat on-demand.

### [Ant's Ling-3.2-air and LingSante-3.1: open hybrid-linear MoE models for agents and medicine](/articles/ling-3-2-air-lingsante-hybrid-moe)

24 November · Trends

Ant Group's inclusionAI released Ling-3.2-air and two LingSante medical models under MIT. How KDA linear attention, 512-expert MoE and MTP decoding work.

### [Agentic RAG explained: agents that decide when, where and how to retrieve, step by step](/articles/agentic-rag-retrieval-decisions-deep-research)

24 November · Agentic RAG

How agentic RAG lets a model decide when, where and what to retrieve, with a runnable loop, token growth worked out, deep research and the guardrails it needs.

### [Agent trends this week: LangSmith Tool Gateway, Agent 365 identities and manager agents](/articles/agent-trends-tool-gateways-manager-agents)

24 November · Agent trends

LangSmith Tool Gateway, Agent 365 identities, Azure Monitor agent tracing, Devin Bots and Replit Missions: what shipped on 17 to 19 November and how it works.

### [Agent routing explained: send each task to the cheapest model that can do it well](/articles/agent-routing-model-cascades-cost)

24 November · Agent routing

How routers and cascades pick a model per request: classifier routing, confidence cascades, RouteLLM and FrugalGPT results, LangChain 1.5 code and cost maths.

### [dbt incremental models explained: merge, delete+insert, microbatch and safe backfills](/articles/dbt-incremental-models-microbatch-backfills)

23 November · Pipelines and orchestration

How dbt incremental models work, step by step: is_incremental, unique_key, merge versus delete+insert, late data, microbatch batches and safe backfills.

### [Who reads your prompts? Canary tests expose leaks at AI inference providers and routers](/articles/inference-provider-prompt-leaks-canaries)

23 November · Trends

Dragos seeded about two million prompts with traceable secrets. OpenRouter cut three providers. What leaked, why zero data retention failed, and what to do now.

### [What is an AI agent? Agents versus chatbots and workflows, explained with runnable code](/articles/what-is-an-ai-agent-chatbot-workflow)

23 November · Agentic AI basics

A plain guide to AI agents: how they differ from chatbots and fixed workflows, the loop at their core, the five workflow patterns and when an agent is worth it.

### [Unity Catalog explained: namespaces, privileges, credential vending and metric views](/articles/databricks-unity-catalog-privileges-explained)

23 November · Databricks

How Unity Catalog organises catalog.schema.table, how grants inherit, why reads need three privileges, how credentials are vended and what metric views add.

### [Tutorial: build and test a typed support agent with Pydantic AI 2.71, step by step](/articles/pydantic-ai-typed-agent-tests-tutorial)

23 November · Agent tutorials

Build a typed order-support agent with Pydantic AI 2.71: dependencies, tools, retries, structured output, usage limits and pytest tests that never call a model.

### [The agent loop step by step: instructions, tool calls, observations, errors and stopping](/articles/agent-loop-step-by-step-trace)

23 November · Agent steps

Follow one AI agent run step by step in 60 lines of Python: tool calls, observations, an unknown-tool error, loop guards and stop rules versus frameworks.

### [Stateless MCP explained: how multi round-trip requests replace sessions and callbacks](/articles/stateless-mcp-multi-round-trip-requests)

23 November · Engineering

How the MCP 2026-07-28 spec drops sessions and the initialize handshake, and how multi round-trip requests, requestState and cache hints work in practice.

### [Star schema, one big table or Data Vault? A measured guide to choosing a data model](/articles/star-schema-one-big-table-vault)

23 November · Data modeling

Kimball star schemas, one big table and Data Vault compared with a 3-million-row test: storage, query speed, change cost, history and when each model fits.

### [Speculative decoding in depth: acceptance maths, draft length and adaptive verification](/articles/speculative-decoding-acceptance-adaptive-verification)

23 November · Engineering

How speculative decoding keeps outputs exact, how acceptance rate and draft length set the speed-up, and why vLLM now sizes verification per request under load.

### [Spark adaptive query execution explained: shuffle partitions, broadcast joins and skew](/articles/spark-adaptive-query-execution-shuffles-skew)

23 November · Apache Spark

How Spark adaptive query execution re-plans at runtime: coalescing shuffle partitions, switching to broadcast joins and splitting skew, measured in PySpark 4.3.

### [Spark Structured Streaming watermarks, windows and output modes, traced batch by batch](/articles/spark-streaming-watermarks-windows-output-modes)

23 November · Stream processing

A batch-by-batch trace of Spark Structured Streaming on PySpark 4.3: tumbling, sliding and session windows, how the watermark moves, late rows and output modes.

### [Snowflake virtual warehouses and credits: sizing, auto-suspend and multi-cluster maths](/articles/snowflake-warehouse-credits-sizing-auto-suspend)

23 November · Snowflake

How Snowflake virtual warehouses turn seconds into credits: size doubling, the 60-second minimum, auto-suspend, multi-cluster scaling and worked cost examples.

### [Slowly changing dimensions done right: SCD Type 2, surrogate keys and point-in-time fact loads](/articles/scd-type-2-surrogate-keys-asof)

23 November · Facts and dimensions

How to build SCD Type 2 dimensions with surrogate keys, load facts against the version valid at the time, and use Spark 4.3 Auto CDC and ASOF joins.

### [Shrinking vector search: Matryoshka embeddings, binary quantisation and rescoring](/articles/matryoshka-embeddings-binary-quantisation-rescoring)

23 November · Engineering

How Matryoshka training and int8 or binary quantisation cut embedding storage by up to 128 times, and how rescoring recovers most of the lost retrieval quality.

### [RAGAS 0.4.4 in practice: faithfulness, tool call metrics and experiments, step by step](/articles/ragas-0-4-4-faithfulness-tool-metrics)

23 November · RAGAS

RAGAS 0.4.4 fixes a broken import and keeps the 0.4 collections API. Learn how faithfulness, ToolCallAccuracy, ToolCallF1 and experiments score agents.

### [Qwen4-Max arrives: Alibaba's new flagship, its prices and how it fits beside open Qwen3.8](/articles/qwen4-max-launch-pricing-open-qwen)

23 November · Qwen

Alibaba launched Qwen4-Max on 16 November 2026 at $1.50 and $4.50 per million tokens with a 1M context. How it compares with Qwen3.8 and how to use each model.

### [Protecting personal data in the warehouse: hashing, keyed tokens, masking and k-anonymity](/articles/pseudonymisation-masking-k-anonymity-measured)

23 November · Data governance

Why hashed emails are not anonymous, how keyed tokens, dynamic masking and row policies work, and how to measure k-anonymity in SQL, with tested numbers.

### [One agent in seven frameworks: CrewAI, Agent Framework, OpenAI, Claude, ADK and more](/articles/one-agent-seven-frameworks-compared)

23 November · Other agent frameworks

One order-status agent built in CrewAI, Microsoft Agent Framework, OpenAI Agents SDK, Claude Agent SDK, Google ADK, LlamaIndex and smolagents, with tested code.

### [NVIDIA Nemotron in late 2026: Ultra, Super, Lightning and Transcribe, and how to choose](/articles/nemotron-family-guide-lightning-ultra-transcribe)

23 November · Nemotron

A guide to NVIDIA's open Nemotron models: sizes, context, licences, hosted prices, maker-reported scores and how hybrid Mamba, MoE and MTP fit together.

### [NVFP4 and MXFP4 explained: how microscaling makes 4-bit floating point work for LLMs](/articles/nvfp4-mxfp4-microscaling-4-bit-formats)

23 November · Engineering

How 4-bit microscaling formats store LLM weights: the E2M1 grid, block scales, why NVFP4 uses blocks of 16 with FP8 scales, and how to choose between them.

### [Multi-head latent attention explained: how MLA shrinks the KV cache and why RoPE needs a detour](/articles/multi-head-latent-attention-kv-cache)

23 November · Concepts

How multi-head latent attention compresses keys and values into one small latent vector, the absorption trick, decoupled RoPE, and FP8 and FP4 latent caches.

### [Multi-agent systems in practice: supervisors, handoffs, swarms and subagents compared](/articles/multi-agent-supervisor-handoffs-subagents)

23 November · Multi-agent systems

How supervisors, handoffs, swarms, routers and subagents work, with runnable LangGraph 1.2 code, counted model calls and token costs to help you pick a pattern.

### [Mistral Large 4 three weeks on: a 1T open-weight model at $0.70 and the full Mistral line-up](/articles/mistral-large-4-open-weights-lineup-guide)

23 November · Mistral

Mistral Large 4 is a 1T-parameter mixture-of-experts model with open weights and 1M context at $0.70 per million input tokens. How it compares with Medium 3.5.

### [Medallion architecture in practice: bronze, silver and gold with quality gates and replay](/articles/medallion-architecture-quality-gates-reprocessing)

23 November · Medallion architecture

Build a bronze, silver and gold pipeline step by step: raw landing, named checks, a quarantine table, a reject-rate quality gate, gold tables and safe replays.

### [LoRA in depth: rank, alpha, rsLoRA scaling, DoRA and smarter initialisation](/articles/lora-rank-alpha-scaling-initialisation)

23 November · Concepts

How LoRA adapters work mathematically, what rank and alpha really control, why rsLoRA changes the scale, and when DoRA or PiSSA initialisation is worth using.

### [Llama in late 2026: what Llama 4 still offers, its licence terms and how to run it](/articles/llama-4-guide-licence-hosting-late-2026)

23 November · Llama

A guide to Meta's Llama models as Meta shifts to Muse: Llama 4 Scout and Maverick specs, maker-reported benchmarks, licence limits, hosted prices and setup.

### [Layered agent guardrails you can run: PII redaction, risk classifiers and human approval](/articles/layered-agent-guardrails-runnable-stack)

23 November · Agent guardrails

Build layered guardrails for an AI agent with LangChain 1.5: redact PII, cap tool calls, block risky commands with a classifier and require human approval.

### [LangSmith SDK 0.16 explained: traceable spans, local-only evaluations and review queues](/articles/langsmith-0-16-tracing-offline-evaluation)

23 November · LangSmith

How LangSmith SDK 0.16 traces agents with @traceable, runs evaluate() locally with the new upload_runs flag, and what the new SQL and review APIs add.

### [LangGraph 1.2 in depth: state, checkpoints, human interrupts, retries and time travel](/articles/langgraph-1-2-checkpoints-interrupts-time-travel)

23 November · LangGraph

A runnable LangGraph 1.2.24 walkthrough: typed state and reducers, conditional edges, InMemorySaver checkpoints, interrupt and resume, retry policies, forks.

### [LangChain 1.5 middleware explained: hooks, limits, tool errors and the new routers](/articles/langchain-1-5-agent-middleware-guide)

23 November · LangChain

How LangChain 1.5 create_agent middleware works step by step: hooks, order, call limits, tool errors, retries and the new beta model router and auto mode.

### [Inside a Parquet file: row groups, pages, encodings, statistics and compression measured](/articles/parquet-row-groups-encodings-statistics)

23 November · Storage

A hands-on tour of Parquet internals: row groups, column chunks, pages, dictionary encoding, min-max statistics and codecs, with measured sizes and bytes read.

### [Idempotent batch jobs: partition overwrites, data intervals and safe backfills](/articles/idempotent-batch-jobs-partition-overwrite-backfills)

23 November · Batch processing

Make batch jobs safe to rerun: static versus dynamic partition overwrite in Spark 4.3, data intervals, high-water marks and Airflow 3.4 backfills, all tested.

### [How semantic layers stop fan-out: measures, entities and join paths, tested with MetricFlow](/articles/semantic-layer-fan-out-metricflow-measures)

23 November · BI tools

Why BI joins double count, and how semantic layers prevent it: measures at their own grain, entity join paths, ratio metrics and symmetric aggregates, tested.

### [How open models reach 1M tokens: Kimi K3, GLM-5.3-Flash and MiniMax-M3 compared](/articles/open-models-million-token-attention-kimi-glm)

23 November · Open models

Kimi K3, GLM-5.3-Flash and MiniMax-M3 offer open weights and 1M-token context with different attention designs. How each works, what it costs, how to pick.

### [How DPO works: deriving the loss, reading the implicit reward and choosing a variant](/articles/dpo-loss-derivation-implicit-reward)

23 November · Concepts

How Direct Preference Optimization works: where the loss comes from, what beta does, how to read DPO metrics, and when IPO, SimPO or robust DPO help.

### [How BPE tokenizers work: training merges, byte-level fallback and choosing vocabulary size](/articles/byte-pair-encoding-tokenizer-internals)

23 November · Concepts

A hands-on guide to byte-pair encoding: how merges are learned, why byte-level BPE handles any text, and how vocabulary size trades memory for length.

### [How Apache Iceberg tables work: metadata files, manifests, snapshots and hidden partitioning](/articles/apache-iceberg-metadata-tree-snapshots)

23 November · Lakehouse

A hands-on tour of an Apache Iceberg table: metadata.json, manifest lists, manifests, snapshots, hidden partitioning, deletes and time travel with PyIceberg.

### [Grok API in late 2026: Grok 4.7, custom guidelines, safety identifiers and long-context prices](/articles/grok-api-guidelines-safety-identifier-lineup)

23 November · Grok

A guide to xAI's Grok API in November 2026: the Grok 4.x line-up, prices above 200K tokens, the guidelines and safety_identifier fields and a gated cyber mode.

### [Gemini 4 Hydrogen, xhigh thinking and google-genai 3: what changed for Gemini API developers](/articles/gemini-4-hydrogen-genai-sdk-v3)

23 November · Gemini

Google's Gemini SDK moved to v1 and httpx2 and added Gemini 4 Hydrogen, an xhigh thinking level and Live Interactions. A guide to line-up, prices and migration.

### [GRPO loss variants explained: advantages, length bias, DAPO, Dr. GRPO and soft clipping](/articles/grpo-loss-normalisation-dapo-dr-grpo)

23 November · Concepts

How GRPO computes group-relative advantages, why its original loss is biased by response length, and how DAPO, Dr. GRPO and SAPO change the maths in practice.

### [GPT Live 1.1, delegation to GPT-6.2 and 8-hour background windows in the OpenAI API](/articles/gpt-live-1-1-delegation-background-windows)

23 November · GPT

OpenAI added gpt-live-1.1, MCP servers for Live sessions and 2-hour and 8-hour background windows. How the voice-to-backend split works and what it costs.

### [Extending context windows with RoPE scaling: position interpolation, NTK, YaRN and Llama 3](/articles/rope-scaling-yarn-context-extension)

23 November · Concepts

How rotary position embeddings encode position, why models fail past their training length, and how linear, NTK, YaRN and Llama 3 scaling stretch context.

### [Delta Lake's transaction log explained: commits, checkpoints, deletion vectors and VACUUM](/articles/delta-lake-transaction-log-explained)

23 November · Delta Lake

How Delta Lake turns Parquet files into an ACID table: _delta_log JSON commits, add and remove actions, checkpoints, time travel, deletion vectors and VACUUM.

### [DeepSeek in late 2026: V4 Pro, V4.1 Flash, sparse attention kernels and off-peak pricing](/articles/deepseek-v4-guide-sparse-attention-pricing)

23 November · DeepSeek

A guide to DeepSeek V4 Pro and V4.1 Flash: API prices with off-peak discounts, 1M context, DeepSeek Sparse Attention and why FlashMLA dropped Hopper GPUs.

### [DeepEval 4.3 agent metrics in depth: tool checks, permission gates, loop detection, G-Eval](/articles/deepeval-4-3-agent-metrics-offline)

23 November · DeepEval

How DeepEval 4.3.4 scores AI agents: ToolCorrectness, ToolPermission and AgentLoopDetection formulas, G-Eval with an offline judge, and how to build CI gates.

### [ClickHouse MergeTree explained: parts, granules, the sparse primary key and skip indexes](/articles/clickhouse-mergetree-primary-key-granules)

23 November · Other warehouses

How ClickHouse MergeTree stores data in parts and 8,192-row granules, how the sparse primary key prunes reads, and when skip indexes or projections help.

### [Claude Fable 5.2 and Mythos 5.2 two weeks on: the Claude line-up, prices and API changes](/articles/claude-fable-5-2-lineup-prices-api)

23 November · Claude

A practical guide to the November 2026 Claude line-up: Fable 5.2, Mythos 5.2, Opus, Sonnet and Haiku 5.5, their prices, 1M context and recent SDK changes.

### [Change data capture with Debezium and Kafka Connect, applied safely with MERGE](/articles/cdc-debezium-kafka-connect-merge)

23 November · Data ingestion

How log-based change data capture works with Debezium and Kafka Connect, what a change event contains, and how to apply events idempotently with MERGE.

### [Building MCP tools with Python SDK 2.3: typed tools, safe errors and the 2026-07-28 protocol](/articles/mcp-python-sdk-v2-server-tutorial)

23 November · Tools and MCP

A runnable MCP Python SDK 2.3 walkthrough: MCPServer tools with typed output, ToolError versus crashes, resources, in-process clients and protocol discovery.

### [An agentic workflow end to end: build, guard, trace, evaluate and deploy a refund agent](/articles/refund-agent-end-to-end-ci-gate)

23 November · End-to-end workflows

Build a refund agent with LangChain 1.5, guard it with approvals and limits, trace it in Langfuse, gate releases with DeepEval and RAGAS, deploy with LangGraph.

### [Amazon Bedrock adds projects and Trusted Access Programs: what changes, plus the Nova line-up](/articles/bedrock-projects-trusted-access-nova-lineup)

23 November · Bedrock

Bedrock now scopes model calls to projects, adds Trusted Access Programs and retention settings, and AgentCore agents can pay via AWS Billing. Plus Nova prices.

### [Agent trends this week: pass^k in ADK, OpenAI SDK session tools, Phoenix 22 cost tracking](/articles/agent-frameworks-week-reliability-sessions-caching)

23 November · Agent trends

What changed in agent frameworks from 16 to 22 November 2026: ADK 2.15 reliability metrics and sandboxes, OpenAI Agents SDK 0.25, Phoenix 22 cost tracking.

### [Agent observability in practice: Langfuse 5, OpenTelemetry GenAI spans, cost and latency](/articles/agent-observability-langfuse-opentelemetry-cost)

23 November · Agent observability

Trace AI agents with Langfuse 5.2, OpenTelemetry GenAI spans and Phoenix, then turn spans into p95 latency and cost per run. Runnable offline code and numbers.

### [Agent memory explained: threads, long-term stores, trimming and summaries in LangGraph 1.2](/articles/agent-memory-threads-stores-context-engineering)

23 November · Agent memory

How agents remember: thread checkpoints for short-term memory, namespaced stores for long-term facts, and trimming or summaries for small context. With code.

### [Agent evaluation step by step: trajectory matching, LLM judges, pass^k and benchmark maths](/articles/agent-evaluation-trajectories-judges-benchmarks)

23 November · Agent evaluation

How to evaluate AI agents: trajectory match modes, LLM judges with agreement checks, pass@k versus pass^k, confidence intervals and what tau-bench 2.0 changed.

## More weeks

[← Week 47, 2026](/weekly/2026-w47) · [All weeks](/weekly)
