// The deck, in order. Each slide is one HyperFrames scene.
//
// holds local times (s) the presenter stops at: the first is the slide's
// rest frame, each later one is a click-to-reveal step
// dur local scene length; the default exit plays in the last 0.5s
// anim (T, H) => void — T is the scene's absolute start; H is the motion
// vocabulary from page.js. Serialized with toString(), so it must
// only use its parameters.
// enter 'wipe' — the topic hue collapses into the wayfinding badge
// exit 'wipe' — the next topic's hue grows to fill the frame
import {
html,
orb,
badge,
agent,
cfLogo,
cursor,
person,
house,
code,
term,
diagram,
wayfind,
esc,
TOPIC_NAMES,
} from './lib.mjs'
import WAITING_ROOM from './waiting-room.json' with { type: 'json' }
const FEATURE_ORBS = ['memory', 'packages', 'triggers', 'credentials', 'apps']
// ---------------------------------------------------------------- shared shapes
function topicCard(topic, notes) {
return {
id: `${topic}-card`,
label: TOPIC_NAMES[topic],
topic,
tinted: true,
notes,
html: html`
${badge(topic, 380)}
${TOPIC_NAMES[topic]}
`,
steps: [
(H, id) => {
H.in(`#s-${id} .card-badge`, 0.15, { scale: 0.55, y: 0, d: 0.9 })
H.in(`#s-${id} .display`, 0.3, { y: 40 })
},
],
}
}
// ---------------------------------------------------------------- slides
export const slides = [
// ============================================================ title
{
id: 'title',
label: 'Title',
connect: true,
exit: 'wipe',
wipeColor: 'page',
notes:
"While the room fills, the word Personal glitches into Team and back, and the subtitle types one terrible automation after another, in a new random order every time. (When it's time) Hi, I'm Kent. I teach people how to build software. Lately I've been building Kody. This talk is about giving every person, and every team, their own software ecosystem, and why Cloudflare is the only place I could build it.",
html: html`
Agent Cloud
I Built Your PersonalSoftware Ecosystem
Kent C. Dodds
Founder, kody.codes
connect 2026
`,
steps: [
(H) => {
H.in('#s-title .cx-top', 0.05)
H.in('#title-h', 0.1, { d: 0.9 })
H.fade('#title-sub', 0.35)
H.in('#title-kody', 0.2, { y: 60, scale: 0.92, d: 1 })
H.in(['#s-title .cx-speaker', '#s-title .cx-wordmark'], 0.4, { stagger: 0.08 })
},
],
},
// ============================================================ the story
{
id: 'one-house',
label: "Your agent's house",
notes:
"Start with you and one agent. It's great. (Click) Over time it fills up with your stuff: memories, packages, triggers, connected accounts, apps. You're living in your agent's house.",
html: html`
`,
steps: [
(H) => {
H.in('#tm-a', 0.1)
H.in('#tm-b', 0.25)
},
(H) => {
H.in('#tm-wall', 0.6, { scale: 0.6, y: 0, d: 0.6 })
},
],
},
{
id: 'common-house',
label: 'Kody: the common house',
notes:
"Kody is a common house. Everyone gets their own room for their own stuff. (Click) Any agent can walk in the front door: Claude Code, Codex, Grok Bot, whatever comes next. (Click) And you can share anything you've built with any teammate. (Click) And some things belong to the whole house: an org's packages, connections, and secrets, shared by everyone in it. Kody isn't another agent. It's the software platform underneath all of them.",
html: html`
${wayfind('search', 'hood')}`,
steps: [
(H) => {
H.in('#s-search-hood .node', 0.1, { stagger: 0.12 })
H.fade('#s-search-hood .wire-g', 0.5, { stagger: 0.12 })
},
(H) => {
H.fade('#sh-also .label', 0.5)
H.in('.sh-chip', 0.55, { stagger: 0.08, y: 16 })
},
],
},
// ============================================================ execute
topicCard('execute', 'Second door: execute.'),
{
id: 'execute-problem',
label: 'execute: problem',
topic: 'execute',
step: 'problem',
enter: 'wipe',
notes:
'Classic tool calling is a round trip per step. The model calls a tool, the whole result comes back through the context, the model reads it and calls the next one. (Click) Four steps, four round trips, and every byte of every result goes through the model.',
html: html`
`,
)
.join('')}
${wayfind('execute', 'problem')}`,
steps: [
(H) => {
H.in('#s-execute-problem .chip', 0.1, { stagger: 0.1 })
H.in('.ep-a', 0.35, { stagger: 0.2, x: -60, y: 0 })
},
(H) => {
H.in('.ep-b', 0.55, { stagger: 0.2, x: -60, y: 0 })
},
],
},
{
id: 'execute-solution',
label: 'execute: solution',
topic: 'execute',
step: 'solution',
notes:
"With execute, the agent writes one small module and Kody runs it. Loops, filters, error handling: all in code, where models are already great. (Click) Every kody dot call is a capability it found with search. One round trip, and only the answer comes back.",
html: html`
Agents write code. Kody runs it.
${code(
`
import { kody } from 'kody:runtime'
export default async function main() {
const { messages } = ⟦await kody.emailMessageList({ direction: 'inbound' })⟧
const text = messages.map((m) => m.subject).join('\\n')
⟦await kody.emailSend({ subject: 'Inbox digest', text })⟧
return messages.length
}`,
{ id: 'es-code', x: 120, y: 300, size: 34 },
)}
${wayfind('execute', 'solution')}`,
steps: [
(H) => {
H.in('#es-code', 0.1)
H.fromTo('#es-code .hl', 0, { backgroundColor: 'rgba(0,0,0,0)' }, { backgroundColor: 'rgba(0,0,0,0)', duration: 0.01 })
},
(H) => {
H.to('#es-code .hl', 0.5, { backgroundColor: 'color-mix(in oklab, var(--topic) 26%, transparent)', duration: 0.5, stagger: 0.15 })
},
],
},
{
id: 'execute-hood',
label: 'execute: under the hood',
topic: 'execute',
step: 'hood',
exit: 'wipe',
nextTopic: 'mcp',
notes:
"Every execute call gets a brand-new isolate from a Worker Loader. Milliseconds to start, nothing shared with the last run or anyone else. kody:runtime is a binding into Kody's capabilities. (Click) And the isolate has no network of its own. Every fetch goes through Kody's gateway, which checks the host and fills in secrets.",
html: html`
Every run gets a fresh, sealed isolate.
${diagram(
[
{ id: 'eh-code', x: 120, y: 340, w: 340, label: 'Agent code', sub: 'one ES module', plain: true },
{ id: 'eh-loader', x: 580, y: 340, w: 450, label: 'Worker Loader', sub: 'new isolate in ms', cf: true },
{ id: 'eh-rt', x: 1150, y: 340, w: 440, label: 'kody:runtime', sub: 'capabilities via RPC' },
{ id: 'eh-gw', x: 580, y: 670, w: 450, label: 'Fetch gateway', sub: 'host check + secrets', cls: 'eh-b' },
{ id: 'eh-net', x: 1150, y: 670, w: 440, label: 'The internet', sub: 'approved hosts only', plain: true, cls: 'eh-b' },
],
[
['eh-code', 'eh-loader'],
['eh-loader', 'eh-rt'],
['eh-loader', 'eh-gw', { from: 'b', to: 't', cls: 'eh-b' }],
['eh-gw', 'eh-net', { cls: 'eh-b' }],
],
{ id: 'eh' },
)}
${wayfind('execute', 'hood')}`,
steps: [
(H) => {
H.in('#s-execute-hood .node:not(.eh-b)', 0.1, { stagger: 0.12 })
H.fade('#s-execute-hood .wire-g:not(.eh-b)', 0.5, { stagger: 0.12 })
},
(H) => {
H.in('#s-execute-hood .node.eh-b', 0.5, { stagger: 0.12 })
H.fade('#s-execute-hood .wire-g.eh-b', 0.6, { stagger: 0.12 })
},
],
},
// ============================================================ the doors: MCP, CLI, API
topicCard('mcp', "Search and execute are the whole API surface. Three doors expose them: MCP, the CLI, and HTTP. MCP first, the one most of you already use."),
{
id: 'mcp-how',
label: 'MCP: how it works',
topic: 'mcp',
enter: 'wipe',
notes:
"MCP is one URL with OAuth: kody.codes/mcp. One command finds the agents on your machine and wires each one up. Claude Code, Codex, Cursor, whatever you use, they all get search and execute. Or skip that: some agents have Kody in their plugin marketplace, so it's one click. (Click) And my favorite trick: an agent that's already connected over MCP can mint a one-shot code for the CLI. The CLI redeems it for a scoped token in your keychain. No login flow, no pasting tokens.",
html: html`
Or just add the Kody plugin from your agent's marketplace.
Already on MCP?
${[
['Agent calls', 'cliCredentialBootstrap'],
['Gets a one-shot code', 'kody_bc_…'],
['CLI redeems it', 'kody auth bootstrap --code'],
['Scoped token, in your keychain', 'kody_at_…'],
]
.map(
([what, code]) =>
`
${what}
${code}
`,
)
.join('')}
${wayfind('mcp')}`,
steps: [
(H) => {
H.in('#mh-term', 0.1)
H.type('#mh-cmd', 0.5, 26, { d: 0.45 })
H.fade('.mh-ok', 1.0, { d: 0.15, stagger: 0.12 })
H.in('#mh-plugin', 1.7, { y: 16 })
},
(H) => {
H.in('.mh-step', 0.1, { stagger: 0.15, x: 30, y: 0 })
},
],
},
// ---------- CLI: local execute
topicCard('cli', "The CLI is the door most people haven't seen. It runs execute somewhere surprising: your own machine."),
{
id: 'cli-problem',
label: 'CLI: problem',
topic: 'cli',
step: 'problem',
enter: 'wipe',
notes:
"Execute runs in Kody's cloud sandbox, which is exactly what you want most of the time. (Click) But the sandbox can't see your laptop: local files, a dev server on localhost, the NAS on your home network.",
html: html`
${wayfind('cli', 'problem')}`,
steps: [
(H) => {
H.in('#clp-cloud', 0.1)
H.in('#clp-local', 0.25)
},
(H) => {
H.in('#clp-x', 0.1, { scale: 0.6, y: 0, d: 0.6 })
},
],
},
{
id: 'cli-solution',
label: 'CLI: solution',
topic: 'cli',
step: 'solution',
notes:
"So the CLI can run execute locally. Same module, same kody calls, same imports from your packages. (Click) It reads the CSV on your disk and still sends the email through Kody. Your CPU is free; only the Kody calls count.",
html: html`
Same module. Your machine.
${term(
[
'$kody execute --local --file ./expense-report.js',
' ',
'workerd read ./expenses.csv (local)',
'kody emailSend (via Kody)',
'✓ 42 receipts, $1,318.07',
],
{ id: 'cls-term', x: 120, y: 290, w: 1680 },
)}
${wayfind('cli', 'solution')}`,
steps: [
(H) => {
H.in('#cls-term', 0.1)
H.type('#cls-cmd', 0.5, 46, { d: 0.6 })
},
(H) => {
H.fade('.cls-out', 0.1, { d: 0.2, stagger: 0.3 })
},
],
},
{
id: 'cli-hood',
label: 'CLI: under the hood',
topic: 'cli',
step: 'hood',
exit: 'wipe',
nextTopic: 'api',
notes:
"Your module runs in workerd, the same open-source runtime as Workers, on your machine. Every kody:runtime call becomes a request to the CapabilityProxy at api.kody.codes, which dispatches through the exact same tool map as cloud execute. (Click) Imports from your packages are downloaded as a package graph and bundled into the local worker. And a fetch that carries a secret placeholder hops to Kody's fetch gateway, so secret values never enter your machine.",
html: html`
Local workerd, cloud capabilities.
your machine
${diagram(
[
{ id: 'clh-mod', x: 140, y: 360, w: 320, label: 'Your module', sub: 'expense-report.js', plain: true },
{ id: 'clh-wd', x: 560, y: 360, w: 400, label: 'workerd', sub: 'kody:runtime shim', cf: true },
{ id: 'clh-cp', x: 1080, y: 360, w: 460, label: 'CapabilityProxy', sub: 'api.kody.codes', cf: true },
{ id: 'clh-kody', x: 1600, y: 360, w: 220, label: 'kody.*', sub: 'same tools' },
{ id: 'clh-pg', x: 560, y: 660, w: 400, label: 'Package graph', sub: 'your package imports', cls: 'clh-b' },
{ id: 'clh-gw', x: 1080, y: 660, w: 460, label: 'Fetch gateway', sub: 'secrets stay in the cloud', cls: 'clh-b' },
],
[
['clh-mod', 'clh-wd'],
['clh-wd', 'clh-cp'],
['clh-cp', 'clh-kody'],
['clh-pg', 'clh-wd', { from: 't', to: 'b', cls: 'clh-b' }],
['clh-wd', 'clh-gw', { from: 'b', to: 'l', cls: 'clh-b' }],
],
{ id: 'clh' },
)}
${wayfind('cli', 'hood')}`,
steps: [
(H) => {
H.fade(['#clh-box', '#clh-box-label'], 0.05)
H.in('#s-cli-hood .node:not(.clh-b)', 0.1, { stagger: 0.12 })
H.fade('#s-cli-hood .wire-g:not(.clh-b)', 0.5, { stagger: 0.12 })
},
(H) => {
H.in('#s-cli-hood .node.clh-b', 0.1, { stagger: 0.15 })
H.fade('#s-cli-hood .wire-g.clh-b', 0.2, { stagger: 0.15 })
},
],
},
// ---------- API
topicCard('api', 'And the third door: plain HTTP.'),
{
id: 'api-how',
label: 'API: how it works',
topic: 'api',
enter: 'wipe',
exit: 'wipe',
nextTopic: 'memory',
notes:
"The third door is a plain HTTP API, for anything that isn't an agent: scripts, CI, other apps. api.kody.codes is its own small Worker at the edge: CORS, rate limits, a body cap. It hands off to Kody over a service binding, no public hop, with a scoped token. (Click) Same search, same execute, same isolation, same audit trail, whatever the client.",
html: html`
Same door for
${['scripts', 'CI', 'other apps', 'the CLI'].map((c) => `${c}`).join('')}
${wayfind('api')}`,
steps: [
(H) => {
H.in('#s-api-how .node', 0.1, { stagger: 0.12 })
H.fade('#s-api-how .wire-g', 0.5, { stagger: 0.12 })
},
(H) => {
H.fade('#ch-clients .label', 0.5)
H.in('.ch-c', 0.55, { stagger: 0.08, y: 16 })
},
],
},
// ============================================================ memory
topicCard('memory', "Now what's in your room. Memory first."),
{
id: 'memory-problem',
label: 'memory: problem',
topic: 'memory',
step: 'problem',
enter: 'wipe',
notes:
"Every agent keeps its own memory, and none of them can see the others'. So every new agent asks the same questions. What time zone are you in? (Click) And you answer them. Again.",
html: html`
`,
)
.join('')}
${wayfind('memory', 'problem')}`,
steps: [
(H) => {
H.in('.mp-q', 0.1, { stagger: 0.15 })
},
(H) => {
H.in('.mp-a', 0.5, { stagger: 0.15, y: 16 })
},
],
},
{
id: 'memory-solution',
label: 'memory: solution',
topic: 'memory',
step: 'solution',
notes:
"In Kody, memory belongs to you, not to the agent. Tell one agent you're on Mountain Time, once. (Click) Every agent connected as you gets it, surfaced automatically when it's relevant.",
html: html`
Tell one agent. Every agent knows.
${orb('memory', 120)}
Kent is on Mountain Time.
${['claude', 'codex', 'grok']
.map(
(a, i) =>
`
${agent('mem', i, 72)}
`,
)
.join('')}
${wayfind('memory', 'solution')}`,
steps: [
(H) => {
H.in('#ms-card', 0.1)
},
(H) => {
H.fade('.ms-w', 0.4, { stagger: 0.12 })
H.in('.ms-agent', 0.5, { stagger: 0.12, x: 30, y: 0 })
},
],
},
{
id: 'memory-hood',
label: 'memory: under the hood',
topic: 'memory',
step: 'hood',
exit: 'wipe',
nextTopic: 'packages',
notes:
"Agents send a short memoryContext with normal search and execute calls: what they're working on. Kody matches it against your memories in Vectorize and inlines the best few. The memory itself lives in D1, scoped to you. (Click) Writes are verify-first: search for a related memory before saving a new one, so memory stays small and true.",
html: html`
${wayfind('packages', 'problem')}`,
steps: [
(H) => {
H.in('#pp-ask', 0.1)
H.in('#pp-code-wrap', 0.3)
},
(H) => {
H.to('#pp-code-wrap', 0.4, { opacity: 0.22, filter: 'blur(9px)', y: -30, duration: 0.9, ease: 'power2.in' })
},
],
},
{
id: 'packages-solution',
label: 'packages: solution',
topic: 'packages',
step: 'solution',
notes:
"In Kody, that code becomes a package. A real Git repo with history, owned by you. Your own GitHub. (Click) And any code can import it by name, from execute, from another package, from an app. Your own npm.",
html: html`
${wayfind('packages', 'solution')}`,
steps: [
(H) => {
H.in('#pk-repo', 0.1)
},
(H) => {
H.in('#pk-import-wrap', 0.4, { x: 40, y: 0 })
},
],
},
{
id: 'packages-hood',
label: 'packages: under the hood',
topic: 'packages',
step: 'hood',
exit: 'wipe',
nextTopic: 'triggers',
notes:
"Every package is a Git repo on Cloudflare Artifacts. Agents edit in a repo session, a Durable Object holding a working copy. Publish runs checks: types, exports, imports. (Click) What ships is a bundle snapshot in KV, which a Worker Loader runs on demand. Static imports between packages are resolved at publish, so calling another package costs nothing extra.",
html: html`
Every package is a Git repo.
${diagram(
[
{ id: 'ph-s', x: 120, y: 340, w: 420, label: 'Repo session', sub: 'Durable Object', cf: true },
{ id: 'ph-a', x: 640, y: 340, w: 420, label: 'Artifacts', sub: 'Git repo per package', cf: true },
{ id: 'ph-c', x: 1160, y: 340, w: 420, label: 'Publish checks', sub: 'types · exports' },
{ id: 'ph-kv', x: 1160, y: 670, w: 420, label: 'KV', sub: 'bundle snapshot', cf: true, cls: 'ph-b' },
{ id: 'ph-l', x: 640, y: 670, w: 420, label: 'Worker Loader', sub: 'runs it on demand', cf: true, cls: 'ph-b' },
],
[
['ph-s', 'ph-a'],
['ph-a', 'ph-c'],
['ph-c', 'ph-kv', { from: 'b', to: 't', cls: 'ph-b' }],
['ph-kv', 'ph-l', { from: 'l', to: 'r', cls: 'ph-b' }],
],
{ id: 'ph' },
)}
${wayfind('packages', 'hood')}`,
steps: [
(H) => {
H.in('#s-packages-hood .node:not(.ph-b)', 0.1, { stagger: 0.12 })
H.fade('#s-packages-hood .wire-g:not(.ph-b)', 0.5, { stagger: 0.12 })
},
(H) => {
H.in('#s-packages-hood .node.ph-b', 0.5, { stagger: 0.15 })
H.fade('#s-packages-hood .wire-g.ph-b', 0.6, { stagger: 0.15 })
},
],
},
// ============================================================ triggers
topicCard('triggers', 'Triggers.'),
{
id: 'triggers-problem',
label: 'triggers: problem',
topic: 'triggers',
step: 'problem',
enter: 'wipe',
notes:
"Agents can wake up on a schedule now, and that's great. But every run hands the task back to a model, which reinterprets it from scratch. (Click) Same cron, three Mondays, three different answers. You pay for the model every run, and the schedule lives in that one agent's house.",
html: html`
Scheduled agents improvise every run.
${[
'5 open PRs. 2 need your review.',
"Here's an overview of your repos this week…",
"I couldn't find any PRs. Should I check GitHub?",
]
.map(
(out, i) => html`
${agent('cron', 0, 48)}
Mon 9:00run ${i + 1}
${out}
model call
`,
)
.join('')}
${['different every run', 'paid every run', 'stuck in one agent'].map((c) => `${c}`).join('')}
${wayfind('triggers', 'problem')}`,
steps: [
(H) => {
H.in('.tp-a', 0.1)
},
(H) => {
H.in('.tp-b', 0.3, { stagger: 0.15 })
H.in('.tp-c', 0.7, { stagger: 0.08, y: 16 })
},
],
},
{
id: 'triggers-solution',
label: 'triggers: solution',
topic: 'triggers',
step: 'solution',
notes:
"In Kody, the agent writes the code once, and a trigger runs that same code every time. A cron schedule. A webhook URL. An email address that's really yours. Events from inside Kody. (Click) Each one runs your package, as you, with no model in the loop unless you put one there.",
html: html`
${wayfind('triggers', 'solution')}`,
steps: [
(H) => {
H.in('.ts-trig', 0.1, { stagger: 0.1, x: -30, y: 0 })
},
(H) => {
H.fade('.ts-w', 0.4, { stagger: 0.08 })
H.in('#ts-pkg', 0.5, { scale: 0.85, y: 0 })
},
],
},
{
id: 'triggers-hood',
label: 'triggers: under the hood',
topic: 'triggers',
step: 'hood',
exit: 'wipe',
nextTopic: 'credentials',
notes:
"Schedules live in a JobManager Durable Object, using alarms to wake up exactly when the next job is due. Long jobs hand off to Workflows: durable steps that retry and survive restarts. (Click) Mail comes in through Email Routing into a Mailbox Durable Object per inbox, with the raw message in R2. Events fan out to your package subscriptions.",
html: html`
Durable Objects keep the clock.
${diagram(
[
{ id: 'th-jm', x: 120, y: 330, w: 450, label: 'JobManager', sub: 'Durable Object alarms', cf: true },
{ id: 'th-wf', x: 680, y: 330, w: 450, label: 'Workflows', sub: 'durable, retried steps', cf: true },
{ id: 'th-pkg', x: 1380, y: 495, w: 420, label: 'Your package', sub: 'runs as you', plain: true },
{ id: 'th-er', x: 120, y: 660, w: 450, label: 'Email Routing', sub: 'your inbox address', cf: true, cls: 'th-b' },
{ id: 'th-mb', x: 680, y: 660, w: 450, label: 'Mailbox', sub: 'Durable Object + R2', cf: true, cls: 'th-b' },
],
[
['th-jm', 'th-wf'],
['th-wf', 'th-pkg'],
['th-er', 'th-mb', { cls: 'th-b' }],
['th-mb', 'th-pkg', { cls: 'th-b' }],
],
{ id: 'th' },
)}
${wayfind('triggers', 'hood')}`,
steps: [
(H) => {
H.in('#s-triggers-hood .node:not(.th-b)', 0.1, { stagger: 0.12 })
H.fade('#s-triggers-hood .wire-g:not(.th-b)', 0.5, { stagger: 0.12 })
},
(H) => {
H.in('#s-triggers-hood .node.th-b', 0.5, { stagger: 0.12 })
H.fade('#s-triggers-hood .wire-g.th-b', 0.6, { stagger: 0.12 })
},
],
},
// ============================================================ credentials
topicCard('credentials', 'Credentials.'),
{
id: 'credentials-problem',
label: 'credentials: problem',
topic: 'credentials',
step: 'problem',
enter: 'wipe',
notes:
"How do most of us give an agent access to an API today? We paste the key into the chat. (Click) Now it lives in the transcript, the model's context, maybe logs, forever. (Click) And if you're thinking 'I'd never do that'... your .env file is even worse. Every agent on your machine can read it, and it has all your keys, not just one.",
html: html`
Pasting API keys into chat.
Here's my Stripe key:
sk_live_51Hx9a2Lq…
Now it lives in
${['the transcript', 'model context', 'logs', 'forever'].map((c) => `${c}`).join('')}
${wayfind('credentials', 'problem')}`,
steps: [
(H) => {
H.in('#crp-msg', 0.1)
},
(H) => {
H.fade('#crp-where .label', 0.4)
H.in('.crp-c', 0.45, { stagger: 0.1, y: 16 })
},
(H) => {
H.in('#crp-env .label', 0.35, { y: 24 })
H.in('#crp-envfile', 0.5, { scale: 0.8, y: 30, d: 0.7 })
},
],
},
{
id: 'credentials-solution',
label: 'credentials: solution',
topic: 'credentials',
step: 'solution',
notes:
"In Kody, you save the secret once, through a page the agent never sees. Code refers to it by name. (Click) The value is filled in on the way out the door, only for hosts you approved. The agent uses your keys without ever holding them.",
html: html`
${wayfind('credentials', 'solution')}`,
steps: [
(H) => {
H.in('#cs-code', 0.1)
H.fromTo('#cs-code .hl', 0, { backgroundColor: 'rgba(0,0,0,0)' }, { backgroundColor: 'rgba(0,0,0,0)', duration: 0.01 })
},
(H) => {
H.to('#cs-code .hl', 0.4, { backgroundColor: 'color-mix(in oklab, var(--topic) 28%, transparent)', duration: 0.5 })
H.in('#crs-kody', 0.45, { y: 50, scale: 0.92 })
},
],
},
{
id: 'credentials-hood',
label: 'credentials: under the hood',
topic: 'credentials',
step: 'hood',
exit: 'wipe',
nextTopic: 'apps',
notes:
"The isolate only ever sees the placeholder. Its outbound fetch is routed to Kody's fetch gateway, which checks the host against the secret's allowlist, decrypts the value, and swaps it in. (Click) Send the same placeholder anywhere else, and the request is refused before it leaves.",
html: html`
Swapped at the edge, for approved hosts only.
${diagram(
[
{ id: 'kh-iso', x: 120, y: 420, w: 400, label: 'Isolate', sub: 'sees {{secret:stripe}}', plain: true },
{ id: 'kh-gw', x: 640, y: 420, w: 450, label: 'Fetch gateway', sub: 'host allowed?' },
{ id: 'kh-ok', x: 1260, y: 300, w: 440, label: 'api.stripe.com', sub: 'gets the real key', plain: true },
{ id: 'kh-d1', x: 640, y: 720, w: 450, label: 'D1', sub: 'encrypted value', cf: true },
{ id: 'kh-no', x: 1260, y: 560, w: 440, label: 'evil.example', sub: 'refused', plain: true, cls: 'kh-b' },
],
[
['kh-iso', 'kh-gw'],
['kh-gw', 'kh-ok'],
['kh-d1', 'kh-gw', { from: 't', to: 'b' }],
['kh-gw', 'kh-no', { cls: 'kh-b kh-bad' }],
],
{ id: 'kh' },
)}
${wayfind('credentials', 'hood')}`,
steps: [
(H) => {
H.in('#s-credentials-hood .node:not(.kh-b)', 0.1, { stagger: 0.12 })
H.fade('#s-credentials-hood .wire-g:not(.kh-b)', 0.5, { stagger: 0.12 })
},
(H) => {
H.in('#kh-no', 0.5, { x: 30, y: 0 })
H.fade('#s-credentials-hood .wire-g.kh-b', 0.5)
},
],
},
// ============================================================ apps
topicCard('apps', 'Apps.'),
{
id: 'apps-problem',
label: 'apps: problem',
topic: 'apps',
step: 'problem',
enter: 'wipe',
notes:
"Chat is great for asking. It's a terrible control center. You can read the state, sort of, as a wall of JSON. (Click) And acting on it means typing commands back and hoping you picked the right one. Some work wants a UI you can come back to, see at a glance, and click.",
html: html`
Chat is a bad control center.
${esc(
'[{"repo":"kody","number":4132,"title":"fix post-merge review findings","author":"kentcdodds","state":"open","reviews":[{"user":"…","state":"APPROVED"}],"checks":{"total":14,"passing":13,"failing":1},"updated_at":"2026-10-20T18:22:09Z","labels":["bug","p2"]},{"repo":"kody","number":4131,"title":"show expired package Keys as Expired","author":"kentcdodds","state":"open","reviews":[],"checks":{"total":14,"passing":14,"failing":0},"updated_at":"2026-10-20T15:02:44Z","labels":["ui"]},{"repo":"kody","number":4130,"title":"drop leftover pins and extra cases","author":"kentcdodds","state":"open","reviews":[{"user":"…","state":"CHANGES_REQUESTED"}],"checks":{"total":14,"passing":12,"failing":2},"updated_at":"2026-10-19T22:41:10Z","labels":["test"]},{"repo":"kody","number":4128,"title":"describe credential lists and package-app paths","author":"kentcdodds","state":"open","reviews":[],"checks":{"total":9,"passing":9,"failing":0}}]',
)}
Merge #4131. Wait, which one passed?
${wayfind('apps', 'problem')}`,
steps: [
(H) => {
H.in('#ap-dump', 0.1)
},
(H) => {
H.in('#ap-ask', 0.4, { y: 24 })
},
],
},
{
id: 'apps-solution',
label: 'apps: solution',
topic: 'apps',
step: 'solution',
notes:
"So packages can ship apps. Not just a dashboard: a control center. See every PR at a glance. (Click) And act: merge the green one, turn on auto-merge. Every button calls your package's code, as you. (Click) It lives at your own subdomain on kody.run, or on your own domain, and you can share it with your team like anything else in Kody.",
html: html`
Through any agent
${[0, 1, 2, 3].map((i) => `${agent('share', i, 56)}`).join('')}
${wayfind('sharing', 'solution')}`,
steps: [
(H) => {
H.in('#s-sharing-solution .sh-col', 0.15, { stagger: 0.18 })
H.fade('#s-sharing-solution .sh-arrow', 0.4, { stagger: 0.18 })
},
(H) => {
H.fade('#sh-agents .label', 0.4)
H.in('.sh-ag', 0.45, { stagger: 0.1, y: 16 })
},
],
},
{
id: 'sharing-hood',
label: 'sharing: under the hood',
topic: 'sharing',
step: 'hood',
exit: 'wipe',
wipeColor: 'cloudflare',
nextTopic: 'cloudflare',
notes:
"How do you keep everyone's room private in one shared house? Every layer is namespaced by owner. D1 rows carry the owner id. Durable Objects are named per owner. Vectorize queries filter by owner. KV and R2 keys are prefixed. (Click) And every request, from every surface, goes through one authorize check. One door policy for the whole house.",
html: html`
${wayfind('sharing', 'hood')}`,
steps: [
(H) => {
H.in('.nh-row', 0.1, { stagger: 0.07, y: 16 })
},
(H) => {
H.in('#nh-auth', 0.45)
},
],
},
// ============================================================ wrap up
{
id: 'cloudflare',
label: 'Built on Cloudflare',
topic: 'cloudflare',
exit: 'wipe',
wipeColor: 'page',
enter: 'wipe',
wipeTo: [960, 540],
notes:
"Per-person isolates on demand, per-person databases by the million, per-person Git, email, queues, and vector search. All in one platform, all billed by actual use. That's why Kody could only be built on Cloudflare. (Click) And all of it is available to you today.",
html: html`
`,
steps: [
(H) => {
H.in('.cf-p', 0.3, { stagger: 0.05, y: 20, d: 0.6 })
},
(H) => {
H.in('#cf-today', 0.5)
},
],
},
{
id: 'invisible-software',
label: 'Invisible Software',
exit: 'wipe',
wipeColor: 'connect',
notes:
"This is the scale I'm building for. Today, tens of millions of developers are creating code with agents. (Click) I think we're heading toward billions of people whose agents create software for them. They don't need to become developers, or even realize software was written. They just want their problems solved. (Click) I call this Invisible Software. That's why I built Kody with this scale in mind. My latest video goes deeper into that vision; the thumbnail and link open it. Then: thank you, and come build with us.",
html: html`