Join our Newsletter — 33% off our NHI Course
Home› Guides› Know Your Agent (KYA) Guide: Verifying AI Agents…
Guide Agent Identity & Access

Know Your Agent (KYA) Guide: Verifying AI Agents Before You Trust Them

PDF for newsletter subscribers · free to read online

← All guides
By Lalit Choda, NHI Mgmt Group Updated 24 October 2026 13 min read
On this page

AI agents now arrive at websites, APIs and payment systems claiming to act for a person or a company, and most services have no reliable way to check who built the agent, who runs it, who it represents or what it has been allowed to do. "Know Your Agent" (KYA) is the name the market has started to use for answering those questions before granting access or money. This guide treats KYA as an emerging, non-standard term: no standards body defines it, and vendors use it for different things. It sets out a vendor-neutral KYA model built from standards that do exist, such as HTTP Message Signatures, signed A2A Agent Cards, verifiable mandates and workload identity, and explains how to verify, tier, monitor and revoke agents. It is written for fraud, IAM, API security and platform teams on the receiving side of agent traffic, and for teams that operate agents and must make them verifiable.

Key takeaways

  • KYA is a practice, not a standard. The term is vendor-driven and has no agreed definition; build it from standard building blocks and avoid locking into one proprietary agent identity.
  • Verify four things, separately. Who operates the agent, which agent instance is calling, which human or organisation it acts for, and what that principal has authorised. Passing one check says nothing about the others.
  • Identity is not intent. A cryptographically verified agent can still be prompt-injected; KYA decides how far to trust an agent, and authorisation and monitoring still bound what it can do.
  • Tie every agent to an accountable party. The most useful KYA output is a verified link from the agent key to an operator you can contact, suspend and, where relevant, hold liable.
  • Make it continuous. Keys rotate, operators change and agents get compromised; KYA needs revocation, re-verification and behavioural monitoring, not a one-off onboarding check.

What KYA means and where it comes from

KYA borrows its framing from Know Your Customer (KYC) and Know Your Business (KYB): before you transact, establish who you are dealing with and how much risk they carry. Searches for the term return vendor material almost exclusively, and the definitions differ: some focus on agent credentials or tokens, some on verifying the developer, some on wallets and spending authority. Treat any claim that a product "is KYA" as a description of that product, not of a standard.

The standards community frames the same problem as agent identity and authorisation. The NIST National Cybersecurity Center of Excellence (NCCoE) published a concept paper in February 2026, open for comment until 2 April 2026, on applying existing identity standards to software and AI agents. Its focus areas are identification (distinguishing agents from humans), authorisation, access delegation that links user identities to agents, logging and transparency that tie actions to non-human identities, and tracking data flows. It names MCP, OAuth 2.0 and 2.1, OpenID Connect, SPIFFE/SPIRE, SCIM, NGAC, NIST SP 800-207, SP 800-63-4 and NISTIR 8587 as relevant standards. The OpenID Foundation's October 2025 whitepaper on identity management for agentic AI recommends treating agents as first-class identities with lifecycle, governance and accountability, and flags recursive delegation and cross-domain trust as unsolved gaps.

KYA differs from KYC in one important way: the agent itself is not the accountable party. A human or organisation always sits behind it, so KYA is mostly about verifying that chain. See the Identity Proofing and KYC Guide and the KYB Guide for the human and business layers.

The four KYA questions

QuestionWhat you verifyBuilding blocksTypical evidence
1. Who operates the agent?The agent provider or deploying organisationKYB of the operator; domain control; contractual onboardingVerified legal entity, domain hosting the key directory, contact and abuse channel
2. Which agent is this?That the request comes from a key controlled by that operatorRFC 9421 HTTP Message Signatures; Web Bot Auth key directory; signed A2A Agent Card; workload identity (SPIFFE, OAuth client credentials)Valid signature, key ID matching a published key, unexpired signature
3. Who does it act for?The human or organisation behind this sessionOAuth delegation and token exchange; verifiable credentials; network programmes that bind agents to a cardholderAccess token with subject and actor; consented user identifiers
4. What is it allowed to do?The scope, limits and expiry of the authorityOAuth scopes; signed mandates such as AP2; spending allowancesConstraints the verifier can evaluate in code

Questions 1 and 2 are the "know the agent" part; questions 3 and 4 are delegation and authorisation. Many failures come from answering question 2 and assuming the rest. See the OAuth Token Exchange and Delegation Guide and the AI Agent Authorisation Guide.

Verification methods compared

MethodHow it worksStrengthLimits
User-Agent string or IP rangesAgent declares a name; operator publishes IP listsTrivial to adoptSpoofable; shared cloud IPs; no link to a user
API key or OAuth client credentialsPre-registered client authenticates to your APIStrong for known bilateral integrationsDoes not scale to unknown agents; shared secrets leak
HTTP Message Signatures (Web Bot Auth)Agent signs each request; verifier fetches public keys from /.well-known/http-message-signatures-directoryPer-request proof, open verification, no shared secretInternet-Draft; proves operator key, not user or intent
Signed A2A Agent CardAgent publishes /.well-known/agent-card.json signed with JWS over an RFC 8785 canonical formTamper-evident description of skills and endpointsSigning is optional (MAY); trust depends on the key source
Network or platform registrationAgent registered and verified with a card network or platform before actingOperator vetted; tokens tied to the agentEcosystem-specific; coverage varies by market
Delegation credentials and mandatesUser-signed authority (OAuth token with actor, AP2 mandate, verifiable credential)Answers who and what, not just which agentNeeds verifier support for the format

How the building blocks work

Signed agent requests

  • RFC 9421: defines the Signature-Input and Signature fields, derived components such as @authority, @path, @method and @target-uri, and parameters created, expires, nonce, alg, keyid and tag.
  • Web Bot Auth: the IETF working group draft draft-ietf-webbotauth-httpsig-protocol-00 (September 2026) profiles RFC 9421 for automated traffic. It adds a Signature-Agent header pointing to the operator's key directory, requires created and expires (recommending expiry within 24 hours), requires tag="web-bot-auth", requires keyid to be a JWK SHA-256 thumbprint and forbids shared HMAC secrets. The directory is a JWK Set served over HTTPS, and keys are rotated by publishing the new key beside the old one.
  • Visa Trusted Agent Protocol: uses RFC 9421 signatures bound to the merchant domain and page, with tags that separate browsing from payment.

Agent descriptions and workload identity

  • A2A Agent Cards: the A2A specification (latest released version 1.0.0) says clients SHOULD verify at least one signature before trusting a card, SHOULD fetch keys over HTTPS, MAY keep a trusted key store for known providers, and MUST NOT use expired or revoked keys. See the Agent-to-Agent Authentication Guide.
  • Workload identity: inside an organisation, give each agent runtime its own workload identity (for example a SPIFFE ID or a dedicated cloud service identity) rather than a shared API key, so every call is attributable to one agent. See the SPIFFE and SPIRE Guide.

Delegated authority

  • Mandates: AP2 binds an agent's public key into a user-signed mandate (cnf claim) with constraints and expiry, so a verifier can check both the agent key and what the user approved. The Agent Payments Protocols Guide covers this in detail.
  • Verifiable credentials: an operator or user credential presented with selective disclosure can prove attributes without exposing everything. See the Verifiable Credentials Guide.

Risk-tiering agents

Not every agent needs the same scrutiny. Tie the depth of KYA to what the agent can do on your service.

TierExample actionsMinimum KYADefault treatment of unverified agents
Read public contentBrowse catalogue, read documentationSigned requests or declared identity; rate limitsAllow with rate limits and bot controls
Act in an accountLog in, change settings, read personal dataVerified operator plus delegated user authorisation (OAuth with user consent)Block; require the user to authorise the agent
Create accounts or contentSign-up, publishing, posting reviewsVerified operator, per-operator quotas, verified contact detailsChallenge or block; never issue credentials before verification completes
Move moneyPurchase, transfer, subscriptionRegistered agent, user-signed mandate or network agent token, step-up outside limitsBlock or fall back to a human checkout

Small organisations can usually rely on their CDN, bot management or payment provider to verify signatures and maintain agent allow lists, and spend their effort on tiering and limits. Large platforms should run their own verification, keep an operator registry with contact and suspension procedures, and publish what they require from agents. See the Bot vs AI Agent Traffic Management Guide.

Where KYA meets existing fraud controls

  • Customer KYC still applies: when an agent opens an account or applies for credit for a person, the person must still pass your normal identity proofing. KYA confirms the agent and its operator; it never substitutes for proofing the human.
  • Device and behaviour signals change meaning: agents run in cloud infrastructure and headless browsers, so signals tuned to flag automation will fire on legitimate agents. Feed signature results into fraud models as a feature, so a verified agent is scored differently from an anonymous bot rather than exempted.
  • Step-up must reach the human: a one-time passcode sent to the agent is not step-up. Challenges for high-risk actions should go to the user on their own authenticator, such as a passkey. See the Passwordless and Passkeys Guide.

Implementing a KYA programme

  1. Measure agent traffic first. Classify current automated traffic by declared agent, signature presence and signature validity. You cannot set policy for traffic you cannot see.
  2. Define tiers and evidence. Agree, per action tier, which of the four questions must be answered and with what evidence, and document how unverified agents are treated.
  3. Verify in log-only mode. Validate RFC 9421 signatures, Agent Card signatures and delegation tokens on live traffic without blocking. Record failure reasons (unknown key, expired signature, wrong tag, missing user delegation).
  4. Onboard operators. For agents that need more than public read access, run KYB on the operator, record its key directory URL, an abuse contact and the user consent model it uses.
  5. Enforce tier by tier. Start with money movement and account creation, where the harm is clearest, then account actions. Keep public read access open with rate limits.
  6. Bind sessions to the verified identity. Issue your own short-lived tokens to verified agents, scoped to the tier and bound to the agent key where possible, so a stolen token is less useful.
  7. Prepare revocation and rollback. Be able to remove an operator or key from your allow list in minutes, revoke issued tokens, and switch a tier back to log-only if verification breaks legitimate traffic.
  8. Re-verify on change. Re-check when an operator's key directory changes, when ownership changes, and on a fixed schedule.

If you operate agents: making them verifiable

  • Sign outbound requests: publish a key directory on a domain you control and sign every request; never share one key across unrelated agents.
  • Publish and sign Agent Cards: include provider details and endpoints, and rotate keys with overlapping signatures.
  • Keep keys out of the model's reach: sign in a separate component or key service the LLM cannot call freely.
  • Carry the user's authority explicitly: use delegated tokens or mandates that name the user and limits, not the agent's own broad credentials.
  • Be reachable: provide an abuse contact and respond to suspension requests. Register agents in your own inventory; see the Identity Governance for AI Agents Guide.

Detection and measurement

Log, for every agent request: declared agent, Signature-Agent URI, key ID, signature result, operator record, delegated user (if any), tier and decision. Watch for unsigned traffic claiming a known agent name, valid keys appearing from unusual infrastructure, bursts of account creation per operator, and a verified agent whose behaviour changes sharply.

  • Share of agent traffic with a valid signature, by tier.
  • Verification failure rate by reason, trended weekly.
  • Operators onboarded with completed KYB as a share of operators with above-read access.
  • Time to suspend an operator or key after an abuse report.
  • Abuse incidents per verified operator versus unverified traffic.

Framework mapping

FrameworkReferenceKYA relevance
NIST CSF 2.0PR.AA-01; PR.AA-02; PR.AA-03; PR.AA-05Manage agent identities; proof and bind them to credentials; authenticate; enforce least privilege
NIST SP 800-53 Rev. 5IA-9 Service Identification and Authentication; SA-9 External System Services; AU-10 Non-repudiation; SI-4 System MonitoringAuthenticate external agents; manage agent operators as external services; attributable actions; monitor behaviour
ISO/IEC 27001:2022 Annex A5.16 Identity management; 5.19 Information security in supplier relationships; 8.16 Monitoring activitiesAgent identity lifecycle; operator onboarding; ongoing monitoring
MITRE ATT&CK v20T1078 Valid Accounts; T1136 Create Account; T1550 Use Alternate Authentication MaterialAgents using stolen or unverified accounts; mass account creation; replayed tokens or signatures
OWASP Top 10 for LLM Applications 2025LLM01:2025 Prompt Injection; LLM06:2025 Excessive AgencyA verified agent can still be steered; limit what any agent may do

Common failure patterns

  • Trusting the declared name: allowing traffic because the User-Agent says it is a well-known assistant. Names and IP ranges are easy to spoof; require signatures for anything above public read access.
  • Issuing credentials before verification completes: in the GemStuffer RubyGems campaign, an agent swarm mass-created accounts with disposable email addresses and a bug issued working API keys to accounts that had never verified their email. Attribution to an operator came later from independent researchers, not from the platform's own controls.
  • Stopping at "which agent": verifying the operator key but not checking which user the agent acts for or what that user authorised.
  • Treating verified as safe: giving a verified agent broad permissions. Verification sets a trust level; least privilege, limits and monitoring still apply.
  • One-time onboarding: no re-verification when keys rotate or an operator changes hands, and no fast way to suspend an operator.
  • Proprietary lock-in: accepting only one vendor's agent token, so legitimate agents from other ecosystems are blocked or pushed to unsigned, less visible routes.

Practitioner checklist

  • Inventory automated traffic and classify it by declared agent and signature status.
  • Define action tiers and the KYA evidence each requires, covering all four questions.
  • Verify RFC 9421 and Web Bot Auth signatures, checking tag, expires and key directory origin.
  • Verify A2A Agent Card signatures and reject expired or revoked keys.
  • Run KYB on operators of agents that act in accounts, create content or move money.
  • Require delegated user authorisation, not the agent's own credentials, for account actions.
  • Issue short-lived, tier-scoped tokens to verified agents and bind them to the agent key where possible.
  • Keep an operator registry with abuse contacts and a tested suspension procedure.
  • Re-verify on key rotation, ownership change and on a schedule.
  • Report signature coverage, failure reasons and time to suspend each month.

Standards and references

Related NHI Mgmt Group resources: Agentic Commerce Identity Guide · Agentic AI Identity Guide · Identity Proofing and KYC Guide · Agent Identity Standards Tracker

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Written and reviewed by Lalit Choda, NHI Mgmt Group. Last updated 24 October 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.