Skip to content
HUIAHUB
VideointermediateAgents & automation

Who Is Making This Request? Agent Auth 101 - Kamil Potrec, Keycard

by AI EngineerUploaded Posted 18:35 long5.7K views

Why watchKamil Potrec explains agent identity, delegated access, credential security, and gateway tradeoffs for developers building AI agents.

What this video covers

Kamil Potrec of Keycard opens with the problem of attributing requests made by AI agents. The example in the video description is an agent sending an invoice using a person's token. The central issue is identifying the requester and the authority used for that action.

At 0:43, Potrec looks at how agents receive credentials today. The methods include personal tokens, static keys, and service accounts with more permissions than an agent needs. At 3:46, he examines problems with these arrangements. At 5:15, he turns to OAuth as an authentication option for agents. The chapter at 7:10 addresses why authentication becomes more difficult at scale.

At 8:21, the talk sets out what agent authentication should account for. The requirements named in the description are an identity for each agent, delegated authority, short-lived credentials with limited scope, federation with older systems, policy controls, and auditing. The 9:52 chapter considers how these concerns apply when a single request involves multiple steps.

At 11:16, Potrec explains why SDKs alone are insufficient for this problem. The focus then shifts at 12:37 to gateways that keep credentials outside an agent's direct access. At 14:55, he discusses the tradeoffs of that gateway approach. The comparison gives viewers two implementation approaches to follow through the latter part of the talk.

At 16:24, Potrec describes how Keycard approaches agent authentication. The final chapter, starting at 17:26, collects the talk's takeaways. For readers concerned with agent identity, credential storage, delegated permissions, and request auditing, the chapter markers provide direct entry points into each part of the discussion.

Written by HuiaHub from the creator's title, description and chapters. All credit for the video goes to AI Engineer.

Key takeaways

  • Personal tokens, static keys, and broadly privileged service accounts are common ways agents receive credentials.
  • OAuth is one option for agent authentication, with challenges that grow at scale.
  • Agent authentication needs distinct identities, delegation, scoped credentials, policy controls, and auditing.
  • Multi-step agent requests introduce additional authentication considerations.
  • SDKs alone have limitations for protecting agent credentials.
  • Gateways can separate credentials from agents, but the approach has tradeoffs.

Chapters

  1. 0:00Intro (opens YouTube at this moment)
  2. 0:43How agents get credentials today (opens YouTube at this moment)
  3. 3:46What's wrong with this picture (opens YouTube at this moment)
  4. 5:15Using OAuth for agents (opens YouTube at this moment)
  5. 7:10Why it gets hard at scale (opens YouTube at this moment)
  6. 8:21What proper agent auth needs (opens YouTube at this moment)
  7. 9:52One request, many steps (opens YouTube at this moment)
  8. 11:16Why SDKs aren't enough (opens YouTube at this moment)
  9. 12:37Gateways: keep credentials away from agents (opens YouTube at this moment)
  10. 14:55Gateway tradeoffs (opens YouTube at this moment)
  11. 16:24How Keycard approaches it (opens YouTube at this moment)
  12. 17:26Takeaways (opens YouTube at this moment)

Sources

More videos

All videos