01Chapter 1: The marketing research and reporting workflowThis chapter assumes you know basic marketing metrics (impressions, clicks, conversions, spend), can read simple Python, and have a general idea of what a large language model is. Later chapters use JSON and simple APIs. This chapter uses neither.2 min read
02Chapter 2: What an AI agent is and how it differs from a chatbotThis chapter assumes you know what a large language model (LLM) is and can read basic Python. It also assumes you are comfortable with JSON and with metrics such as clicks, spend and conversions.2 min read
03Chapter 3: Where language models go wrongThis chapter assumes you know what a large language model (LLM) is and have prompted one. It also assumes you can read short Python functions. The goal is to name the failure modes you will meet when an agent writes marketing research, so that later chapters can address each one.2 min read
04Chapter 4: Data sources: ad platforms, analytics, CRM and the webThis chapter assumes you know basic marketing metrics, can read Python, and understand JSON and simple APIs. An agent can only report what it can reach, so you need to know where marketing data lives and how each source can mislead you.2 min read
05Chapter 5: Giving the agent toolsThis chapter assumes you can read basic Python, handle JSON, and know the marketing metrics impressions, clicks, conversions and spend. It also assumes you have prompted a language model before.2 min read
06Chapter 6: The agent loop: plan, act, observe, stopThis chapter assumes you can read basic Python, know what a large language model (LLM) is, and are comfortable with JSON. You should also know the metrics from the earlier chapters, such as clicks, spend and conversions.2 min read
07Chapter 7: Prompts and structured outputs for research tasksThis chapter assumes you can read Python, know what JSON is, and have written a basic prompt for a language model. It builds on the tool results from earlier chapters and shows how to ask the model for output that code can check.2 min read
08Chapter 8: Grounding findings in retrieved sourcesThis chapter assumes you have read the earlier chapters on language model limits and tool use. You should be comfortable reading short Python functions and JSON.2 min read
09Chapter 9: Calculating metrics with code, not with the modelThis chapter assumes you can read basic Python, know the marketing metrics impressions, clicks, spend and conversions, and understand how an agent calls tools. It shows why an agent should hand arithmetic to code and how to build a tool that does it safely.2 min read
10Chapter 10: Turning findings into a reportThis chapter assumes you can read basic Python, know what impressions, clicks, conversions and spend mean, and have seen JSON. It also assumes you have already computed metrics with code (see the previous chapter) and have a prompt that returns structured output.2 min read
11Chapter 11: Checking numbers and claims before publishingThis chapter assumes you can read basic Python and JSON. It also assumes you know the metrics from earlier chapters: impressions, clicks, conversions, spend, and the ratios computed from them. Here you add a verification step between the drafted report and the reader.3 min read
12Chapter 12: Where a person stays in the loopThis chapter assumes you have read the chapters on the agent loop, report generation and verification. You should be comfortable reading short Python functions and JSON. Here you decide which steps in a marketing reporting agent need a person's approval, and you add that approval step to the workflo2 min read
13Chapter 13: Privacy, compliance and access controlThis chapter assumes you have read the chapters on data sources, tool use and the agent loop. You should know that an agent calls tools and that the model sees whatever those tools return.3 min read
14Chapter 14: Splitting work across several agentsThis chapter assumes you have read the agent loop chapter, can read Python, and have seen the deterministic metrics tool from earlier. It covers when to use more than one agent and how to coordinate them.2 min read
15Chapter 15: Scheduling, logging and cost controlThis chapter assumes you have read the agent loop chapter and can read basic Python and JSON. It covers how to run a reporting agent on a schedule, how to record what it did, and how to stop it from spending more than you planned.2 min read
16Chapter 16: Evaluating quality and return on effortThis chapter assumes you have read the earlier chapters on the agent loop, deterministic metrics, verification and human review. You should be comfortable reading short Python functions and JSON.2 min read