Speaker Notes

Use AI to Make Product Decisions

Kent C. Dodds demonstrates how to collaborate with AI agents to vet product decisions, test technical limits, and refine system primitives.

Kent C. Dodds · 23:35 · YouTube ↗

Talk · Solo speaker  Intermediate · Concepts, product strategy, and agent workflows

Highlights

4 clips · 4 min of 24 min
    • Feed agents external blog posts and context to discover feature opportunities.
    • Rely on agents to synthesize information rather than make final product decisions.
    • Adding primitives permanently increases maintenance overhead and complexity.
    • Challenge agents to find existing primitives before introducing new abstractions.
    • Do not blindly trust agent cost or architectural recommendations.
    • Experienced engineering judgment catches massive cost multipliers like durable objects versus object storage.
    • Have agents run throwaway tests to discover real-world API and storage limits.
    • Actual testing revealed hard failure thresholds for artifact uploads that assumptions missed.

Questions this video answers

8 · every answer cites the moment it was said
01 How should I use an AI agent to vet new product features? 2 sources · 2:32

You can feed an agent relevant context and external posts, letting it gather information, synthesize options, and propose features. However, you must use your product judgment to filter its recommendations because it may suggest unfeasible or unsustainable directions.

02 How do I protect my system from feature creep when using an agent? 2 sources · 6:24

You need to be extremely protective about bringing new abstractions into your system because removing primitives later is difficult due to user reliance and intertwined features. Ask the agent whether an existing primitive can handle the requirement before adding something new.

03 How do I factor business sustainability and cost into agent-driven design? 2 sources · 7:45

Ask the agent how proposed features affect cost and entitlements to prevent users from abusing the system and exceeding revenue. For instance, storing data in durable objects versus object storage can lead to vastly different cloud infrastructure bills.

04 Why should I base product decisions on actual telemetry data? 2 sources · 9:23

Agents can examine past usage logs and metrics to identify what features would have been useful or what workflows are suboptimal. Instrumenting your code and entitlements allows the agent to pull data-driven insights rather than relying purely on speculation.

05 How can I handle side quests without distracting the primary agent? 2 sources · 11:04

When an agent uncovers a separate issue or refactoring task, you can command it to spin up a separate cloud agent in another repo. This isolates the conversation context while letting you solve secondary problems in parallel.

06 How do I decide between creating a new primitive and expanding an existing one? 2 sources · 13:00

When an agent identifies a capability gap, evaluate whether it requires a brand new entity or just an extension of current architecture. Expanding a proven primitive often solves multiple problems more simply than adding a completely separate construct.

07 How can I verify technical constraints empirically with an agent? 2 sources · 18:16

Instead of guessing platform limits, you can have the agent write code and run real tests against the target infrastructure. For example, the agent created a throwaway repository and tried uploading various file sizes to discover exact failure thresholds.

08 How does my prompt phrasing influence an AI agent's behavior? 2 sources · 19:36

When you consistently prompt an agent with cost and system design constraints, it adopts that price-conscious mindset in its recommendations. Injecting your product sense directly into the conversation shapes the quality and alignment of the output.

Section-by-section summary

7 parts

Using AI for high-level product decisions

AI agents are not just for coding; they serve as conversational partners to help evaluate architectural and product changes. By providing external context like blog posts, developers can prompt agents to propose platform integrations and feature ideas.

Protecting systems from feature creep

Introducing new system primitives permanently increases maintenance burden and technical debt. Developers must rigorously question whether a proposed feature genuinely requires a new primitive or if it can be solved with existing ones.

Driving decisions with usage data

Instead of relying purely on intuition, prompt agents to analyze historical usage logs and metrics to justify product choices. Grounding the conversation in real telemetry ensures features target actual user behavior.

Delegating side quests to secondary agents

Complex conversations often unearth adjacent technical debt or bugs. Using advanced workflows, the primary agent can spawn isolated sub-agents to fix peripheral issues without derailing the main product discussion.

Applying human engineering judgment to costs

Agents can easily make costly architectural mistakes, such as suggesting expensive storage options over economical alternatives. Experienced developers must review infrastructure suggestions to prevent severe financial blowups.

Verifying technical constraints empirically

When platform limitations are unclear, instruct the agent to run actual code tests rather than speculating. Empirical testing reveals exact failure thresholds, such as maximum file upload sizes, allowing for graceful error handling.

Converging on unified primitives and execution

After thorough debate and cost analysis, consolidate features into the simplest possible architectural shape. Once alignment is reached, give the final command for the agent to implement, test, and ship the solution.

0:00 / 23:35
k play/pause · f fullscreen · m mute
n next · p previous clip · t highlights/full
< > slower/faster · / search what was said
  • Cloudflare computer7× · first 1:04

    A platform package providing an agent runtime where environment details are handled by the platform.

  • Cody8× · first 0:43

    The repository and environment where the speaker's development tools and primitives run.

  • MCP3× · first 3:18

    A protocol used to communicate commands and execute operations with AI agents.

  • Repo sessions2× · first 3:44

    A track for updating packages by communicating through MCP commands.

  • Durable objects2× · first 14:01

    A storage option that can be significantly more expensive than object storage for large files.

  • R24× · first 13:22

    Cloud storage used as a cost-effective alternative for handling large files.