Lesson 3 of 12 · 3 min read
Authorization at the Protocol Boundary
When an agent calls a tool server or another agent for a user, authorization has to answer: on whose behalf, by which agent, to which service, for what. OAuth mechanisms answer most of it: audience-bound tokens (resource indicators) so a token works only at the intended server, token exchange so an agent obtains a narrower token for a downstream call instead of forwarding the user's, scopes requested incrementally as the task needs them, and no token passthrough. The server still makes the final decision per call, against the user's actual permissions on the specific resource, which is how confused-deputy failures are avoided.
free sign-in, no card required
Practise it as an interviewer asks it
Why do agents need protocols at all? Explain what MCP and A2A each standardise and where each one sits in a design.How can an AI agent pay for something? Name the pieces between 'buy this for me' and a settled payment.How do you compare agent frameworks? Name what every one of them has in common and the questions that separate them.What does MCP standardise, and what does it leave to you?Draw the line between what the model proposes and what the system executes.MCP or A2A for connecting your agent to another team's agent?