← Curriculum
Intermediate
Agents & Access Control
Give agents an identity, scope them tightly, and connect over MCP.
By the end of this track
You’ll be able to give an agent a tightly scoped identity and let it call external APIs without ever holding a credential.
15 lessons~37 min49 questions
Start → Agents as first-class principals- 1Agents as first-class principalsRegister an agent, get its automatic keypairs, and exchange its API key for a short-lived JWT.2 min
- 2Policies and scoped accessGrant an agent read access to one secret path, then use deny rules and priority to carve exceptions out of a broad grant.3 min
- 3Lab: find out what your policy actually matchesLabWrite three patterns you believe are narrow, then list what each one really reaches.2 min
- 4Cedar and OPA policy backendsExpress authorization as declarative Cedar or Rego policy, and dry-run it before it ever denies a real request.3 min
- 5Agent self-enrollment and approvalsLet an agent enroll itself with no credentials and route the approval to a human.2 min
- 6MCP server integrationConnect an AI client to the 1Claw MCP server and run a first list_secrets call.2 min
- 7Execution Intents and bindingsLet an agent call an external API through a binding, so the credential is injected server-side and never enters the model's context.4 min
- 8Lab: build a credential brokerLabWrite both patterns side by side, dump each agent's context, and see the difference the broker makes.2 min
- 9Agent-to-human sharingLet an agent hand a credential it discovered or generated back to the human who created it, without knowing their email.2 min
- 10Peer memory: access control for what nobody grantedSeveral agents can share a model of one human. That model is derived, not granted, which changes what access control has to mean.3 min
- 11Sub-agents and delegationLet one agent hand work to another under a human-authored delegation, with tool allowlists, depth limits, and daily caps.2 min
- 12Lab: watch a delegation chain run awayLabLet agents delegate onward and see what the depth limit is actually stopping.2 min
- 13Agent discovery and A2APublish an agent card to the public directory so other agents can find it over A2A and MCP.3 min
- 14Lab: fetch a real agent's public cardLabPull a live agent's public discovery card and run the same disclosure check the discovery lesson described, against something you did not write.2 min
- 15Capstone: design an access modelCapstoneTake a real brief and produce the identities, policies, and bindings a working system needs.3 min