Uploaded May 2026 | Updated November 2026, 1 day ago
REST APIs return data. Cap'n Web returns stubs β references to live objects on the server. That single shift changes everything about how you design APIs π£
Kenton Varda (Cloudflare Workers, creator of Cap'n Proto) shows why passing functions and objects by reference over the network isn't just a nice DX improvement β it's a fundamentally different security model for AI agents.
What's inside:
πΉ How to eliminate client libraries entirely with TypeScript-native RPC
πΉ Promise pipelining: 3 round trips collapsed into 1 without await
πΉ Lifecycle management β your server knows exactly when the client is gone
πΉ Why giving AI agents auth tokens is broken β and what capability-based RPC does instead
π₯ Kenton Varda is the lead engineer of Cloudflare Workers β the platform that redefined what serverless can do at the edge. He's also the creator of Cap'n Proto, the high-performance serialization and RPC protocol used across distributed systems at scale β and now Cap'n Web, which brings those ideas natively to the browser and JavaScript runtimes.
π Connect with Kenton:
π https://x.com/KentonVarda
π github.com/kentonv
βοΈ This talk was part of Node Congress 2026:
No REST for Cap'n Web | Kenton Varda
π nodecongress.com/?utm_source=youtube&utm_medium=KentonVarda
π Click the related video to watch the full talk
π¬ Donβt just watch β get your toughest architecture questions answered in real-time, be part of the room where Seniors and Architects shape the future, get ahead of the curve. Join us live at the next event!
π gitnation.com/events?utm_source=youtube&utm_medium=KentonVarda
#CapnWeb #RPC #TypeScript #JavaScript #WebDev #APIDesign #REST #Cloudflare #CloudflareWorkers #WebSocket #PromisePipelining #AIAgents #CapabilityBasedSecurity #NodeJS #BackendDev #SoftwareEngineering #DeveloperTools #CapnProto #Sandboxing #NodeCongress
REST APIs return data. Cap'n Web returns stubs β references to live objects on the server. That single shift changes everything about how you design APIs π£
Kenton Varda (Cloudflare Workers, creator of Cap'n Proto) shows why passing functions and objects by reference over the network isn't just a nice DX improvement β it's a fundamentally different security model for AI agents.
What's inside:
πΉ How to eliminate client libraries entirely with TypeScript-native RPC
πΉ Promise pipelining: 3 round trips collapsed into 1 without await
πΉ Lifecycle management β your server knows exactly when the client is gone
πΉ Why giving AI agents auth tokens is broken β and what capability-based RPC does instead
π₯ Kenton Varda is the lead engineer of Cloudflare Workers β the platform that redefined what serverless can do at the edge. He's also the creator of Cap'n Proto, the high-performance serialization and RPC protocol used across distributed systems at scale β and now Cap'n Web, which brings those ideas natively to the browser and JavaScript runtimes.
π Connect with Kenton:
π https://x.com/KentonVarda
π github.com/kentonv
βοΈ This talk was part of Node Congress 2026:
No REST for Cap'n Web | Kenton Varda
π nodecongress.com/?utm_source=youtube&utm_medium=KentonVarda
π Click the related video to watch the full talk
π¬ Donβt just watch β get your toughest architecture questions answered in real-time, be part of the room where Seniors and Architects shape the future, get ahead of the curve. Join us live at the next event!
π gitnation.com/events?utm_source=youtube&utm_medium=KentonVarda
#CapnWeb #RPC #TypeScript #JavaScript #WebDev #APIDesign #REST #Cloudflare #CloudflareWorkers #WebSocket #PromisePipelining #AIAgents #CapabilityBasedSecurity #NodeJS #BackendDev #SoftwareEngineering #DeveloperTools #CapnProto #Sandboxing #NodeCongress










