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
- 0:00Intro (opens YouTube at this moment)
- 0:43How agents get credentials today (opens YouTube at this moment)
- 3:46What's wrong with this picture (opens YouTube at this moment)
- 5:15Using OAuth for agents (opens YouTube at this moment)
- 7:10Why it gets hard at scale (opens YouTube at this moment)
- 8:21What proper agent auth needs (opens YouTube at this moment)
- 9:52One request, many steps (opens YouTube at this moment)
- 11:16Why SDKs aren't enough (opens YouTube at this moment)
- 12:37Gateways: keep credentials away from agents (opens YouTube at this moment)
- 14:55Gateway tradeoffs (opens YouTube at this moment)
- 16:24How Keycard approaches it (opens YouTube at this moment)
- 17:26Takeaways (opens YouTube at this moment)
Sources
- Who Is Making This Request? Agent Auth 101 - Kamil Potrec, KeycardVideoPrimaryyoutube.com
- AI EngineerChannelPrimaryyoutube.com
More videos
20:51advancedTraining Your Own Agent Models With RL Is Now Practical - Jason Mancuso, Modal
A 21-minute talk from Modal for engineers with agents in production who want to train their own models with asynchronous RL instead of treating models as swappable backends.
AI Engineer · 3.2K views ·
13:27intermediateYour Financial Agent Needs to Show Its Work - Anirudh Veeraragavan, Fieldguide
A 13-minute talk on four safeguards that make a financial audit agent's decisions traceable, for engineers building agents for finance and audit work.
AI Engineer · 160 views ·
18:28intermediateAI Can't Make Up a Number It Can't Look Up - Vinoo Ganesh, Kepler
An 18-minute talk on stopping language models from inventing financial figures, for engineers building AI over documents where each number has to be right.
AI Engineer · 4.3K views ·
11:47advancedHow Revolut Cut AI Coding Costs 90% With Self-Hosted Open Models - David Abitbol, Revolut
For AI infrastructure teams and engineering leaders, Revolut's case covers self-hosted GLM costs, delivery times, GPU tuning, and compliance.
AI Engineer · 8.2K views ·


