WhoBuilt

It's 10pm. Do You Know Where Your Agents Are?

Jul 20, 2026· 23 min· 892 views·Watch on YouTube

Speaker

Kim Maida, founding GTM engineer and head of DevRel at Keycard, explains how OAuth token exchange can give AI agents safer, more accountable access at an AI Engineer event.

Agents with broad API keys

Maida compares unsupervised agents to children out late without anyone checking on them. In an incident management demo, one broad API key lets an agent renew a certificate, restart production, and scale services. It also drops a billing database without checking for a backup.

Where access control fits

Agents tend to use the permissions available to them, even when people supervise their work. Maida traces an agent’s execution path from a user prompt through the runtime, model, MCP client and server, to a resource API. She identifies this path as a place to add access controls.

Exchange tokens for scoped access

Maida describes using OAuth token exchange with a security token service. The user signs in and delegates some permissions; the agent runtime then requests a short-lived token for a specific tool call. Policy can consider the agent, user, requested access and resource before issuing a credential.

Apply policy to real incidents

In the updated demo, the audit log shows who the agent is acting for and which resources it contacts. Policy blocks a database deletion before a credential is created, and rejects a production restart even after the user approves it because the user lacks the required role. It allows scaling when the user has permission.

Use standards across agent setups

Maida summarizes the approach as identity for both the user and agent, plus task-scoped, short-lived access governed by policy. She says token exchange can work with off-the-shelf and custom agents, MCP servers and gateways, command-line tools, and OAuth identity providers. In the Q&A, she recommends starting with scopes already defined by the resource server and adding MCP tool scopes as needed.

Takeaways

  • Give agents only the permissions needed for each tool call.
  • Check policy before issuing credentials so blocked actions never receive a token.
  • Record both the agent identity and the user it acts for.
  • Require a user to hold the right role before their approval can authorize a sensitive action.
  • Start scope design with permissions already defined by downstream resource servers.

Mentioned in this talk

Search inside this talk

What was claimed 5

  • works at
    Founding GTM Engineer & Head of Developer Relations
    “I am the founding GTM engineer and head of DevRel at Keycard”
    YouTube
    Verified3 sources· Talk, Web· archived
  • feature
    Token exchange: Supports task-scoped, short-lived, ephemeral access tokens for downstream resources
    “This spec can be used to address agent access”
    YouTube
    Unverified1 source· Talk
  • feature
    Security Token Service: Evaluates governance policy before issuing an access token
    “If the delegation chain and requested access are within policy, the security token service issues an access token”
    YouTube
    Unverified1 source· Talk
  • uses
    “I'm going to authenticate with Google as myself”
    YouTube
    Unverified1 source· Talk
  • feature
    Keycard: Standards-based platform for providing a security token service and policy governance
    “a standards-based platform for providing a security token service and policy governance”
    YouTube
    Unverified1 source· Talk

Related talks