WhoBuilt

Sunil Pai

Principal Systems Engineer at Cloudflare

Sunil Pai is a systems engineer and developer-tools builder based in London. He founded PartyKit, which Cloudflare acquired in 2024, and now works on Cloudflare's AI agents platform, including the Agents SDK and Code Mode. Earlier he worked on Facebook's React team and created the CSS-in-JS library glamor.

Expertise

Topics where their work and talks carry most weight

How this is ranked

Three signals, all from sourced facts:

  • What they built: products they created that are used and discussed in this topic, counting most when the fact is verified.
  • Their talks: talks they gave where this is a main subject.
  • Mentions: talks by other speakers on this topic that bring them up.

Disputed facts are left out. The ranking reflects what WhoBuilt has indexed so far and changes as new talks and sources arrive.

Key facts

Founded
PartyKit, Founder and CEO
Works at
Cloudflare, builds agents for the Agents SDK
Previously
Cloudflare, Helped rebuild the wrangler CLI
Myntra, Worked on the JavaScript stack
Meta, React team
Built
Project Think, co-developer
glamor, creator
Code Mode, co-creator (co-author of the Code Mode announcement)

Career

  1. CloudflarecurrentJun 8, 2026 – present
    builds agents for the Agents SDK
  2. PartyKitpastuntil Jan 2024
    Founder and CEO
  3. Cloudflarepast2021 – Jan 2022
    Helped rebuild the wrangler CLI
  4. Worked on the JavaScript stack
  5. Metapast
    React team

Timeline 8

Dated events, newest first. Open the sources under any item.

How we verify
Founded1Career4Built3
20261 event
  1. Jun 8, 2026Career
    Sunil Pai works at Cloudflare
    builds agents for the Agents SDK
    “We work on agents at Cloudflare.” 0:15
    Verified4 sources· Talk, Web· archived
20211 event
  1. 2021Career
    Sunil Pai previously at Cloudflare
    Helped rebuild the wrangler CLI
    Verified1 source· Web· archived
Undated6 events
  1. undatedBuilt
    Sunil Pai built Project Think
    co-developer
    Verified1 source· Web· archived
  2. undatedBuilt
    Sunil Pai built glamor
    creator
    Verified1 source· Web· archived
  3. undatedCareer
    Sunil Pai previously at Myntra
    Worked on the JavaScript stack
    Verified1 source· Web· archived
  4. undatedCareer
    Sunil Pai previously at Meta
    React team
    Unverified1 source· Web· archived
  5. undatedFounded
    Sunil Pai founded PartyKit
    Founder and CEO
    Verified3 sources· Web· archived
  6. undatedBuilt
    Sunil Pai built Code Mode
    co-creator (co-author of the Code Mode announcement)
    Verified2 sources· Web· archived

Talks 2

24:50
Why Eval++ Is the Next Great Compute Primitive

Sunil Pai and Matt Carey explain how Cloudflare’s Durable Objects provide persistent, addressable compute for building stateful AI agents, with features such as resumable streaming and synchronization across clients. They introduce Dynamic Workers, which run generated code in isolated Workers with explicit capabilities, and describe this as a way to safely use code where teams might otherwise rely on JSON or domain-specific languages. The speakers connect these primitives to Code Mode, MCP servers, generative interfaces, and a possible Cloudflare coding-agent harness. They also discuss the Agents SDK, language support, storage options, and examples of how Cloudflare’s infrastructure shapes agent development.

Jun 8, 2026· 25 min 0:15
19:40
Code Mode: Let the Code do the Talking

Sunil Pai describes Code Mode, where an AI model writes code that runs against a system’s APIs instead of making a long sequence of tool calls. Code can combine actions in one execution and support loops, state, sequencing, and parallel work; in a Cloudflare API example, two tools reduced a potential 1.2 million-token interface to about 1,000 tokens. Pai argues that safe, observable execution environments with explicitly granted capabilities could let people interact with systems through custom code and interfaces generated for their needs. He closes by urging developers to design APIs, documentation, and errors for agents that discover and use those capabilities.

Apr 19, 2026· 20 min 0:16