Skip to content
← Public packages

@kentcdodds/cloudflare-connect-personal-software-ecosystem

I Built Your Personal Software Ecosystem: Kent C. Dodds's Cloudflare Connect 2026 lightning talk deck (Reveal.js). How Kody gives every user one of everything on Cloudflare.

FollowForkOpen app

Files

23-agent-buttons.html

19 lines · 6.2 KB · HTML
<section id="agent-buttons" data-slide="agent-buttons" data-title="Agents pressing buttons is expensive" class="hold-slide problem-slide pw-slide pw-split">
	<div class="pw-split-head">
		<p class="eyebrow">Problem</p>
		<h2>Agents pressing buttons is expensive</h2>
	</div>
	<div class="pw-host pw-host-scan" data-pw="scan" data-pw-seq="[[&quot;clean&quot;, 8000], [&quot;flake&quot;, 8000]]" data-pw-still="flake" role="group" aria-label="Example scheduled scan">
		<div class="pw pw-triggers pw-scene-trg-scan" data-size="full" style="--pw-accent:var(--primitive-triggers);--pw-ratio:360 / 280"><div class="pw-stage" data-stack=""><div class="pw-run" data-result="flake"><svg class="pw-wires" viewBox="0 0 360 280" aria-hidden="true" focusable="false"><g class="pw-wire" style="--i:0"><path class="pw-line" d="M180 140 L180 160 C180 180 79 176 79 192"></path><path class="pw-pulse" d="M180 140 L180 160 C180 180 79 176 79 192" pathLength="100"></path></g><g class="pw-wire" data-on="" style="--i:0"><path class="pw-line" d="M180 140 L180 160 C180 180 281 176 281 192"></path><path class="pw-pulse" d="M180 140 L180 160 C180 180 281 176 281 192" pathLength="100"></path></g></svg><div class="pw-node pw-trg-card pw-trg-scan" style="left:50%;top:32%"><div class="pw-trg-head"><span class="pw-clock" aria-hidden="true"></span><span><span class="pw-kicker">04:00 · code</span><strong>Scheduled scan</strong></span><span class="pw-trg-nomodel">No model</span></div><div class="pw-trg-code"><span class="pw-trg-scanbar" aria-hidden="true"></span><p class="pw-trg-code-line"><span aria-hidden="true">1</span>scan(ci.since(&quot;24h&quot;))</p><p class="pw-trg-code-line" data-flake=""><span aria-hidden="true">2</span>brief.test.ts · flake</p><p class="pw-trg-code-line"><span aria-hidden="true">3</span>return signal ?? quiet</p></div></div><span class="pw-trg-ask">Signal?</span><div class="pw-node pw-trg-card pw-trg-end pw-trg-clean" style="left:22%;top:80%"><span class="pw-trg-check" aria-hidden="true">✓</span><strong>Clean</strong><p>No notification.</p></div><div class="pw-node pw-trg-card pw-trg-end pw-trg-flake" data-on="" style="left:78%;top:80%"><span class="pw-trg-agent" data-lit=""><span class="pw-trg-agent-dot" aria-hidden="true"></span>Agent</span><strong>Flake found</strong><p>Investigate.</p></div></div></div></div>
		<div class="pw-controls"><button type="button" class="pw-control" data-pw-go="clean">Clean scan</button><button type="button" class="pw-control" data-pw-go="flake">Flaky scan</button></div>
		<template data-pw-state="clean"><div class="pw-run" data-result="clean"><svg class="pw-wires" viewBox="0 0 360 280" aria-hidden="true" focusable="false"><g class="pw-wire" data-on="" style="--i:0"><path class="pw-line" d="M180 140 L180 160 C180 180 79 176 79 192"></path><path class="pw-pulse" d="M180 140 L180 160 C180 180 79 176 79 192" pathLength="100"></path></g><g class="pw-wire" style="--i:0"><path class="pw-line" d="M180 140 L180 160 C180 180 281 176 281 192"></path><path class="pw-pulse" d="M180 140 L180 160 C180 180 281 176 281 192" pathLength="100"></path></g></svg><div class="pw-node pw-trg-card pw-trg-scan" style="left:50%;top:32%"><div class="pw-trg-head"><span class="pw-clock" aria-hidden="true"></span><span><span class="pw-kicker">04:00 · code</span><strong>Scheduled scan</strong></span><span class="pw-trg-nomodel">No model</span></div><div class="pw-trg-code"><span class="pw-trg-scanbar" aria-hidden="true"></span><p class="pw-trg-code-line"><span aria-hidden="true">1</span>scan(ci.since(&quot;24h&quot;))</p><p class="pw-trg-code-line"><span aria-hidden="true">2</span>if (run.flaky) signal = run</p><p class="pw-trg-code-line"><span aria-hidden="true">3</span>return signal ?? quiet</p></div></div><span class="pw-trg-ask">Signal?</span><div class="pw-node pw-trg-card pw-trg-end pw-trg-clean" data-on="" style="left:22%;top:80%"><span class="pw-trg-check" aria-hidden="true">✓</span><strong>Clean</strong><p>No notification.</p></div><div class="pw-node pw-trg-card pw-trg-end pw-trg-flake" style="left:78%;top:80%"><span class="pw-trg-agent"><span class="pw-trg-agent-dot" aria-hidden="true"></span>Agent</span><strong>Flake found</strong><p>Investigate.</p></div></div></template>
		<template data-pw-state="flake"><div class="pw-run" data-result="flake"><svg class="pw-wires" viewBox="0 0 360 280" aria-hidden="true" focusable="false"><g class="pw-wire" style="--i:0"><path class="pw-line" d="M180 140 L180 160 C180 180 79 176 79 192"></path><path class="pw-pulse" d="M180 140 L180 160 C180 180 79 176 79 192" pathLength="100"></path></g><g class="pw-wire" data-on="" style="--i:0"><path class="pw-line" d="M180 140 L180 160 C180 180 281 176 281 192"></path><path class="pw-pulse" d="M180 140 L180 160 C180 180 281 176 281 192" pathLength="100"></path></g></svg><div class="pw-node pw-trg-card pw-trg-scan" style="left:50%;top:32%"><div class="pw-trg-head"><span class="pw-clock" aria-hidden="true"></span><span><span class="pw-kicker">04:00 · code</span><strong>Scheduled scan</strong></span><span class="pw-trg-nomodel">No model</span></div><div class="pw-trg-code"><span class="pw-trg-scanbar" aria-hidden="true"></span><p class="pw-trg-code-line"><span aria-hidden="true">1</span>scan(ci.since(&quot;24h&quot;))</p><p class="pw-trg-code-line" data-flake=""><span aria-hidden="true">2</span>brief.test.ts · flake</p><p class="pw-trg-code-line"><span aria-hidden="true">3</span>return signal ?? quiet</p></div></div><span class="pw-trg-ask">Signal?</span><div class="pw-node pw-trg-card pw-trg-end pw-trg-clean" style="left:22%;top:80%"><span class="pw-trg-check" aria-hidden="true">✓</span><strong>Clean</strong><p>No notification.</p></div><div class="pw-node pw-trg-card pw-trg-end pw-trg-flake" data-on="" style="left:78%;top:80%"><span class="pw-trg-agent" data-lit=""><span class="pw-trg-agent-dot" aria-hidden="true"></span>Agent</span><strong>Flake found</strong><p>Investigate.</p></div></div></template>
	</div>
	<aside class="notes">
		A model that clicks through a UI spends tokens on every tap. Most checks need no
		model at all: this scheduled scan is plain code at 04:00. A clean run ends quietly
		with no notification. Only a flake calls an agent to investigate. Humans should get
		HTML they own, and agents only the work that needs judgment. Next: a hosted package
		app.
	</aside>
</section>