Readings
The 199 works the chapters and the course may cite. Each was confirmed to exist before it was listed: 161 against a page for the work itself, and 38, mostly older papers that publishers keep behind a barrier, against their bibliographic records. A chapter cannot cite a work that is not on this page. Works marked core are the ones units assign; under each is where it is cited.
Agents, tools, memory and interfaces
- Erik S., Barry Zhang (Anthropic) (2024). Building effective agents. Anthropic Engineering blog (published December 19, 2024). core
Distinguishes fixed workflows from agents and describes patterns such as prompt chaining, routing, parallelization, orchestrator-workers and evaluator-optimizer. It recommends using the simplest structure that works and is the baseline practitioner reference for the course.
Cited in Chapter 1, Chapter 24.
- Anthropic (2024). Introducing Contextual Retrieval. Anthropic news.
Describes a retrieval preprocessing method that prepends chunk-specific context before embedding and indexing. Relevant to indexing personal documents where isolated chunks lose meaning.
- Anthropic (2024). Introducing computer use, a new Claude 3.5 Sonnet, and Claude 3.5 Haiku. Anthropic news (October 22, 2024).
Announces a public-beta API in which a model views screenshots and issues cursor and keyboard actions, with an OSWorld result and a statement that the capability is error-prone. A primary source for the vendor computer-use interface.
Cited in Chapter 14.
- Prithvi Rajasekaran, Ethan Dixon, Carly Ryan, Jeremy Hadfield, et al. (Anthropic Applied AI team) (2025). Effective context engineering for AI agents. Anthropic Engineering blog. core
Practitioner account of managing what goes into the context window across long-running agent tasks, including just-in-time retrieval, compaction and sub-agents. Assigned as a current statement of context management practice from a model maker.
Cited in Chapter 2, Chapter 5, Chapter 19, Chapter 20, Chapter 22.
- Jeremy Hadfield, Barry Zhang, Kenneth Lien, Florian Scholz, Jeremy Fox, Daniel Ford (2025). How we built our multi-agent research system. Anthropic Engineering blog (published June 13, 2025). core
Engineering account of an orchestrator with parallel sub-agents for research tasks, including prompting, evaluation and reliability lessons. It gives concrete evidence on when sub-agent designs help and what they cost.
- Ken Aizawa et al. (Anthropic) (2025). Writing effective tools for agents — with agents. Anthropic Engineering blog (published September 11, 2025). core
Guidance on designing, describing and evaluating tools so that agents use them correctly, including how tool outputs consume context. Directly applicable to designing mail, calendar and CRM tools.
Cited in Chapter 11, Chapter 12, Building personal agents: a graduate course.
- Bin Wu et al. (Anthropic) (2025). Introducing advanced tool use on the Claude Developer Platform. Anthropic Engineering blog (published November 24, 2025). core
Describes a tool search tool that discovers tools on demand instead of loading all definitions, plus programmatic tool calling and tool-use examples. It addresses context cost when an agent has many tools.
Cited in Chapter 12, Chapter 20.
- Anthropic (2026). Computer use tool (Claude API documentation). Anthropic platform documentation (page as fetched in November 2026).
Documents the screenshot-mouse-keyboard agent loop, batching, screenshot scaling, and security guidance such as using a sandboxed VM, allowlisting domains, human confirmation of consequential actions, and prompt-injection risk from web content. Documentation changes over time; cite the access date.
Cited in Chapter 14.
- Akari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil, Hannaneh Hajishirzi (2023). Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection. arXiv:2310.11511.
Trains a model to decide when to retrieve and to critique its own retrieved passages and outputs using reflection tokens. It shows adaptive retrieval as an alternative to always retrieving a fixed number of passages.
- Richard C. Atkinson, Richard M. Shiffrin (1968). Human Memory: A Proposed System and Its Control Processes. In K. W. Spence and J. T. Spence (eds.), The Psychology of Learning and Motivation, vol. 2, Academic Press, pp. 89-195 (confirmed via the 2016 Cambridge University Press reprint listing).
The multi-store model of sensory registers, short-term store and long-term store with control processes. It is the source of the working-memory versus long-term-memory split that agent memory designs borrow.
Cited in Chapter 5.
- Lukas Blecher, Guillem Cucurull, Thomas Scialom, Robert Stojnic (2023). Nougat: Neural Optical Understanding for Academic Documents. arXiv:2308.13418.
A visual transformer that converts page images of documents, including math and tables, to markup text. An example of model-based PDF-to-text conversion in place of classical OCR.
Cited in Chapter 15.
- Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, Deshraj Yadav (2025). Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory. arXiv:2504.19413.
Presents a memory layer that extracts, consolidates and retrieves facts from conversations, with evaluation on a long-conversation benchmark. The authors are the system's developers, so results should be read as vendor-reported.
- Xiang Deng, Yu Gu, Boyuan Zheng, Shijie Chen, Samuel Stevens, Boshi Wang, Huan Sun, Yu Su (2023). Mind2Web: Towards a Generalist Agent for the Web. arXiv:2306.06070 (NeurIPS 2023 Spotlight per arXiv comments). core
A dataset of tasks over many real websites with recorded action sequences, used to study generalization to unseen sites and domains. It frames how HTML is pruned and ranked for an LLM.
Cited in Chapter 14.
- Manuel Faysse, Hugues Sibille, Tony Wu, Bilel Omrani, Gautier Viaud, Céline Hudelot, Pierre Colombo (2024). ColPali: Efficient Document Retrieval with Vision Language Models. ICLR 2025 (arXiv:2407.01449).
Retrieves documents by embedding page images with a vision-language model instead of extracting text first, and introduces a benchmark for visually rich document retrieval. Relevant to indexing scanned and layout-heavy personal files.
Cited in Chapter 15.
- Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yi Dai, Jiawei Sun, Meng Wang, Haofen Wang (2023). Retrieval-Augmented Generation for Large Language Models: A Survey. arXiv:2312.10997.
Surveys naive, advanced and modular RAG pipelines, covering retrieval, generation and augmentation techniques and evaluation. Useful as a map of design choices for a personal-data retrieval layer.
- Sirui Hong, Mingchen Zhuge, Jiaqi Chen, Xiawu Zheng, Yuheng Cheng, Ceyao Zhang, et al. (2023). MetaGPT: Meta Programming for A Multi-Agent Collaborative Framework. arXiv:2308.00352.
Assigns role-specific agents standardized operating procedures and structured intermediate outputs for software tasks. Illustrates role-based decomposition in multi-agent systems.
- Eric Horvitz (1999). Principles of Mixed-Initiative User Interfaces. Proceedings of CHI '99, ACM, pp. 159-166. core
Sets out principles for combining automated services with direct user control, using the Lookout meeting-scheduling system as an example, including reasoning about the costs and benefits of acting. It is the foundational reference for proactive assistants that decide when to act or ask.
Cited in Chapter 1, Chapter 6, Chapter 8, Chapter 11, Building personal agents: a graduate course.
- Yupan Huang, Tengchao Lv, Lei Cui, Yutong Lu, Furu Wei (2022). LayoutLMv3: Pre-training for Document AI with Unified Text and Image Masking. ACM Multimedia 2022 (arXiv:2204.08387).
Pre-trains a model jointly on text, layout and image patches for document tasks, using OCR-derived words as input. Representative of the OCR-plus-layout approach that contrasts with OCR-free models.
Cited in Chapter 15, Chapter 22.
- Geewook Kim, Teakgyu Hong, Moonbin Yim, Jeongyeon Nam, Jinyoung Park, Jinyeong Yim, et al. (2021). OCR-free Document Understanding Transformer. ECCV 2022 (arXiv:2111.15664).
An end-to-end model that reads document images and outputs structured text without a separate OCR stage. It frames the OCR-pipeline versus vision-language-model choice for invoices, receipts and attachments.
Cited in Chapter 15, Chapter 22.
- Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, Douwe Kiela (2020). Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. NeurIPS 2020 (arXiv:2005.11401). core
Introduces retrieval-augmented generation, combining a parametric generator with a non-parametric retrieved document index. It underlies approaches to grounding an agent in a user's mail, files and notes.
- Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, Percy Liang (2023). Lost in the Middle: How Language Models Use Long Contexts. Transactions of the Association for Computational Linguistics (arXiv:2307.03172). core
Finds that model accuracy on retrieval-style tasks depends on where relevant information sits in a long context, and is often lower for information in the middle. It is evidence for ordering and trimming what an agent places in context.
Cited in Chapter 2, Chapter 5, Chapter 12, Chapter 19, Chapter 20, Chapter 22.
- Model Context Protocol project (2025). Model Context Protocol Specification (version 2025-06-18). modelcontextprotocol.io. core
The protocol specification for connecting LLM applications to tools, resources and prompts over JSON-RPC, with client features such as sampling and elicitation and stated consent and security principles. It is the primary source on the tool-interface standard.
Cited in Chapter 13, Building personal agents: a graduate course.
- Model Context Protocol project (2025). Model Context Protocol Specification: Tools (2025-06-18). modelcontextprotocol.io. core
Specifies tool listing, calling, input and output schemas, annotations, error handling and the human-in-the-loop and security requirements. Read alongside tool-design guidance when defining agent tools.
Cited in Chapter 2, Chapter 11, Chapter 12.
- Grégoire Mialon, Roberto Dessì, Maria Lomeli, Christoforos Nalmpantis, Ram Pasunuru, Roberta Raileanu, et al. (2023). Augmented Language Models: a Survey. arXiv:2302.07842.
Surveys language models augmented with reasoning skills and the ability to use tools. A broad entry point to the literature before ReAct-style agents.
- Grégoire Mialon, Clémentine Fourrier, Craig Swift, Thomas Wolf, Yann LeCun, Thomas Scialom (2023). GAIA: a benchmark for General AI Assistants. arXiv:2311.12983. core
A set of real-world questions that need tool use, browsing and multimodal reasoning, easy for humans but hard for tool-augmented models. A reference for evaluating general assistants.
- OpenAI (2022). Introducing Whisper. OpenAI blog (September 21, 2022).
Announcement of the open-source Whisper speech recognition system with its training data scale and supported tasks. The page itself notes it is an older post and points to current OpenAI audio models.
- OpenAI (2025). Function calling (also known as tool calling). OpenAI API documentation.
Documents the tool-calling flow: send tool definitions, receive a tool call, run it in application code, return the output and receive a final answer or further calls. A vendor reference for the loop in practice.
Cited in Chapter 2.
- OpenAI (2025). A Practical Guide to Building AI Agents. OpenAI (business guide).
Covers when to build an agent, design of models, tools and instructions, orchestration from single-agent loops to multi-agent setups, and layered guardrails including human intervention for high-risk actions. Page opened is the web version, dated January 15, 2026 on the page; the original PDF appeared in April 2025 per a secondary source.
- Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G. Patil, Ion Stoica, Joseph E. Gonzalez (2023). MemGPT: Towards LLMs as Operating Systems. arXiv:2310.08560. core
Manages a hierarchy of memory tiers by letting the model move information between in-context and external storage through function calls. It is a concrete design for long-term memory in assistants that run over long periods.
Cited in Chapter 2, Chapter 5, Chapter 20, Building personal agents: a graduate course.
- Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, Michael S. Bernstein (2023). Generative Agents: Interactive Simulacra of Human Behavior. arXiv:2304.03442. core
Describes an architecture with a memory stream, retrieval scored by recency, importance and relevance, reflection, and planning, evaluated in a simulated town. Its retrieval-and-reflection design is widely reused for agent memory.
Cited in Chapter 5.
- Shishir G. Patil, Tianjun Zhang, Xin Wang, Joseph E. Gonzalez (2023). Gorilla: Large Language Model Connected with Massive APIs. arXiv:2305.15334.
Fine-tunes a model to write API calls from a large set of documented APIs using retrieval over documentation. Relevant to selecting among many tools and avoiding invalid calls.
Cited in Chapter 12.
- Yujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu, Lan Yan, Yaxi Lu, Yankai Lin, Xin Cong, et al. (2023). ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs. arXiv:2307.16789.
Builds a dataset and evaluation over more than 16,000 real REST APIs, with an API retriever to choose tools for an instruction. It is early work on tool retrieval from large tool sets.
Cited in Chapter 12.
- Yujia Qin, Yining Ye, Junjie Fang, Haoming Wang, Shihao Liang, Shizuo Tian, et al. (2025). UI-TARS: Pioneering Automated GUI Interaction with Native Agents. arXiv:2501.12326.
Presents a model trained end-to-end to perceive screenshots and act on GUIs, as opposed to an agent assembled from prompted general models. Representative of the native GUI-agent approach.
- Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine McLeavey, Ilya Sutskever (2022). Robust Speech Recognition via Large-Scale Weak Supervision. arXiv:2212.04356. core
Trains a speech recognition model on 680,000 hours of weakly supervised multilingual audio and reports robust zero-shot transcription across datasets. It is the reference for voice input to personal assistants.
Cited in Chapter 15.
- Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Luke Zettlemoyer, Nicola Cancedda, Thomas Scialom (2023). Toolformer: Language Models Can Teach Themselves to Use Tools. arXiv:2302.04761.
Trains a language model to decide when and how to call external APIs using self-generated training data. It frames tool use as a learned capability and motivates the function-calling interfaces used today.
Cited in Chapter 2, Chapter 24.
- Noah Shinn, Federico Cassano, Edward Berman, Ashwin Gopinath, Karthik Narasimhan, Shunyu Yao (2023). Reflexion: Language Agents with Verbal Reinforcement Learning. arXiv:2303.11366. core
Agents store verbal self-critiques of failed attempts in an episodic memory buffer and use them on later trials, improving task success without weight updates. It is the standard reference for reflection-based learning from feedback.
- Theodore R. Sumers, Shunyu Yao, Karthik Narasimhan, Thomas L. Griffiths (2023). Cognitive Architectures for Language Agents. Transactions on Machine Learning Research (arXiv:2309.02427). core
Proposes the CoALA framework, organizing language agents by memory modules, action space and decision procedure, and links them to classic cognitive architectures. It gives a vocabulary for describing and comparing the design of a personal agent.
Cited in Chapter 1, Chapter 24, Building personal agents: a graduate course.
- Lei Wang, Chen Ma, Xueyang Feng, Zeyu Zhang, Hao Yang, Jingsen Zhang, et al. (2023). A Survey on Large Language Model based Autonomous Agents. arXiv:2308.11432.
Surveys LLM agents by profile, memory, planning and action modules, plus applications and evaluation. Gives a structured overview of the field.
- Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, Anima Anandkumar (2023). Voyager: An Open-Ended Embodied Agent with Large Language Models. arXiv:2305.16291.
An agent in Minecraft that accumulates a library of executable skills it writes and reuses, with iterative prompting from execution feedback. It is an example of procedural memory stored as code.
Cited in Chapter 24.
- Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc Le, Denny Zhou (2022). Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. arXiv:2201.11903.
Shows that giving worked intermediate reasoning steps in the prompt improves performance on arithmetic, commonsense and symbolic tasks in large models. It is the basis for the reasoning component of later agent loops.
Cited in Chapter 24.
- Lilian Weng (2023). LLM Powered Autonomous Agents. Lil'Log blog (June 23, 2023).
An overview essay by a practitioner covering planning, memory and tool use components of LLM agents with references to the primary papers. Useful as an orientation reading.
- Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, et al. (2023). AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation. arXiv:2308.08155.
A framework in which multiple conversable agents, tools and humans exchange messages to complete tasks. Representative of conversation-based multi-agent orchestration.
- Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, et al. (2024). OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments. arXiv:2404.07972. core
A benchmark of open-ended tasks executed in real operating systems and applications with execution-based scoring. It measures how far screenshot-based agents are from human performance on desktop work.
Cited in Chapter 14.
- Walden Yan (Cognition) (2025). Don't Build Multi-Agents. Cognition blog (2025-06-12).
Argues from the practitioner side that sub-agents can act on inconsistent context, and discusses sharing full traces. Assigned as a counterpoint to multi-agent designs.
- Jianwei Yang, Hao Zhang, Feng Li, Xueyan Zou, Chunyuan Li, Jianfeng Gao (2023). Set-of-Mark Prompting Unleashes Extraordinary Visual Grounding in GPT-4V. arXiv:2310.11441.
Overlays numbered marks on image regions so a multimodal model can refer to them, improving visual grounding. The technique is used to let screenshot agents name which element to click.
- John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, Ofir Press (2024). SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. arXiv:2405.15793. core
Shows that the design of the interface between model and computer (commands, feedback format, guardrails) changes agent performance on software tasks. It is the main evidence for treating tool-interface design as a first-class problem.
Cited in Chapter 2, Chapter 11, Chapter 12.
- Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, Yuan Cao (2023). ReAct: Synergizing Reasoning and Acting in Language Models. arXiv:2210.03629 (ICLR camera-ready per arXiv comments). core
Interleaves reasoning traces with actions that query external sources, and reports gains over reasoning-only and acting-only baselines on HotpotQA, FEVER, ALFWorld and WebShop. It is the template for the observe-think-act loop that most tool-using agents implement.
Cited in Chapter 2, Building personal agents: a graduate course.
- Shunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran, Thomas L. Griffiths, Yuan Cao, Karthik Narasimhan (2023). Tree of Thoughts: Deliberate Problem Solving with Large Language Models. NeurIPS 2023 (arXiv:2305.10601).
Generalizes chain-of-thought to a search over branching reasoning steps with self-evaluation and backtracking. It illustrates deliberate planning with lookahead as opposed to a single left-to-right pass.
- Shunyu Yao, Noah Shinn, Pedram Razavi, Karthik Narasimhan (2024). τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains. arXiv:2406.12045. core
Benchmarks agents that converse with a simulated user while calling domain tools under policy rules, and measures consistency over repeated trials. It tests the setting closest to an assistant acting for a person.
Cited in Chapter 1, Chapter 17, Chapter 25, Building personal agents: a graduate course.
- Boyuan Zheng, Boyu Gou, Jihyung Kil, Huan Sun, Yu Su (2024). GPT-4V(ision) is a Generalist Web Agent, if Grounded. arXiv:2401.01614.
Evaluates a multimodal model as a web agent and finds that converting its planned action to a concrete page element (grounding) is the main bottleneck. It motivates attention to grounding strategy in screen-driven agents.
Cited in Chapter 14.
- Shuyan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, Graham Neubig (2023). WebArena: A Realistic Web Environment for Building Autonomous Agents. arXiv:2307.13854. core
A self-hostable environment of functional websites and long-horizon web tasks judged on outcome. It showed a large gap between agents and humans and remains the standard benchmark for browser agents.
Cited in Chapter 14, Building personal agents: a graduate course.
Protection, information flow and prompt injection
- Devdatta Akhawe, Adrienne Porter Felt (2013). Alice in Warningland: A Large-Scale Field Study of Browser Security Warning Effectiveness. USENIX Security Symposium.
Uses telemetry on over 25 million warning impressions to show click-through rates vary strongly with warning design, from about a tenth to over two thirds. It shows that approval prompt design, not only presence, determines whether humans act as a control.
Cited in Chapter 8.
- James P. Anderson (1972). Computer Security Technology Planning Study (ESD-TR-73-51). USAF Electronic Systems Division technical report. core
The Anderson report, which introduced the reference monitor concept: a small, always-invoked, tamper-proof, verifiable mediator of every access. It is the classical statement of what a code-level permission gate between model and tools should be.
Cited in Chapter 8.
- Lisanne Bainbridge (1983). Ironies of Automation. Automatica 19(6). core
Argues that automating most of a task leaves the human the hard residue while removing the practice needed to handle it, and that monitoring is a task people do poorly. It predicts why a human approving agent actions degrades over time.
Cited in Chapter 8, Building personal agents: a graduate course.
- D. Elliott Bell, Leonard J. LaPadula (1973). Secure Computer Systems: Mathematical Foundations (MITRE MTR-2547, Vol. I). MITRE Corporation technical report (ESD-TR-73-278).
Gives the Bell-LaPadula confidentiality model (no read up, no write down). It explains why tainting an agent's context with private data should restrict where that context may later be written or sent.
- Luca Beurer-Kellner, Marc Fischer (2025). MCP Security Notification: Tool Poisoning Attacks. Invariant Labs blog. core
Reports that instructions hidden in an MCP tool's description, which the model reads but the user typically does not, can steer an agent into actions the user did not approve. It shows that tool metadata is an untrusted input channel.
Cited in Chapter 13.
- Luca Beurer-Kellner, Beat Buesser, Ana-Maria Cretu, Edoardo Debenedetti, Daniel Dobos, Daniel Fabian, Marc Fischer, David Froelicher, Kathrin Grosse, Daniel Naeff, Ezinwanne Ozoani, Andrew Paverd, Florian Tramer, Vaclav Volhejn (2025). Design Patterns for Securing LLM Agents against Prompt Injections. arXiv:2506.08837. core
Proposes principled design patterns for agents with provable resistance to prompt injection and analyses their utility and security trade-offs through case studies. A practical menu for structuring a personal agent.
Cited in Chapter 8.
- Kenneth J. Biba (1977). Integrity Considerations for Secure Computer Systems (MTR-3153). MITRE Corporation technical report (ESD-TR-76-372).
Defines integrity policies in which low-integrity data must not influence high-integrity objects, the dual of Bell-LaPadula. Prompt injection is an integrity-flow problem: untrusted text steering privileged actions.
- Zhaorun Chen, Zhen Xiang, Chaowei Xiao, Dawn Song, Bo Li (2024). AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases. arXiv:2407.12784. core
Shows that a small number of poisoned entries in an agent's memory or knowledge base can be retrieved on trigger queries and redirect behaviour. It establishes memory stores as an attack surface.
Cited in Chapter 5.
- Manuel Costa, Boris Kopf, Aashish Kolluri, Andrew Paverd, Mark Russinovich, Ahmed Salem, Shruti Tople, Lukas Wutschitz, Santiago Zanella-Beguelin (2025). Securing AI Agents with Information-Flow Control. arXiv:2505.23643. core
Presents Fides, a planner that attaches confidentiality and integrity labels to data and deterministically enforces policy, evaluated on AgentDojo. It connects classical information-flow control to LLM agents.
Cited in Chapter 9.
- Edoardo Debenedetti, Jie Zhang, Mislav Balunovic, Luca Beurer-Kellner, Marc Fischer, Florian Tramer (2024). AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents. arXiv:2406.13352 (NeurIPS 2024 Datasets and Benchmarks). core
A dynamic benchmark of agent tasks over mail, banking, travel and workspace tools with injection attacks and defences. Its task suites resemble personal-agent workloads and are the common yardstick for system-level defences.
- Edoardo Debenedetti, Ilia Shumailov, Tianqi Fan, Jamie Hayes, Nicholas Carlini, Daniel Fabian, Christoph Kern, Chongyang Shi, Andreas Terzis, Florian Tramer (2025). Defeating Prompt Injections by Design. arXiv:2503.18813. core
CaMeL extracts control and data flow from the trusted user request and enforces capability-style policies over values in a custom interpreter. It completes 77 percent of AgentDojo tasks with provable security, against 84 percent undefended, which makes it the central design reference for a permission gate.
Cited in Chapter 8, Chapter 15, Chapter 22, Building personal agents: a graduate course.
- Dorothy E. Denning (1976). A Lattice Model of Secure Information Flow. Communications of the ACM 19(5). core
Models information-flow policy as a lattice of security classes and derives rules for certifying that a program obeys it. It is the basis for label-based flow control such as that used in recent agent defences.
Cited in Chapter 9.
- Jack B. Dennis, Earl C. Van Horn (1966). Programming Semantics for Multiprogrammed Computations. Communications of the ACM 9(3).
Introduces capability-style protection: unforgeable references that name an object and carry the right to use it. It is the origin of the capability model that later agent-security designs revive.
- Shen Dong, Shaochen Xu, Pengfei He, Yige Li, Jiliang Tang, Tianming Liu, Hui Liu, Zhen Xiang (2025). Memory Injection Attacks on LLM Agents via Query-Only Interaction. arXiv:2503.03704.
Shows that memory can be corrupted through query-only interaction, without direct access to the memory store. It argues for provenance and validation on memory writes.
Cited in Chapter 5.
- William Enck, Peter Gilbert, Byung-Gon Chun, Landon P. Cox, Jaeyeon Jung, Patrick McDaniel, Anmol N. Sheth (2010). TaintDroid: An Information-Flow Tracking System for Realtime Privacy Monitoring on Smartphones. USENIX OSDI. core
Shows dynamic taint tracking of sensitive data through third-party apps at the sink where data leaves the device, with modest overhead and a documented weakness to implicit flows. It is a practical precedent for tracking taint from private sources to outbound agent tools.
Cited in Chapter 9.
- GitHub (2026). Validating webhook deliveries. Vendor documentation (docs.github.com).
Describes verifying an HMAC-SHA256 signature header against a shared secret with a constant-time comparison. A second independent reference for the same inbound-authentication pattern.
Cited in Chapter 16.
- Joseph A. Goguen, Jose Meseguer (1982). Security Policies and Security Models. IEEE Symposium on Security and Privacy. core
Introduces noninterference: one group's actions must have no effect on what another group can observe. It is the formal property that dual-LLM and information-flow-control agent designs try to approximate.
Cited in Chapter 9.
- Kai Greshake, Sahar Abdelnabi, Shailesh Mishra, Christoph Endres, Thorsten Holz, Mario Fritz (2023). Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection. arXiv:2302.12173 (ACM AISec 2023). core
Introduces indirect prompt injection, where instructions arrive in retrieved or tool-returned data rather than from the user, and shows it against real LLM-integrated applications. It defines the threat that mail- and file-reading agents face.
Cited in Chapter 1, Chapter 6, Chapter 9, Chapter 14, Chapter 15, Chapter 22, Building personal agents: a graduate course.
- Norm Hardy (1988). The Confused Deputy (or why capabilities might have been invented). ACM SIGOPS Operating Systems Review 22(4). core
Describes a privileged program that is tricked into misusing its own authority on behalf of a caller, and argues that authority should travel with the request as a capability. An LLM agent holding the user's mail and file credentials is a confused deputy by construction.
Cited in Chapter 8, Chapter 10, Chapter 13, Chapter 21, Building personal agents: a graduate course.
- Keegan Hines, Gary Lopez, Matthew Hall, Federico Zarfati, Yonatan Zunger, Emre Kiciman (2024). Defending Against Indirect Prompt Injection Attacks With Spotlighting. arXiv:2403.14720.
Marks untrusted input with delimiters, datamarking or encoding so the model can tell it from instructions. A representative prompt-level mitigation that reduces but does not eliminate attack success.
Cited in Chapter 9, Chapter 22.
- Butler W. Lampson (1971). Protection. 5th Princeton Conf. on Information Sciences and Systems (1971); reprinted ACM Operating Systems Review 8(1), 1974. core
Formalises protection as an access matrix of subjects, objects and rights, from which access-control lists and capability lists are derived as column and row views. Gives students the vocabulary for stating what an agent may do to which resource.
Cited in Chapter 10.
- Butler W. Lampson (1973). A Note on the Confinement Problem. Communications of the ACM 16(10). core
States the problem of keeping a program from leaking information to anyone but its caller and shows leakage through covert and side channels. It frames why an untrusted model reading private data cannot simply be told not to leak it.
Cited in Chapter 9.
- Yupei Liu, Yuqi Jia, Runpeng Geng, Jinyuan Jia, Neil Zhenqiang Gong (2024). Formalizing and Benchmarking Prompt Injection Attacks and Defenses. USENIX Security Symposium.
Gives a formal framework for prompt injection and benchmarks several attacks and defences across models and tasks. It is a reference for how results are measured.
- Narek Maloyan, Dmitry Namiot (2026). Prompt Injection Attacks on Agentic Coding Assistants: A Systematic Analysis of Vulnerabilities in Skills, Tools, and Protocol Ecosystems. arXiv:2601.17548.
A systematisation of injection attacks on agentic assistants organised by delivery vector, modality and propagation. Useful as a recent taxonomy of attack surfaces for tool-using agents.
- Model Context Protocol project (2026). Security Best Practices (MCP specification). modelcontextprotocol.io specification. core
Lists MCP-specific attacks and mitigations: confused-deputy proxies, token passthrough, SSRF during OAuth discovery, local server compromise and scope minimisation. A primary source for securing a tool-protocol client.
Cited in Chapter 10, Chapter 13.
- Meta AI (2025). Agents Rule of Two: A Practical Approach to AI Agent Security. Meta AI blog. core
States that until injection can be reliably detected, an agent session should combine no more than two of: untrusted input, sensitive data or systems, and state change or external communication. It turns the trifecta into a design rule, with human approval as the usual way to drop a property.
Cited in Chapter 6, Chapter 8, Chapter 14.
- Mark S. Miller, Ka-Ping Yee, Jonathan Shapiro (2003). Capability Myths Demolished. Johns Hopkins Systems Research Laboratory report SRL-2003-02.
Rebuts claims that capabilities are equivalent to ACLs, cannot enforce confinement, or cannot be revoked. It supports the capability-style, per-task authority designs used for delegating to agents.
Cited in Chapter 8.
- Andrew C. Myers, Barbara Liskov (2000). Protecting Privacy Using the Decentralized Label Model. ACM Transactions on Software Engineering and Methodology 9(4).
Presents labels that record data owners and permitted readers, with controlled declassification and static checking (Jif). It is a worked model for per-item provenance and reader labels on mail, calendar and CRM data.
- Milad Nasr, Nicholas Carlini, Chawin Sitawarin, Sander V. Schulhoff, Jamie Hayes, Michael Ilie, Juliette Pluto, Shuang Song, Harsh Chaudhari, Ilia Shumailov, Abhradeep Thakurta, Kai Yuanqing Xiao, Andreas Terzis, Florian Tramer (2025). The Attacker Moves Second: Stronger Adaptive Attacks Bypass Defenses Against LLM Jailbreaks and Prompt Injections. arXiv:2510.09023. core
Applies adaptive optimisation and human red-teaming to twelve published defences and bypasses most with success rates above 90 percent, although they reported near-zero attack success in their own evaluations. It is the main evidence for not relying on model-level defences as the only control.
Cited in Chapter 8, Building personal agents: a graduate course.
- OWASP (2021). A10:2021 Server-Side Request Forgery (SSRF), OWASP Top 10:2021. OWASP. core
Describes SSRF, where an application fetches an attacker-chosen URL, and the usual defences: allow-lists, blocking internal ranges and disabling redirects. An agent with a fetch or browse tool needs the same controls.
Cited in Chapter 10, Chapter 13, Chapter 22.
- OWASP GenAI Security Project (2025). OWASP Top 10 for LLM Applications 2025. OWASP. core
Lists ten risks for LLM applications, including prompt injection, sensitive information disclosure, improper output handling, excessive agency and data and model poisoning. A common industry vocabulary for reviewing an agent.
- Raja Parasuraman, Dietrich H. Manzey (2010). Complacency and Bias in Human Use of Automation: An Attentional Integration. Human Factors 52(3). core
Reviews evidence that complacency and automation bias occur in experts and novices and are not removed by practice or simple instruction. It supports designing approvals that do not depend on sustained vigilance.
Cited in Chapter 8.
- Raja Parasuraman, Victor Riley (1997). Humans and Automation: Use, Misuse, Disuse, Abuse. Human Factors 39(2). core
Defines misuse (overreliance), disuse (neglect, often from false alarms) and abuse of automation. It is the standard reference for the two failure modes of agent approval prompts.
Cited in Chapter 8.
- Fabio Perez, Ian Ribeiro (2022). Ignore Previous Prompt: Attack Techniques For Language Models. NeurIPS 2022 ML Safety Workshop (arXiv:2211.09527).
An early systematic study of goal hijacking and prompt leaking against a deployed language model. It records the first public framing of the problem.
- Brandon Radosevich, John Halloran (2025). MCP Safety Audit: LLMs with the Model Context Protocol Allow Major Security Exploits. arXiv:2504.03767.
Demonstrates that MCP-connected models can be induced to carry out several classes of exploit and introduces an auditing tool. An early academic assessment of MCP risk.
Cited in Chapter 13.
- Pavan Reddy, Aditya Sanjay Gujral (2025). EchoLeak: The First Real-World Zero-Click Prompt Injection Exploit in a Production LLM System. AAAI Fall Symposium Series 2025 (arXiv:2509.10540). core
Case study of a zero-click prompt injection against a production LLM system. A realistic incident that exercises the lethal-trifecta conditions.
- Johann Rehberger (wunderwuzzi) (2023). Bing Chat: Data Exfiltration Exploit Explained. Blog post (embracethered.com). core
Documents data leaving a chat client because model-generated markdown images make the client request an external URL with data in the query string. It is the reference case for rendering and link-unfurl channels, and for blocking untrusted URLs in agent output.
- Dick Hardt (ed.) (2012). The OAuth 2.0 Authorization Framework (RFC 6749). IETF RFC. core
Specifies the authorization-code, client-credentials and other grants, access and refresh tokens, and scopes. It is the base protocol for delegating access to a user's mail, calendar and files.
Cited in Chapter 10, Chapter 13.
- Torsten Lodderstedt (ed.), Mark McGloin, Phil Hunt (2013). OAuth 2.0 Threat Model and Security Considerations (RFC 6819). IETF RFC.
A catalogue of threats against OAuth deployments and their countermeasures. It is a reference for threat-modelling an agent that stores long-lived refresh tokens.
Cited in Chapter 10.
- Nat Sakimura (ed.), John Bradley, Naveen Agarwal (2015). Proof Key for Code Exchange by OAuth Public Clients (RFC 7636). IETF RFC. core
Defines PKCE, which binds an authorization code to the client that requested it and so defeats code interception. Relevant to desktop and local agents that cannot keep a client secret.
Cited in Chapter 10.
- Torsten Lodderstedt, John Bradley, Andrey Labunets, Daniel Fett (2025). Best Current Practice for OAuth 2.0 Security (RFC 9700, BCP 240). IETF RFC. core
The current security best practice for OAuth 2.0, updating RFC 6749; it is the checklist to apply to an agent's token handling, including redirect matching, PKCE and token lifetime.
Cited in Chapter 10, Building personal agents: a graduate course.
- Andrei Sabelfeld, Andrew C. Myers (2003). Language-Based Information-Flow Security. IEEE Journal on Selected Areas in Communications 21(1). core
Surveys three decades of work on enforcing noninterference with type systems and program analysis, including implicit flows and covert channels. It is the standard entry point to the information-flow literature that agent-security work builds on.
Cited in Chapter 9.
- Jerome H. Saltzer, Michael D. Schroeder (1975). The Protection of Information in Computer Systems. Proceedings of the IEEE 63(9). core
Sets out the design principles for protection mechanisms, including least privilege, complete mediation, fail-safe defaults, separation of privilege and psychological acceptability. A personal-agent permission gate is a direct application of these principles.
Cited in Chapter 8, Chapter 10, Chapter 12, Building personal agents: a graduate course.
- Jerome H. Saltzer, David P. Reed, David D. Clark (1984). End-to-End Arguments in System Design. ACM Transactions on Computer Systems 2(4). core
Argues that a function can be correctly provided only with knowledge at the endpoints, so lower layers supply it only as an optimisation. For agents it supports enforcing policy at the tool boundary rather than trusting the model to police itself.
Cited in Chapter 2, Chapter 4, Chapter 16, Chapter 19.
- Stripe (2026). Receive Stripe events in your webhook endpoint (signature verification). Vendor documentation (docs.stripe.com).
Documents signed webhooks: an HMAC over timestamp and raw body, constant-time comparison, a replay tolerance window, and duplicate-event handling. It is a worked example of authenticating inbound events that trigger agent actions.
Cited in Chapter 16.
- Joshua Sunshine, Serge Egelman, Hazim Almuhimedi, Neha Atri, Lorrie Faith Cranor (2009). Crying Wolf: An Empirical Study of SSL Warning Effectiveness. USENIX Security Symposium. core
A survey and lab study finding that many users ignore or misunderstand SSL warnings and that redesigned warnings only partly help. It is evidence that frequent, generic confirmation dialogs are routinely clicked through.
Cited in Chapter 8, Chapter 21.
- Eric Wallace, Kai Xiao, Reimar Leike, Lilian Weng, Johannes Heidecke, Alex Beutel (2024). The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions. arXiv:2404.13208.
Trains models to rank system, user and tool-output instructions by privilege. A representative model-level defence, useful as a contrast with enforcement outside the model.
- Zhiqiang Wang, Yichao Gao, Yanting Wang, Suyuan Liu, Haifeng Sun, Haoran Cheng, Guanquan Shi, Haohua Du, Xiangyang Li (2025). MCPTox: A Benchmark for Tool Poisoning Attack on Real-World MCP Servers. arXiv:2508.14925.
A benchmark measuring tool-poisoning success against real MCP servers across many models. It quantifies the risk described in the vendor advisories.
Cited in Chapter 13.
- Peiran Wang, Xinfeng Li, Chong Xiang, Jinghuai Zhang, Ying Li, Lixia Zhang, Xiaofeng Wang, Yuan Tian (2026). The Landscape of Prompt Injection Threats in LLM Agents: From Taxonomy to Analysis. arXiv:2602.10453.
A survey and taxonomy of prompt-injection threats in the agent execution loop with open problems. A reading-list entry for the state of the field.
- Simon Willison (2023). The Dual LLM pattern for building AI assistants that can resist prompt injection. Blog post (simonwillison.net). core
Proposes a privileged model with tools that never sees untrusted text and a quarantined model that reads untrusted text with no tools, joined by ordinary code. It is the origin of the pattern CaMeL later formalised.
Cited in Chapter 9, Chapter 15, Chapter 22.
- Simon Willison (2025). The lethal trifecta for AI agents: private data, untrusted content, and external communication. Blog post (simonwillison.net). core
Observes that an agent with private data, exposure to untrusted content and an outbound channel can be steered into leaking that data. It gives a compact test for whether a personal-agent configuration is exploitable.
Cited in Chapter 8, Chapter 14.
- Yuhao Wu, Franziska Roesner, Tadayoshi Kohno, Ning Zhang, Umar Iqbal (2025). IsolateGPT: An Execution Isolation Architecture for LLM-Based Agentic Systems. NDSS Symposium 2025 (arXiv:2403.04960).
Applies OS-style execution isolation to separate apps in an LLM-based agent system, with mediated cross-app communication. A model for isolating third-party tools from each other.
Cited in Chapter 13.
- Qiusi Zhan, Zhixiang Liang, Zifan Ying, Daniel Kang (2024). InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents. Findings of ACL 2024 (arXiv:2403.02691).
A benchmark of indirect injections in tool-integrated agents, separating attacks that harm the user directly from those that exfiltrate data. It shows base-rate vulnerability of tool-using models.
- Hanrong Zhang, Jingyuan Huang, Kai Mei, Yifei Yao, Zhenting Wang, Chenlu Zhan, Hongwei Wang, Yongfeng Zhang (2025). Agent Security Bench (ASB): Formalizing and Benchmarking Attacks and Defenses in LLM-based Agents. ICLR 2025 (arXiv:2410.02644).
A benchmark covering several attack types, including prompt injection, memory poisoning and tool attacks, across agent scenarios. It extends evaluation beyond injection into persistence attacks.
Evaluation, measurement and improvement
- Lakshya A Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong, Arnav Singhvi, Herumb Shandilya, Michael J Ryan, Meng Jiang, Christopher Potts, Koushik Sen, Alexandros G. Dimakis, Ion Stoica, Dan Klein, Matei Zaharia, Omar Khattab (2025). GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning. ICLR 2026 (arXiv:2507.19457). core
Optimizes prompts by having an LLM reflect on execution traces in natural language and evolving candidates, and reports it can match or beat reinforcement learning with far fewer rollouts. Relevant to improving an agent from its own traces.
- Mikaela Grace, Jeremy Hadfield, Rodrigo Olivares, Jiri De Jonghe (2026). Demystifying evals for AI agents. Anthropic Engineering blog. core
A model maker's guide that defines evals, discusses code-based, model-based and human graders for multi-turn agents, and covers pass@k and pass^k for non-deterministic results. Official practical guidance for building agent evals.
- Anthropic (2026). Define success criteria and build evaluations. Claude Platform documentation. core
Official documentation on defining measurable success criteria and building automated evaluations, including exact-match, similarity and LLM-based grading methods. A baseline for designing an eval set for an application.
- Anthropic (2026). Prompt caching. Claude Platform documentation. core
Documents caching of prompt prefixes via cache_control with 5-minute and 1-hour lifetimes. States cache writes cost 1.25x (5-minute) or 2x (1-hour) of base input price and reads cost 0.1x or less, which drives agent cost and latency design.
Cited in Chapter 2, Chapter 20, Building personal agents: a graduate course.
- Victor Barres, Honghua Dong, Soham Ray, Xujie Si, Karthik Narasimhan (2025). tau2-Bench: Evaluating Conversational Agents in a Dual-Control Environment. arXiv:2506.07982.
Extends tau-bench to settings where both agent and user can act on a shared environment. Relevant for evaluating agents whose user also changes the world state.
Cited in Chapter 18.
- Ali Basiri, Niosha Behnam, Ruud de Rooij, Lorin Hochstein, Luke Kosewski, Justin Reynolds, Casey Rosenthal (2016). Chaos Engineering. IEEE Software 33(3), 35-41 (arXiv:1702.05843). core
Describes chaos engineering as experimenting on a production system to build confidence in its resilience to turbulent conditions. Motivates injecting tool failures and bad inputs into agents.
Cited in Chapter 7, Chapter 18, Chapter 19, Chapter 25.
- Andrew M. Bean, Ryan Othniel Kearns, Angelika Romanou, et al. (2025). Measuring what Matters: Construct Validity in Large Language Model Benchmarks. NeurIPS 2025 Datasets and Benchmarks (arXiv:2511.04703). core
A review of 445 LLM benchmarks against validity criteria that reports recurring weaknesses in what benchmarks measure and how they score it. Provides a checklist for judging whether a benchmark measures what it claims.
Cited in Chapter 3, Chapter 18, Chapter 19, Chapter 23, Chapter 25.
- Yoav Benjamini, Yosef Hochberg (1995). Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. Journal of the Royal Statistical Society: Series B 57(1), 289-300. core
Defines the false discovery rate and a procedure to control it when many hypotheses are tested. Applies when comparing many prompt or model variants on many metrics.
- Stella Biderman, Hailey Schoelkopf, Lintang Sutawika, Leo Gao, Jonathan Tow, et al. (2024). Lessons from the Trenches on Reproducible Evaluation of Language Models. arXiv:2405.14782.
Reports practical sources of irreproducibility in LM evaluation (prompt formatting, implementation differences) from building the LM Evaluation Harness. Useful guidance on documenting and sharing eval setups.
- A. Colin Cameron, Douglas L. Miller (2015). A Practitioner's Guide to Cluster-Robust Inference. Journal of Human Resources 50(2), 317-372.
Explains that default standard errors can badly overstate precision when observations are correlated within clusters, and gives cluster-robust remedies. Relevant when an agent eval has many trials per task or per user.
Cited in Chapter 17.
- Tsong Yueh Chen, Fei-Ching Kuo, Huai Liu, Pak-Lok Poon, Dave Towey, T.H. Tse, Zhi Quan Zhou (2018). Metamorphic Testing: A Review of Challenges and Opportunities. ACM Computing Surveys 51(1), Article 4.
A second review of metamorphic testing covering relation identification, test generation and open problems. Complements the 2016 survey.
Cited in Chapter 18.
- Koen Claessen, John Hughes (2000). QuickCheck: A lightweight tool for random testing of Haskell programs. ICFP 2000, 268-279. core
Introduces stating program properties as functions and testing them on randomly generated inputs. The origin of property-based testing, applicable to agent invariants such as idempotence or no-forbidden-action.
Cited in Chapter 18.
- Thomas G. Dietterich (1998). Approximate Statistical Tests for Comparing Supervised Classification Learning Algorithms. Neural Computation 10(7), 1895-1923.
Compares several tests for whether one learning algorithm beats another and measures their type I error. A classic on why naive comparisons of two systems can mislead.
- Rotem Dror, Gili Baumer, Segev Shlomov, Roi Reichart (2018). The Hitchhiker's Guide to Testing Statistical Significance in Natural Language Processing. Proceedings of ACL 2018 (Long Papers).
Surveys which significance tests suit which NLP evaluation settings and how to choose among them. Gives students a decision guide for comparing two systems.
- Bradley Efron (1979). Bootstrap Methods: Another Look at the Jackknife. The Annals of Statistics 7(1), 1-26. core
Introduces the bootstrap, a resampling method for estimating the sampling variability of a statistic without distributional assumptions. It is the basis for putting confidence intervals on eval scores computed from small task sets. (Verified via PDF whose JSTOR identifier matches this article plus a search record; the PDF text itself was not machine-readable.)
Cited in Chapter 17, Chapter 23.
- Leo Gao, John Schulman, Jacob Hilton (2022). Scaling Laws for Reward Model Overoptimization. ICML 2023 (arXiv:2210.10760).
Measures how optimizing against a learned proxy reward eventually lowers the true reward, in how the gap scales with optimization. A quantitative case of Goodhart's law relevant to optimizing against LLM judges.
- Jepsen (Kyle Kingsbury) (2026). Distributed Systems Safety Research (jepsen.io). Web site and published analyses.
The Jepsen project publishes analyses of distributed databases and maintains an open-source safety testing library. A model of adversarial, fault-injecting testing of systems against stated guarantees.
Cited in Chapter 18, Chapter 19.
- Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, Karthik Narasimhan (2024). SWE-bench: Can Language Models Resolve Real-World GitHub Issues?. ICLR 2024 (arXiv:2310.06770). core
Introduces a benchmark of real GitHub issues in which a model must produce a patch that passes the repository's tests. It is the reference example of execution-based agent evaluation.
- Sayash Kapoor, Benedikt Stroebl, Zachary S. Siegel, Nitya Nadgir, Arvind Narayanan (2024). AI Agents That Matter. arXiv:2407.01502. core
Argues that agent evaluations should report cost alongside accuracy, separate model from downstream evaluation needs, guard against overfitting through holdouts, and fix reproducibility problems. It is the core critique for how to evaluate agents.
Cited in Chapter 1, Chapter 3, Chapter 17, Chapter 20, Chapter 23, Chapter 25, Building personal agents: a graduate course.
- Sayash Kapoor, Benedikt Stroebl, Peter Kirgis, Nitya Nadgir, Zachary S Siegel, Boyi Wei, et al. (2025). Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluation. arXiv:2510.11977.
Describes shared infrastructure for running agent evaluations in a standardized way across benchmarks. Relevant to reproducible, cost-aware agent comparison.
Cited in Chapter 20.
- Omar Khattab, Arnav Singhvi, Paridhi Maheshwari, Zhiyuan Zhang, Keshav Santhanam, Sri Vardhamanan, Saiful Haq, Ashutosh Sharma, Thomas T. Joshi, Hanna Moazam, Heather Miller, Matei Zaharia, Christopher Potts (2023). DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines. arXiv:2310.03714 (ICLR 2024). core
Presents a programming model that expresses LM pipelines as modules and a compiler that optimizes their prompts and demonstrations against a metric. The basis for metric-driven prompt optimization.
- Kyle Kingsbury, Peter Alvaro (2020). Elle: Inferring Isolation Anomalies from Experimental Observations. arXiv:2003.10554 (PVLDB 2020).
Describes a checker that infers isolation anomalies from recorded histories of a system under test. Illustrates separating generation of workloads from checking of recorded traces, a pattern usable on agent logs.
Cited in Chapter 18.
- Ron Kohavi, Roger Longbotham, Dan Sommerfield, Randal M. Henne (2009). Controlled Experiments on the Web: Survey and Practical Guide. Data Mining and Knowledge Discovery 18(1), 140-181. core
Surveys the design, statistics and pitfalls of randomized online controlled experiments from Amazon, Microsoft and others. It is the standard reference for testing a change to an agent on live traffic.
- Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, Shudan Zhang, Xiang Deng, Aohan Zeng, Zhengxiao Du, Chenhui Zhang, Sheng Shen, Tianjun Zhang, Yu Su, Huan Sun, Minlie Huang, Yuxiao Dong, Jie Tang (2023). AgentBench: Evaluating LLMs as Agents. ICLR 2024 (arXiv:2308.03688).
A multi-environment benchmark that tests LLMs as agents across several interactive settings. Shows how to span environment types in one suite.
- Yang Liu, Dan Iter, Yichong Xu, Shuohang Wang, Ruochen Xu, Chenguang Zhu (2023). G-Eval: NLG Evaluation using GPT-4 with Better Human Alignment. arXiv:2303.16634 (EMNLP 2023).
Proposes prompting an LLM with criteria and generated evaluation steps to score text, and compares its correlation with human ratings. A reference design for rubric-based LLM grading.
- David Manheim, Scott Garrabrant (2018). Categorizing Variants of Goodhart's Law. arXiv:1803.04585. core
Distinguishes several distinct ways optimizing a proxy measure can fail to improve the target. Gives vocabulary for how an optimized prompt or agent can overfit its metric.
- Mary L. McHugh (2012). Interrater reliability: the kappa statistic. Biochemia Medica 22(3), 276-282. core
A tutorial on Cohen's kappa as a chance-corrected agreement measure, with interpretation thresholds and criticism of lenient benchmarks. Useful for measuring agreement between human labelers and between an LLM judge and humans.
Cited in Chapter 17.
- Evan Miller (2024). Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations. arXiv:2411.00640. core
Argues that eval results should be reported with standard errors and confidence intervals, and covers clustered errors, paired differences and power analysis for LLM evals. It is the most direct statistics primer for the course's eval work.
Cited in Chapter 3, Chapter 17, Chapter 23, Chapter 25, Building personal agents: a graduate course.
- OpenAI (2026). Evaluation best practices. OpenAI developer documentation.
A model maker's guide that explains why variable generative output needs evals and describes a five-step workflow comparing metric-based, human and LLM-judge evaluators. Notes from a search result (not verified on the opened page) say the OpenAI Evals platform is being deprecated, so check the page before assigning.
- Krista Opsahl-Ong, Michael J Ryan, Josh Purtell, David Broman, Christopher Potts, Matei Zaharia, Omar Khattab (2024). Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs. EMNLP 2024 (arXiv:2406.11695).
Presents MIPRO, which jointly optimizes instructions and few-shot demonstrations across the modules of a multi-stage LM program. Used to discuss search budget and dev-set overfitting.
- Arjun Panickssery, Samuel R. Bowman, Shi Feng (2024). LLM Evaluators Recognize and Favor Their Own Generations. arXiv:2404.13076.
Finds that LLM evaluators can recognize their own outputs and that this recognition correlates with scoring them higher. Argues against using the same model as agent and judge.
- Benjamin Recht, Rebecca Roelofs, Ludwig Schmidt, Vaishaal Shankar (2019). Do ImageNet Classifiers Generalize to ImageNet?. ICML 2019 (arXiv:1902.10811). core
Builds new test sets following the original ImageNet process and finds accuracy drops for existing classifiers, testing for adaptive overfitting to a reused test set. The standard citation for dev-set and test-set reuse risk.
Cited in Chapter 17.
- Marco Tulio Ribeiro, Tongshuang Wu, Carlos Guestrin, Sameer Singh (2020). Beyond Accuracy: Behavioral Testing of NLP models with CheckList. ACL 2020 (arXiv:2005.04118). core
Proposes a task-agnostic methodology organizing tests by capability, with minimum-functionality, invariance and directional tests. A template for behavioral test suites for language-model systems.
Cited in Chapter 18.
- Melanie Sclar, Yejin Choi, Yulia Tsvetkov, Alane Suhr (2023). Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formatting. ICLR 2024 (arXiv:2310.11324).
Measures how meaning-preserving changes to prompt format change measured model performance. Shows that single-prompt eval scores can have large hidden variance.
- Sergio Segura, Gordon Fraser, Ana B. Sanchez, Antonio Ruiz-Cortes (2016). A Survey on Metamorphic Testing. IEEE Transactions on Software Engineering 42(9), 805-824. core
Surveys metamorphic testing, which checks relations between outputs under input transformations when no exact oracle exists. Relevant to testing agents whose correct output cannot be specified exactly.
Cited in Chapter 18.
- Shreya Shankar, J.D. Zamfirescu-Pereira, Bjorn Hartmann, Aditya G. Parameswaran, Ian Arawjo (2024). Who Validates the Validators? Aligning LLM-Assisted Evaluation of LLM Outputs with Human Preferences. arXiv:2404.12272 (UIST 2024). core
A study of how people build and revise LLM-based evaluators, finding that evaluation criteria shift as people see outputs. It argues LLM judges need validation against human labels.
Cited in Chapter 17, Building personal agents: a graduate course.
- Alex Tamkin, Miles McCain, Kunal Handa, Esin Durmus, Liane Lovitt, Ankur Rathi, Saffron Huang, Alfred Mountfield, Jerry Hong, Stuart Ritchie, Michael Stern, Brian Clarke, Landon Goldberg, Theodore R. Sumers, Jared Mueller, William McEachen, Wes Mitchell, Shan Carter, Jack Clark, Jared Kaplan, Deep Ganguli (2024). Clio: Privacy-Preserving Insights into Real-World AI Use. arXiv:2412.13678. core
Describes an automated pipeline that clusters and summarizes real conversations with privacy protections so usage patterns can be studied without reading individual chats. A model for analyzing an agent's own production traces while limiting exposure of personal data.
Cited in Chapter 18.
- Peiyi Wang, Lei Li, Liang Chen, Zefan Cai, Dawei Zhu, Binghuai Lin, Yunbo Cao, Qi Liu, Tianyu Liu, Zhifang Sui (2023). Large Language Models are not Fair Evaluators. arXiv:2305.17926.
Shows that the order in which candidate answers are presented can change an LLM judge's verdict, and proposes calibration strategies. Evidence for randomizing or swapping order when judging.
- You Wang, Michael Pradel, Zhongxin Liu (2025). Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Study. arXiv:2503.15223.
Empirically examines patches that pass SWE-bench's tests to see whether they are actually correct. An example of weak test-based graders inflating scores.
Cited in Chapter 19, Chapter 25.
- Frank F. Xu, Yufan Song, Boxuan Li, Yuxuan Tang, Kritanjali Jain, Mengxue Bao, Zora Z. Wang, Xuhui Zhou, Zhitong Guo, Murong Cao, Mingyang Yang, Hao Yang Lu, Amaad Martin, Zhe Su, Leander Maben, Raj Mehta, Wayne Chi, Lawrence Jang, Yiqing Xie, Shuyan Zhou, Graham Neubig (2024). TheAgentCompany: Benchmarking LLM Agents on Consequential Real World Tasks. arXiv:2412.14161.
Simulates a software company with web, code and chat tools and simulated coworkers, and scores multi-step workplace tasks. It is an example of a benchmark with simulated people in a stateful environment.
- Chengrun Yang, Xuezhi Wang, Yifeng Lu, Hanxiao Liu, Quoc V. Le, Denny Zhou, Xinyun Chen (2023). Large Language Models as Optimizers. ICLR 2024 (arXiv:2309.03409).
Introduces OPRO, which uses an LLM to propose new solutions given a history of earlier solutions and their scores, applied to prompt optimization. An early example of metric-driven prompt search.
- Ori Yoran, Samuel Joseph Amouyal, Chaitanya Malaviya, Ben Bogin, Ofir Press, Jonathan Berant (2024). AssistantBench: Can Web Agents Solve Realistic and Time-Consuming Tasks?. arXiv:2407.15711.
A benchmark of time-consuming information-seeking web tasks on the live web. It illustrates evaluation on a changing environment and low absolute scores for current agents.
Cited in Chapter 14.
- Mert Yuksekgonul, Federico Bianchi, Joseph Boen, Sheng Liu, Zhi Huang, Carlos Guestrin, James Zou (2024). TextGrad: Automatic "Differentiation" via Text. arXiv:2406.07496.
Backpropagates natural-language feedback from an LLM through a computation graph of LLM calls to improve variables such as prompts. Another approach to optimizing compound systems.
- Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, Ion Stoica (2023). Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. NeurIPS 2023 Datasets and Benchmarks (arXiv:2306.05685). core
Studies strong LLMs as judges, measures agreement with human preferences and documents position, verbosity and self-enhancement biases. The foundational paper for LLM-as-judge.
Cited in Chapter 17.
- Kun Zhou, Yutao Zhu, Zhipeng Chen, Wentong Chen, Wayne Xin Zhao, Xu Chen, Yankai Lin, Ji-Rong Wen, Jiawei Han (2023). Don't Make Your LLM an Evaluation Benchmark Cheater. arXiv:2311.01964.
Examines how benchmark data leaking into training inflates scores and distorts model comparison, and offers suggestions for fair evaluation. Introduces the contamination problem for the course.
- Yuxuan Zhu, Tengjun Jin, Yada Pruksachatkun, Andy Zhang, Shu Liu, Sasha Cui, Sayash Kapoor, Shayne Longpre, Kevin Meng, Rebecca Weiss, et al. (2025). Establishing Best Practices for Building Rigorous Agentic Benchmarks. arXiv:2507.02825. core
Analyzes validity problems in existing agent benchmarks, including flaws in task setup and graders, and proposes a checklist for building them. A practical guide to what makes a benchmark trustworthy.
Cited in Chapter 3, Chapter 17, Chapter 19, Chapter 25.
Systems, reliability, people and economics
- Saleema Amershi, Dan Weld, Mihaela Vorvoreanu, Adam Fourney, Besmira Nushi, Penny Collisson, Jina Suh, Shamsi Iqbal, Paul N. Bennett, Kori Inkpen, Jaime Teevan, and others (2019). Guidelines for Human-AI Interaction. CHI 2019, ACM. core
Presents 18 guidelines for AI-infused systems, derived from prior work and tested with practitioners. A checklist for reviewing the agent's conversational behaviour.
- Joe Armstrong (2003). Making reliable distributed systems in the presence of software errors. PhD dissertation, Royal Institute of Technology (KTH), Stockholm. core
Describes structuring a system as isolated communicating processes with supervisors that restart failed workers, on the premise that software contains errors. Gives the vocabulary behind supervision trees and let-it-crash for long-running agents.
Cited in Chapter 7.
- Victoria Bellotti, Nicolas Ducheneaut, Mark Howard, Ian Smith (2003). Taking email to task. CHI 2003, ACM.
Presents and evaluates an email tool organised around tasks rather than messages. Evidence for task-centred handling of mail by an assistant.
- Marc Brooker (2015). Exponential Backoff And Jitter. AWS Architecture Blog. core
Compares retry strategies with and without randomised delay under contention and recommends adding jitter to exponential backoff. Directly applicable to how an agent retries failing account APIs without hammering them.
- Vannevar Bush (1945). As We May Think. The Atlantic Monthly. core
Proposes the memex, a personal device for storing and linking a person's records. Historical statement of the personal-memory aim an agent's journal serves.
Cited in Chapter 1.
- George Candea, Armando Fox (2003). Crash-Only Software. HotOS IX, USENIX. core
Proposes building components so that the only way to stop them is to crash them and the only way to start them is to recover. A personal agent that must survive restarts can adopt this so that every shutdown path is the recovery path.
Cited in Chapter 7, Building personal agents: a graduate course.
- Herbert H. Clark, Susan E. Brennan (1991). Grounding in communication. Perspectives on Socially Shared Cognition, American Psychological Association. core
Describes how conversation partners establish mutual understanding and repair misunderstandings at a cost depending on the medium. Basis for clarification and confirmation behaviour in an agent chat.
Cited in Chapter 15, Building personal agents: a graduate course.
- R. H. Coase (1937). The Nature of the Firm. Economica.
Explains the boundary of the firm by the cost of using the market versus organising internally. The root of the make-or-buy question when choosing whether to build or rent an agent component.
Cited in Chapter 3.
- Justin Cranshaw, Emad Elwany, Todd Newman, Rafal Kocielnik, Bowen Yu, Sandeep Soni, Jaime Teevan, Andres Monroy-Hernandez (2017). Calendar.help: Designing a Workflow-Based Scheduling Agent with Humans in the Loop. CHI 2017, ACM.
Describes a meeting-scheduling agent that splits email scheduling into micro-tasks done by software and people. Case study on the limits of fully automatic scheduling.
Cited in Chapter 11.
- Mary Czerwinski, Eric Horvitz, Susan Wilhite (2004). A diary study of task switching and interruptions. CHI 2004, ACM.
Diary study of how knowledge workers experience switching and interruption, including difficulty resuming tasks. Informs when an agent should defer a message.
- Jeffrey Dean, Luiz Andre Barroso (2013). The tail at scale. Communications of the ACM.
Shows how rare slow responses dominate end-to-end latency in large systems and describes hedged and tied requests. Useful for reasoning about timeouts and duplicate requests when an agent depends on slow external services.
- Ahmed K. Elmagarmid, Panagiotis G. Ipeirotis, Vassilios S. Verykios (2007). Duplicate Record Detection: A Survey. IEEE Transactions on Knowledge and Data Engineering. core
Surveys techniques for field matching and duplicate detection. Overview reading for CRM-style contact deduplication.
Cited in Chapter 21.
- Ivan P. Fellegi, Alan B. Sunter (1969). A Theory for Record Linkage. Journal of the American Statistical Association. core
Gives the probabilistic framework for deciding whether two records refer to the same entity using match and non-match weights. Foundation for linking contacts across a person's accounts.
Cited in Chapter 21, Chapter 23, Building personal agents: a graduate course.
- Martin Fowler (2005). Event Sourcing. martinfowler.com (Enterprise Application Architecture development patterns). core
Explains recording every state change as an ordered event and rebuilding or correcting state by replaying events. Gives a pattern for an append-only journal that can be replayed after a restart.
Cited in Chapter 4, Chapter 20.
- Hector Garcia-Molina, Kenneth Salem (1987). Sagas. ACM SIGMOD 1987.
Proposes splitting a long-lived transaction into steps, each with a compensating action. Relevant to multi-step agent tasks across accounts that cannot be rolled back atomically.
Cited in Chapter 7, Chapter 21.
- Google SRE book authors (chapter-level authorship not verified) (2016). Service Level Objectives. Site Reliability Engineering, ch. 4, O'Reilly.
Defines indicators, objectives and agreements and how to choose them. Lets an agent project state measurable targets for things like missed scheduled runs.
Cited in Chapter 25.
- Jim Gray (1985). Why Do Computers Stop and What Can Be Done About It?. Tandem Computers Technical Report 85.7. core
Analyses failure reports from a commercial fault-tolerant system and finds administration and software dominate outages, with many software faults transient. Motivates restart-and-retry, process pairs and transactions as design tools.
Cited in Chapter 7.
- Pat Helland (2012). Idempotence Is Not a Medical Condition. ACM Queue / Communications of the ACM. core
Explains why messages are delivered at least once in practice and how applications must tolerate duplicates through idempotent processing. Core reasoning for safe retries of side-effecting agent actions.
Cited in Chapter 6, Chapter 7, Chapter 11, Chapter 16, Chapter 23, Building personal agents: a graduate course.
- Pat Helland (2015). Immutability changes everything. Communications of the ACM.
Argues that append-only, immutable data simplifies replication and reasoning about history, with derived views built on top. Supports an append-only journal design.
Cited in Chapter 4.
- Pat Helland (2016). Life Beyond Distributed Transactions. ACM Queue.
Argues that scalable applications confine transactions to single entities and coordinate across them with messages and tolerance for duplicates. Offers a model for agents that act across independent services with no shared transaction.
- Eric Horvitz, Andy Jacobs, David Hovel (1999). Attention-Sensitive Alerting. Uncertainty in Artificial Intelligence (UAI 1999); arXiv:1301.6707.
Casts alert delivery as a decision weighing the value of information against the cost of interruption given the user's attention. Gives a formal basis for an agent's notification policy.
Cited in Chapter 6, Chapter 23.
- Edwin L. Hutchins, James D. Hollan, Donald A. Norman (1985). Direct Manipulation Interfaces. Human-Computer Interaction. core
Analyses interfaces in terms of the gulfs of execution and evaluation between user goals and system state. Used to frame feedback an agent owes after acting on a person's behalf.
Cited in Chapter 4.
- Frederick P. Brooks Jr. (1987). No Silver Bullet: Essence and Accidents of Software Engineering. Computer (IEEE). core
Distinguishes essential from accidental complexity and argues no single technique will give an order-of-magnitude gain. A counterweight to expecting a model alone to remove the engineering work around an agent.
- Gary Klein, David D. Woods, Jeffrey M. Bradshaw, Robert R. Hoffman, Paul J. Feltovich (2004). Ten Challenges for Making Automation a "Team Player" in Joint Human-Agent Activity. IEEE Intelligent Systems.
Lists requirements for automation to cooperate with people, such as keeping common ground and making its actions and intentions observable. Relevant to what an agent reports in chat.
Cited in Chapter 4.
- Martin Kleppmann (2017). Designing Data-Intensive Applications. O'Reilly Media (book). core
Textbook treatment of reliability, replication, transactions, logs, stream processing and exactly-once effects. Serves as the general reference for the storage and delivery questions an agent's runtime raises.
Cited in Chapter 4, Chapter 6, Chapter 11, Chapter 16, Chapter 21.
- Jay Kreps (2013). The Log: What every software engineer should know about real-time data's unifying abstraction. LinkedIn Engineering blog. core
Presents the append-only, ordered log as the basis for data integration and replicated state. Supports designing an agent's journal as the source of truth from which other state is derived.
Cited in Chapter 4, Building personal agents: a graduate course.
- Leslie Lamport (1978). Time, clocks, and the ordering of events in a distributed system. Communications of the ACM. core
Defines the happened-before relation and logical clocks as a way to order events without a shared physical clock. Relevant when an agent's journal merges events from several chat, email and scheduler sources.
Cited in Chapter 4, Chapter 16.
- Butler W. Lampson (1983). Hints for computer system design. ACM SIGOPS Operating Systems Review (SOSP 1983).
Collects practical design advice on simplicity, interfaces, logs, atomic actions and making operations idempotent. A compact general reference for the agent runtime.
- John D. Lee, Katrina A. See (2004). Trust in Automation: Designing for Appropriate Reliance. Human Factors. core
Reviews trust in automation and argues that design should aim at calibrated reliance rather than maximum trust. Informs what an agent should show about its own reliability.
- J. C. R. Licklider (1960). Man-Computer Symbiosis. IRE Transactions on Human Factors in Electronics. core
Envisions a division of labour in which computers handle routine work and preparation so people can focus on formulating and judging. Early statement of the delegation model behind personal agents.
Cited in Chapter 1.
- Pattie Maes (1994). Agents that reduce work and information overload. Communications of the ACM.
Describes personal software agents that learn a user's habits to handle email, meetings and filtering, and discusses trust and control. Early model for an agent that learns what to do for one person.
Cited in Chapter 1.
- Gloria Mark, Daniela Gudith, Ulrich Klocke (2008). The cost of interrupted work. CHI 2008, ACM. core
Reports an experiment in which interrupted workers finished faster but with more stress and effort. Evidence that unprompted agent messages have a cost.
Cited in Chapter 6, Chapter 23.
- Karen Myers, Pauline Berry, Jim Blythe, Ken Conley, Melinda Gervasio, Deborah McGuinness, David Morley, Avi Pfeffer, Martha Pollack, Milind Tambe (2007). An Intelligent Personal Assistant for Task and Time Management. AI Magazine 28(2), pp. 47-61. core
Describes a deployed assistant from the CALO project that manages time commitments and tasks for a knowledge worker. Primary example of a personal assistant built from a task-execution architecture.
Cited in Chapter 1, Building personal agents: a graduate course.
- George Papadakis, Dimitrios Skoutas, Emmanouil Thanos, Themis Palpanas (2020). Blocking and Filtering Techniques for Entity Resolution. ACM Computing Surveys.
Surveys methods that cut the number of record pairs compared in entity resolution. Relevant when contact and company data grows beyond pairwise comparison.
Cited in Chapter 21.
- Raja Parasuraman, Thomas B. Sheridan, Christopher D. Wickens (2000). A model for types and levels of human interaction with automation. IEEE Transactions on Systems, Man, and Cybernetics - Part A. core
Proposes that automation varies by level across four stages: information acquisition, analysis, decision and action. Gives a vocabulary for setting how autonomous the agent is for each kind of task.
Cited in Chapter 6.
- D. L. Parnas (1972). On the criteria to be used in decomposing systems into modules. Communications of the ACM. core
Shows that modules should be cut around design decisions likely to change rather than around processing steps. Guides separating an agent's channel, account and journal components so each can be replaced.
Cited in Chapter 3, Chapter 16, Chapter 24, Building personal agents: a graduate course.
- D. Sculley, Gary Holt, Daniel Golovin, Eugene Davydov, Todd Phillips, Dietmar Ebner, Vinay Chaudhary, Michael Young, Jean-Francois Crespo, Dan Dennison (2015). Hidden Technical Debt in Machine Learning Systems. Advances in Neural Information Processing Systems 28 (NeurIPS 2015). core
Catalogues system-level maintenance costs in ML systems such as entanglement, hidden feedback loops and glue code. Warns about the surrounding code a model-driven agent accumulates.
Cited in Chapter 3, Chapter 24.
- Google SRE book authors (chapter-level authorship not verified) (2016). Embracing Risk. Site Reliability Engineering: How Google Runs Production Systems, ch. 3, O'Reilly. core
Introduces error budgets: accepting a stated amount of unreliability so that change can proceed. Gives a method for deciding how much failure an unattended agent may be allowed before it is stopped.
Cited in Chapter 7, Chapter 20.
- Google SRE book authors (chapter-level authorship not verified) (2016). Monitoring Distributed Systems. Site Reliability Engineering, ch. 6, O'Reilly. core
Describes the four golden signals and argues that alerts should be actionable and symptom-based. Applies to deciding what an unattended agent should report and what it should only log.
- Google SRE book authors (chapter-level authorship not verified) (2016). Postmortem Culture: Learning from Failure. Site Reliability Engineering, ch. 15, O'Reilly.
Describes blameless written postmortems with causes and follow-up actions. Suggests a template for reviewing agent incidents recorded in its own journal.
Cited in Chapter 19.
- Stripe (undated). Idempotent requests. Stripe API Reference. core
Documents the idempotency-key pattern: a client-chosen key lets a request be retried after a connection error without repeating its effect. A concrete, widely used design for making an agent's outgoing actions safe to retry.
Cited in Chapter 6, Chapter 7, Chapter 11, Chapter 16.
- Richard S. Sutton (2019). The Bitter Lesson. Personal web page (incompleteideas.net). core
Argues that general methods that use more computation have beaten hand-built domain knowledge over the long run. Used to discuss which parts of an agent to hand-code and which to leave to the model.
Cited in Chapter 24, Building personal agents: a graduate course.
- David Thomas, Andrew Hunt (2019). The Pragmatic Programmer, 20th Anniversary Edition. Pragmatic Bookshelf (book; tracer bullets first appeared in the 1999 edition). core
Source of the 'tracer bullets' technique: build a thin end-to-end path first and refine it. Applies to building the chat-to-account-to-journal loop before any breadth.
Cited in Chapter 3.
- Jim Waldo, Geoff Wyant, Ann Wollrath, Sam Kendall (1997). A note on distributed computing. Mobile Object Systems: Towards the Programmable Internet, Lecture Notes in Computer Science 1222 (first issued as Sun Microsystems Laboratories TR-94-29, 1994). core
Argues that remote calls differ fundamentally from local ones in latency, partial failure and concurrency, so interfaces must not hide the network. Basis for treating every call an agent makes to an external account as fallible.
Cited in Chapter 4, Chapter 11, Chapter 16.
- Mark Weiser, John Seely Brown (1996). The Coming Age of Calm Technology. Xerox PARC essay (reprinted in Beyond Calculation, Springer, 1997). core
Argues that technology should move between the centre and periphery of attention rather than demand it. Frames the design of notifications from a long-running agent.
- Steve Whittaker, Candace Sidner (1996). Email overload. CHI '96, ACM. core
Studies how people use mailboxes as to-do lists and archives and describes why they become overloaded. Informs what an agent can triage and what it must leave in view.
- Oliver E. Williamson (1979). Transaction-Cost Economics: The Governance of Contractual Relations. The Journal of Law and Economics.
Develops transaction-cost economics, showing how asset specificity and uncertainty determine whether to buy or integrate. Gives vocabulary for vendor lock-in and dependency decisions.
Cited in Chapter 3.
- Yiheng Xu, Minghao Li, Lei Cui, Shaohan Huang, Furu Wei, Ming Zhou (2020). LayoutLM: Pre-training of Text and Layout for Document Image Understanding. KDD 2020, ACM.
Introduces joint pre-training on text and page layout for tasks such as form and receipt understanding. Representative of model-based extraction from scanned documents.