Kodykody.codes
Agent Cloud Cloudflare

I Built Your Personal Software Ecosystem

Human → Agent → Software

Kody, the kody.codes koala

Kent C. Dodds

kody.codes

connect 2026

You've got work to do

Do it the hard way first

Pain motivates a move

Agents hide the pain.

Time Cost Scale Focus
Cost Reliability Safety Durability
Time Cost Scale Focus

Walled Gardens

One shared software ecosystem

Software
Software
Software
Software
Software
Software
Software
Software
Software
🐨 Software
Human

One shared software ecosystem

1 · Create2 · Invoke
◇ morning-briefing / brief.tsexport default (cal) => { const day = cal.today() day.sort(byPriority) return summarize(day)}
morning-briefingPublished v1.3
› run morning-briefing

One of everything, per user

  • Your own npm registryD1 + Workers KV
  • Your own GitHubArtifacts
  • Your own cronDurable Object alarms
  • Your own email addressEmail Routing
  • Your own databaseDurable Objects + SQLite

Problem

Infinite capabilities can't fit in MCP tools

execute

import bondAreaShades from
  "kody:@kentcdodds/home-controls/bond-area-shades"

export default async function main() {
  return await bondAreaShades({
    area: "back",
    action: "close",
  })
}
{ ok: true, area: "back", affected: ["Kitchen South"] }

Dynamic Workers run the agent's code

Agentwrites the code
Dynamic Workera sandbox for that codecredential('github')github.fetch("api.github.com")
Kody gatewayadds the keyapi.github.com ✓paste.example ✕
api.github.comanswers
executeoutbound fetchwith the key200 OK200 OK5 repos

Worker Loader

// worker.ts
const modules = {
  "executor.js": codeExecutor,
  "entry.ts": bundledCode,
}

const isolate = env.LOADER
  .get(workerId, () => ({ modules }))
  .getEntrypoint()

const { result } = await isolate.evaluate({
  kody: capabilities, // emailSend, secretList, ...
})

Problem

Agents see your credentials

Agents only name the credential

import { credential } from 'kody:runtime'

export default async function main() {
  const github = await credential('github')
  const response = await github.fetch(
    'https://api.github.com/user/repos?per_page=5',
  )
  return response.json()
}

How the gateway works

Dynamic Worker

List my repos.

GET api.github.comcredential('github')••••••••••masked
Kody gateway
api.github.com✓api.example.com✓paste.example✕
Approved API host
api.github.comAuthorizationAdded at request boundaryBearer ••••••••9f3c

200 OK5 reposJSON body

Problem

Skills aren't software

They're just prompts you pay for every time 💸

Code composes

import bondAreaShades from
  "kody:@kentcdodds/home-controls/bond-area-shades"
import runMorningBriefing from
  "kody:@kentcdodds/morning-briefing"
import { getEpisode } from "kody:@kentcdodds/transistor"

export default async function main(input) {
  const shades = await bondAreaShades({ area: "back", action: "close" })
  const briefing = await runMorningBriefing({ dryRun: true })
  const episode = await getEpisode({ episodeId: input.episodeId })
  return { shades, briefing, episode }
}

How the import works

Agentone module, three importsimport { brief } from 'kody:@kentcdodds/morning-briefing'import { issues } from 'kody:@kentcdodds/github'import { post } from 'kody:@kentcdodds/discord'await post(await brief(await issues()))
morning-briefingpublished bundlev1.4 · 7b42d0f
githubpublished bundlev2.1 · 91e4b07
discordpublished bundlev1.0 · 5d2a8c3
Dynamic Workermodule + 3 bundles, run once
Worker Loaderresult

Problem

Irritating setup for every script

Primitives to build anything

import { createAuthenticatedFetch, kody, packageStorage,
  workflows } from "kody:runtime"

export default async function main() {
  const since = await packageStorage().get("sinceId")
  const gh = await createAuthenticatedFetch("github")
  const me = await (await gh("https://api.github.com/user")).json()
  await workflows.create({ exportName: "./rebuild-index",
    params: { login: me.login, since } })
  return kody.emailSend({
    subject: `${me.login} digest`,
    text: `since ${since ?? "start"}`,
  })
}

Jobs, webhooks and events

my-package13 runs today

Declared in package.json

{
  "kody": {
    "jobs": {
      "daily-digest": {
        "entry": "./daily-digest.ts",
        "schedule": { "type": "cron", "expression": "0 7 * * *" }
      }
    },
    "webhooks": [{ "name": "github", "export": "./on-github" }],
    "subscriptions": {
      "email.message.received": { "handler": "./on-email.ts" }
    }
  }
}

One user's Kody: runtime

Your agent
Workersthe Kody fleet
execute

One user's Kody: data

Your user idu_8f2c
Artifactsyour package repos
Durable ObjectsidFromName("u_8f2c")
D1user_id = 'u_8f2c'
R2your raw mail
Vectorizefilter userId
Workers KVyour bundles

Problem

Agents pressing buttons is expensive

04:00 · codeScheduled scanNo model

scan(ci.since("24h"))

brief.test.ts · flake

return signal ?? quiet

Signal?
Clean

No notification.

AgentFlake found

Investigate.

Package apps for UI

// "kody": { "app": { "entry": "./app/router.ts" } }
export default {
  async fetch(request) {
    return new Response("<h1>Shades</h1>", {
      headers: { "content-type": "text/html" },
    })
  },
}
  • court-projector
  • morning-briefing
  • travel-map
  • mailroom
  • rotosphere

On you.kody.run. This deck is one.

How will you give your job to your agent?

Kody holding a lantern
kody.codes

You're awesome

Agent Cloud Cloudflare
Kody, the kody.codes koala

Kent C. Dodds

kody.codes

connect 2026