WhoBuilt

You Didn't Ship a Bug. You Just Wrote It for a Human.

Jul 19, 2026· 13 min· 933 views·Watch on YouTube

Speaker

Ravi Madabhushi, co-founder of Scalekit, explains why applications, APIs, and MCP servers need authorization designed for AI agents, drawing on Scalekit’s experience with identity and authentication systems.

A human activity signal created database pressure

Scalekit saw latency spikes every 15 minutes and traced them to updates of a user’s last-seen timestamp. Agents calling the APIs caused those updates to happen 60 times faster than before. Batching updates at the second level eased the pressure, but the incident exposed an assumption built around human activity.

Existing identity patterns assume predictable actors

Ravi describes two common patterns: a person acting through an application or API key, and a service account with its own identity and permissions. Both rely on the idea that the authenticating identity is also the actor, or that a deterministic program acts within permissions set in advance. Developers can inspect such programs to understand what they are designed to do.

Agents blur who acts and what they may do

With agents, the principal and actor can differ because an agent may act on a user’s behalf. Ravi says many systems do not support that delegation clearly, while agents’ nondeterministic behavior makes it harder to predict what they will do on each run. He also observes that MCP servers often expose the same available tools regardless of which user authorized the agent.

Scope agent permissions to the task and context

Ravi calls for agents to have their own identities, remain bound to the users they act for, and receive fine-grained credentials. Permissions could limit actions by attributes, context, principal, recipients, or time, rather than relying only on broad scopes such as permission to send email. He recommends least privilege by default, with just-in-time authorization for elevated access.

Track authorization and every agent action

Ravi says agent incidents, including agents deleting production databases, make guardrails an immediate concern. He cites ref.tools, whose product provides context to coding agents and whose team built an OAuth scoping system. He recommends recording who acted, on whose behalf, who authorized the action, what access was granted, and how long it lasts; he presents OAuth as a starting point that needs finer controls.

Takeaways

  • Treat agent traffic as a different workload: revisit human-centered assumptions such as updating last-seen data on every request.
  • Bind each agent to a specific user and record both the agent’s identity and the user’s role as principal.
  • Grant only the tools and data an agent needs for its current job, with limits based on context and time.
  • Use just-in-time authorization when an agent needs elevated access.
  • Log who authorized each action, what access was granted, and how long it lasts.

Mentioned in this talk

Search inside this talk

What was claimed 7

  • previously at
    worked on identity and authentication operations
    “I've worked on identity and authentication operations for the last 10 years, building an identity platform at Freshworks.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • founded
    co-founder
    “I'm Ravi, one of the co-founders of Scalekit.”
    YouTube
    Verified3 sources· Talk, Web· archived
  • feature
    Scalekit: Its last-seen update system was changed to batch updates at the second level after agent traffic caused more frequent writes
    “this last-seen update was happening 60 times faster”
    YouTube
    Unverified1 source· Talk
  • feature
    OAuth: Supports user-granted scopes for delegated access
    “the user will grant specific scopes or permissions to the agent”
    YouTube
    Unverified1 source· Talk
  • feature
    MCP: Often expose all tools available to the user or application without limiting tool context based on which user authorized the agent
    “They typically surface all the tools that the user has access to, or all the tools that the application can support”
    YouTube
    Unverified1 source· Talk
  • feature
    governed actions: Agents should have their own identity, remain bound to the principal, and receive limited, fine-grained permissions
    “the actor, in this case an agent, has to be bound to the principal at all times”
    YouTube
    Unverified1 source· Talk
  • uses
    an OAuth scoping system for coding agents
    “They built the entire OAuth scoping system”
    YouTube
    Unverified1 source· Talk

Related talks