DESIGNING-AGENTS COURSE GUIDE

Designing for Agents

A chapter-by-chapter readback of the free course by Zeno Rocha on Latent Space.

Length1:25:52
Chapters31
Modules6
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.

The course treats AI agents as a real product surface: Resend optimizes documentation and APIs so agents can discover, evaluate, and operate the service. It then connects that agent experience to the harder operational reality of email deliverability, abuse prevention, and owned infrastructure.

Who it's for
Read this guide if
  • You build developer tools, APIs, or SaaS products that AI agents may discover and use
  • You want a practical view of answer engine optimization and Model Context Protocol design
  • You need to understand email deliverability, domain reputation, and anti-abuse operations
Skip ahead if
  • You want a hands-on coding tutorial rather than a founder interview
  • You are looking for a general introduction to email marketing rather than infrastructure
  • You need a short overview rather than an 86-minute product and strategy discussion
In brief
  • Duration: 5,152 seconds (1 hour 25 minutes 52 seconds).
  • Structure: 6 chronological modules and 18 chapters.
  • Primary tools and topics: Claude Code, React Email, Amazon SES, DNS, OAuth, MCP, Go, and Rust.
  • Level: intermediate; best for developers, founders, and product teams building APIs or agent-facing tools.
  • Focus: AEO, agent experience, email deliverability, developer experience, and infrastructure ownership.

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

Resend, AEO, and Agent Recommendations

0:00

Introduction

Zeno Rocha introduces Resend’s scale, customer base, and its focus on lower-level email infrastructure. He also explains why he values building a sustainable company while staying close to his family.

1:22

From Dracula to Resend

Rocha traces his background from the Dracula VS Code theme and high GitHub activity to founding Resend despite having no prior infrastructure or email experience. He explains that existing providers did not feel developer-first, which inspired the idea of “the Stripe of email.”

3:31

Resend’s Early Traction

The discussion covers Resend’s user and paid-customer numbers, including customers such as Warner Bros. and HBO. Rocha describes finding the Warner Bros. Discovery relationship by manually examining customer domains before AI became central to discovery.

5:18

How Agents Choose Resend

Rocha explains why AI coding tools frequently recommend Resend, including Claude Code selecting it as the top recommendation more than 60% of the time. He frames deliberate investment in agent recommendations as part of building a defining developer tool.

7:16

Deliverability Is Different

The conversation distinguishes email infrastructure from ordinary application scaling: Gmail, Outlook, and Yahoo Mail behave differently, and sender reputation matters greatly. Resend removed some onboarding friction while building internal systems for fraud, phishing, and abuse.

8:53

Managing Large Sends

Rocha explains how Resend handles a 100,000-recipient send by queueing messages, prioritizing engaged recipients, spacing batches, and distributing traffic across IP pools. The approach responds to mailbox providers that may throttle sends based on early engagement.

Deliverability, Trust, and Support

10:03

Sender Patterns and Abuse Signals

The discussion explains that new senders need carefully calibrated volume and cadence, while established senders can generally send faster. Consistent growth is favored, whereas sudden bursts followed by long pauses can resemble abusive behavior.

10:49

Avoiding Phishing-Like Patterns

Rocha outlines practices that reduce deliverability risk: avoid brand-new domains, ensure websites respond properly, avoid lookalike domains, and avoid large one-time sends. He also describes a case involving roughly 20,000 allegedly abusive domains across multiple registrars.

12:07

Productized Best Practices

Resend embeds deliverability guidance directly into the product through insights, sending-pattern analysis, AI features, link checkers, and spell checkers. The goal is to help users follow best practices without requiring them to study email deliverability rules.

12:46

Plain Text, Opens, and Clicks

The platform automatically creates a plain-text version of emails, which improved deliverability because spam filters can inspect it more easily. The tradeoff is that plain-text email cannot support embedded tracking images, while open tracking itself has become less reliable because of privacy changes and pre-delivery processing.

14:20

Tracking Domains and Trust

Rocha explains why links and images should match the sending domain and why rewriting links to a shared tracking domain can create noisy-neighbor risk. One abusive customer on a shared domain could cause blacklisting that affects other customers.

15:28

Trust, Abuse, and Support

Resend defaults to trusting new users but acts quickly when bounce rates, complaints, or mailbox-provider feedback indicate a problem. Most blocked accounts are described as misuse or skill issues rather than deliberate abuse, so support emphasizes education and correction.

17:40

Documentation as Support

The company learned to prevent support tickets through documentation after initially handling support directly. A policy requiring support agents to answer with a newly written knowledge-base article took about 1.5 hours per ticket but created reusable self-serve content.

DNS, React Email, and Competition

20:05

DNS and Domain Connect

DNS setup is a major source of support questions, especially for less technical developers who may confuse CNAME, A, and TXT records. Rocha discusses using computer-use tools to debug DNS and describes Domain Connect as an underinvested “OAuth for domains” protocol.

22:38

Relationships and Infrastructure

Building Resend depended on deliverability relationships and hires from companies such as Postmark and Mailchimp. Rocha says he is glad the company chose infrastructure-as-a-service, even though AI’s future impact was not predictable at founding.

23:54

React Email as a Wedge

React Email began as an open-source top-of-funnel project before Resend and intentionally supported integrations with other email providers. The strategy was to solve email-template creation first, then position Resend as the platform for sending the resulting emails.

25:13

Email HTML Constraints

User research showed that converting Figma designs into email-compatible HTML was painful because email requires table-based layouts, inline CSS, special Outlook handling, and limited syntax. React Email acts as a compiler and template layer that produces output usable across email clients.

26:48

Abuse Prevention and SendGrid

Rocha recounts Mailgun’s founder saying that roughly 90% of its R&D went to abuse prevention, which shaped Resend’s approach to automating safety. He also compares Resend’s SDK-download growth with SendGrid, while acknowledging that SendGrid still sends far more email through large enterprise customers.

28:53

Twilio, Channels, and Scale

The discussion considers whether incumbents’ scale is decisive, with Rocha arguing that a better product can matter more. He also discusses email, SMS, WhatsApp, and Slack as communication channels, and characterizes Amazon SES as the low-cost established player.

Owning the Email Stack

32:10

SES’s Hidden Complexity

Resend initially built on Amazon SES but differentiated through developer experience, including SDKs for many languages and serverless-oriented guidance. Rocha argues that SES’s apparent simplicity hides operational requirements such as SNS, CloudWatch, SQS, and webhook infrastructure.

34:13

Building Down to the Metal

Rocha explains why Resend is building its own infrastructure: controlling IP blocks and pools, traffic, throughput, and provider relationships. Owning more of the stack also creates an opportunity to give customers better visibility into delivery outcomes.

35:22

Observability and Performance

The company sees observability as a major gap because customers often cannot tell whether an email was delivered, landed in Promotions or spam, or why it failed. Resend is also improving performance, including p99 latency, and has moved parts of its sending path from Node.js and TypeScript to Go.

37:45

MCP Adoption

Rocha describes expanding the product through CLI and MCP interfaces rather than debating whether particular technologies are fashionable. MCP usage reached about 1.2 million calls by the end of August and was growing rapidly, driven partly by developers working in cloud desktops and code editors.

39:34

The First Resend MCP

The company’s first MCP was created by Yoko from a16z as an open-source, local integration. After it gained traction, Rocha asked her to transfer it to Resend’s organization, turning an external experiment into a company-maintained product surface.

Designing MCP and Product Surface

40:12

Remote MCP Requirements

Building a remote MCP required Resend to revisit its permissions model, implement OAuth, and add observability and data dashboards. Distribution also required engagement with labs and inclusion in official stores and plug-in marketplaces.

41:17

Official Integrations Matter

Rocha argues that buyers trust vendor-maintained MCP integrations more than third-party ones, even when the third party is reputable. He cites choosing PostHog over Plausible because PostHog maintained its own MCP, and notes that he considers MCP availability when choosing consumer products too.

42:45

MCP Tool Design

A good MCP should make tool calls understandable, and Rocha notes that a contact-related call that could not fit all data may indicate that the client receives too much information. Resend’s MCP grew from about 20 tools at launch to more than 80, and Rocha no longer sees a high tool count as inherently problematic.

44:18

Headless Backends

Rocha criticizes patterns in Next.js that make it easy to bind data directly to pages and avoid exposing a public API. He advocates a fully headless backend with the frontend as one client, and explains that Resend moved from a private API and costly Next.js API setup toward a monorepo and traditional Node server.

46:03

CLI, Hiring, and SDKs

The CLI is growing, though more slowly than MCP, and Resend’s careers page lets candidates apply through the CLI or API. Rocha explains that CLI applicants demonstrate extra effort, while the company deliberately maintains broad SDK and language coverage rather than delegating workflows to third-party providers.

Email for Agents

50:18

From Single-Player to Multiplayer Email

Rocha frames email products as evolving from dashboards and manually written templates toward programmatic APIs and agent-based workflows. He sees email becoming multiplayer, with humans and agents participating in the same workflows.

50:43

A Multiplayer Email Editor

Resend built a multiplayer email editor, extending the product beyond individual email creation. The discussion positions this as part of a broader shift in how teams create, review, and send email.

Moment by moment

TimeWhy it matters
6:02Claude Code reportedly recommends Resend first in more than 60% of extractable email recommendations, making AEO concrete.
8:53Rocha explains how Resend sequences and distributes a 100,000-recipient send to work with mailbox-provider throttling.
12:46The plain-text generation discussion reveals a direct deliverability tradeoff: better filter inspection, but no open-rate tracking.
34:13Rocha explains why Resend is moving from building on SES toward owning IP pools, throughput, and provider relationships.
40:12The remote-MCP discussion shows that agent interfaces require OAuth, permissions, observability, and distribution work—not just tool wrappers.

Do this next

  1. Audit one developer product’s documentation to see whether an AI coding agent could discover its purpose, pricing, setup steps, and API actions without human help.
  2. Map your product’s core workflows to MCP-style tools, then decide which actions need authentication, permissions, observability, and rate limits.
  3. Review an email-sending setup for domain reputation risks: avoid new or lookalike domains, keep links and images on the sending domain, and use gradual sending patterns.

Common questions

What is answer engine optimization (AEO) in this interview?

AEO means designing documentation, APIs, and product surfaces so AI systems can discover, understand, recommend, and use a product. In the interview, Resend’s example is Claude Code repeatedly selecting Resend when choosing an email provider.

Why does email deliverability require special infrastructure?

Mailbox providers evaluate sender reputation, sending patterns, engagement, and abuse signals. Resend manages batching, IP pools, provider relationships, and fraud prevention because a large send can be throttled or filtered if it looks abusive.

What does Resend use MCP for?

Resend’s MCP gives agents named tools for operating the product, including checking pricing and sending email. Rocha says the MCP grew to more than 80 tools and required OAuth, permissions, observability, and dashboards for the remote version.

Does Resend still rely on Amazon SES?

Resend began by building a developer-experience layer on top of Amazon SES, but is now building more of its own email infrastructure. Rocha says owning IP pools, traffic control, and provider relationships enables better throughput, deliverability control, and observability.

Spot a mistake?

Every chapter summary and timestamp on this page is hand-checked against the video, but mistakes can still happen. If you spot an inaccurate summary, timestamp, fact, or transcription issue, please tell us so we can correct it.

More course guides