Kent C. Dodds
kody.codes
connect 2026
Claude
kody.codes
02 / 24
Claude
Codex
kody.codes
03 / 24
Claude
Codex
kody.codes
04 / 24
kody.codes
05 / 24
export default (cal) => { const day = cal.today() day.sort(byPriority) return summarize(day)}
Every package is a Git repo in Artifacts
kody.codes
06 / 24
import bondAreaShades from "kody:@kentcdodds/home-controls/bond-area-shades" import runMorningBriefing from "kody:@kentcdodds/morning-briefing" export default async function main() { await bondAreaShades({ area: "back", action: "close" }) return runMorningBriefing({ dryRun: true }) }
kody.codes
07 / 24
import bondAreaShades from
"kody:@kentcdodds/home-controls/bond-area-shades"
import runMorningBriefing from
"kody:@kentcdodds/morning-briefing"
v2.1 · 91e4b07
v1.4 · 7b42d0f
kody.codes
08 / 24
Problem
Infinite capabilities don't fit in a list of MCP tools
09 / 24
search({ query: "close the shades in the back" })
# Search results 1. package @kentcdodds/home-controls default (home-controls export ./bond-area-shades) Open, close, stop, or position every Bond shade in a named home area. Entity: package:home-controls#./bond-area-shades Import: kody:@kentcdodds/home-controls/bond-area-shades ```ts import action from "kody:@kentcdodds/home-controls/bond-area-shades" export default async function main(params) { return await action(params) } ``` Next: Use the inlined export call contract above from execute.
env.AICAPABILITY_VECTOR_INDEXAPP_DBBUNDLE_ARTIFACTS_KVkody.codes
10 / 24
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" } }
kody.codes
11 / 24
// kody.app.entry: "./app/router.ts" export default { fetch(request) { return new Response("<h1>Shades</h1>") }, }
A plain fetch handler,
served at you.kody.run
kody.codes
12 / 24
kody.codes
13 / 24
kody.codes
14 / 24
env.LOADER.get(...)export default async () => bondAreaShades({ area: "back" })
kody.codes
15 / 24
// worker.tsconst modules = { "executor.js": codeExecutor, "entry.ts": bundledCode,}const isolate = env.LOADER .get(workerId, () => ({ modules })) .getEntrypoint()const { result } = await isolate.evaluate({ kody: capabilities })
kody.codes
16 / 24
Problem
Once a model sees a token, it's gone
17 / 24
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() }
kody.codes
18 / 24
credential('stripe')credential('zendesk')credential('github')Same credential() call at every level. The agent never sees the value.
kody.codes
19 / 24
Approved host: the key is added at the boundaryUnapproved host: nothing leaves
kody.codes
20 / 24
u_8f2cu_31d7kody.codes
21 / 24
kody.codes
22 / 24
kody.codes
You can start today.
You're awesome.
23 / 24
kody.codes
Kent C. Dodds
kody.codes
connect 2026