Working Notes on Agent Systems/Brad Zhang

@teach_fireworks / X longform

Based on the recommendation of the boss, I combed through a list of high-quality AI Engineer learning materials, which is worth collecting and learning!

Based on the recommendation of the boss, I combed through a list of high-quality AI Engineer learning materials, which is worth collecting and learning! Too dry, too...

May 11, 2026 Β· 3 min read

Based on the recommendation of the boss, I combed through a list of high-quality AI Engineer learning materials, which is worth collecting and learning!
Figure 1 / source image

Based on the recommendation of the boss, I combed through a list of high-quality AI Engineer learning materials, which is worth collecting and learning! Too dry, too dry! πŸ₯³πŸ₯³πŸ₯³ A total of 11 parts are too long to put down, and the remaining 6 parts are placed in the comment area.

  • Harness engineering, not just prompt engineering article | Martin Fowler: Harness Engineering for Coding Agent Users β€” Understanding "agent = model + harness", that is, context assembly outside the model, tool interface, status, execution loop, error handling, evaluation and observation layer. Link: Article | Anthropic: Building Effective AI Agents β€” Learn engineering principles such as agentic workflow, tool use, agent-computer interface, transparent planning, and simplified design. Link: Article | OpenAI: U nrolling the Codex Agent Loop β€” See how real coding agent harness organizes models, tools, prompts, performs loops, and performance design. Link: YouTube | How We Build Effective Agents: Barry Zhang, Anthropic β€” Video supplement to the Anthropic agent architecture article. Link:
  • Prompt caching vs. semantic caching tradeoffs Official Documentation | OpenAI Prompt Caching β€” Learn the provider-side mechanism of prompt caching, applicable conditions, and cached token statistics. Link: Official Documentation | Anthropic Prompt Caching β€” Learn the difference between automatic caching and explicit cache breakpoints. Link: Article | Redis: Prompt caching vs semantic caching β€” Build tradeoff: prompt caching for multiplexing fixed long contexts; semantic caching for multiplexing β€œsemantically similar” question answers; production system Often the two are combined. Link: PDF | GPTCache: An Open-Source Semantic Cache for LLM Applications β€” Thesis-level implementation of learning semantic cache: embedding, similarity search, cache hit, error hit risk, cost/delay benefit. Link:
  • KV cache management at scale PDF | vLLM/PagedAttention: Efficient Memory Management for LLM Serving β€” Core paper, focusing on how PagedAttention divides KV cache into blocks to reduce debris and improve serving throughput. Link: Documentation | vLLM Automatic Prefix Caching Implementation β€” See Engineering Implementation: KV cache is divided into KV blocks and allows discontinuous physical memory storage. Link: PDF | LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inference β€” Interdisciplinary Request, KV cache multiplexing across engines, offloading, prefill-decode disaggregation. Link: YouTube | Fast LLM Serving with vLLM and PagedAttention β€” Understand the intuition of vLLM serving, KV cache, PagedAttention with the paper. Link:
  • Speculative decoding vs. quantization PDF | Fast Inference from Transformers via Speculative Decoding β€” speculative decoding A classic paper that understands the mechanism of parallel validation of the draft model by first guessing the token and the target model. Link: PDF | QLoRA: Efficient Finetuning of Quantized LLMs β€” Understanding quantization fundamentals: 4-bit quantized model, LoRA adapter, NF4, double quantization, paged optimizer. Link: PDF | QSPEC: Speculative Decoding with Complementary Quantization Schemes β€” Specializing in speculative research how decoding is combined with quantization. Link: Article | Google Cloud: Five techniques to reach the efficient frontier of LLM inference β€” See continuous batching, paged attention, routing, speculative decoding, quantization in an inference optimization framework. Link: Getting Started Video for YouTube | Faster LLMs: Accelerate Inference with Speculative Decoding β€” speculative decoding. Link:
  • Structured output failures & fallback chains Official Document | OpenAI Structured Outputs β€” Learn the basic abilities and limitations of JSON Schema, strict schema, and structured response. Link: Article | OpenAI: Introducing Structured Outputs in the API β€” Understand the difference between JSON mode and Structured Outputs: JSON mode is not equal to schema must be correct. Link: Document | Instructor: Structured LLM Outputs + Validation/Reasking β€” Automatic retry after learning Pydantic schema and validation failure/ the mode of re-ask. Link: Document | Pydantic AI Output Validation β€” Why do I need to apply layer validation and retry budget in addition to the native structured output of the mathematical model. Link: Document | Guardrails AI β€” Learn how to handle raw output, validated output, validation success/failure as system state. Link: YouTube | Validate & Standardize LLM Output with Guardrails-AI β€” Output Validation and Standardization Hands-on Video. Link:

Visual summary

Article argument map

Generated from the post's content graph

FORMATTOPICCAPABILITYMARKETcoverscoverscoverscoverscoverssignalssignalssignalsFORMATarticle featureTOPICagentsTOPICharness engineeringTOPICtechnical distributionTOPICmemoryTOPICinferenceCAPABILITYagent workflowCAPABILITYharness engineeringCAPABILITYevaluationCAPABILITYtechnical writing
Mermaid outline
flowchart LR
  format-article["article feature"]
  topic-agents["agents"]
  topic-harness-engineering["harness engineering"]
  topic-technical-distribution["technical distribution"]
  topic-memory["memory"]
  topic-inference["inference"]
  capability-agent-workflow["agent workflow"]
  capability-harness-engineering["harness engineering"]
  capability-evaluation["evaluation"]
  capability-technical-writing["technical writing"]
  format-article -->|covers| topic-agents
  format-article -->|covers| topic-harness-engineering
  format-article -->|covers| topic-technical-distribution
  format-article -->|covers| topic-memory
  format-article -->|covers| topic-inference
  format-article -->|signals| capability-agent-workflow
  format-article -->|signals| capability-harness-engineering
  format-article -->|signals| capability-evaluation

Visual structure

Essay structure map

Built from summary and key paragraph positions

Based on the recommendation of the boss, I combed through a list of high-quality AI E...THESISBased on therecommendation of theboss, I combed througha list of high-qualitySIGNALBased on therecommendation of theboss, I combed througha list of high-qualityOPERATOR3. KV cache managementat scale PDF |vLLM/PagedAttention:Efficient MemoryIMPLICATION5. Structured outputfailures & fallbackchains OfficialDocument | OpenAI
Mermaid outline
flowchart LR
  thesis["Based on the recommendation of the boss, I combed through a list of high-quality AI Engineer learning mater..."]
  signal["Based on the recommendation of the boss, I combed through a list of high-quality AI Engineer learning mater..."]
  operator["3. KV cache management at scale PDF | vLLM/PagedAttention: Efficient Memory Management for LLM Serving β€” Co..."]
  implication["5. Structured output failures & fallback chains Official Document | OpenAI Structured Outputs β€” Learn the b..."]
  thesis -->|frames| signal
  signal -->|develops| operator
  operator -->|lands in| implication

Source: View the original post