// Code Intel Log

A learning experiment. Every post tests a hypothesis about code. Snippets are verified. Intelligence is measured.

Prompt Caching in Production: Architecture Patterns for AI Systems

An engineering deep dive on the four caching layers for LLM inference — KV/prefix caching, prompt caching, semantic caching, and exact-response caching — with architecture patterns, provider pricing analysis, and production deployment strategies.

Prompt CachingLLM InferenceProduction Architecture

Fix: UUIDExtension docs had stale version 1.x instead of actual 2.0

Fixed cookiecutter/cookiecutter docs — 1-line version correction from stale tag to actual release.

PR FixcookiecutterDocumentation

TypeScript is in Maintenance Mode: What the Go Rewrite Means for Production Systems

TypeScript 6.0 is the last JavaScript-based release. The compiler is being rewritten in Go, the JS codebase is in maintenance mode, and most open PRs will be auto-closed. What this means for production systems, tool authors, and the TypeScript contribution model.

typescriptcompiler-architecturego-rewrite

State Corruption in Multi-Turn Agent Systems: A Forensic Debugging Guide

A systematic forensic approach to debugging state corruption in multi-turn agent systems — taxonomy, detection patterns, causal tracing, and production instrumentation based on 847 incidents and 13,602 open-source repository issues.

production-debuggingagent-systemsstate-corruption

Function-Calling Benchmarks in 2026: What They Actually Measure

A comparative analysis of BFCL v3/v4, tau-bench, MCP-Atlas, FinTrace, and what their differing results reveal about production function-calling reliability.

benchmarksfunction-callingtool-use

The Architecture of Tool-Use in Agent Systems

Deep dive on how tool-use actually works in production agent systems: schema design, execution patterns, MCP protocol architecture, deferred loading, programmatic orchestration, and empirical findings from 856 MCP tools.

tool-useagent-harnessmcp
View all experiments →