Securing the agents your customers bring: the case for consumer agent identity
- Ayesha Dissanayaka
- Associate Director/Architect , WSO2
- Geethika Cooray
- Vice President & General Manager IAM BU, WSO2
Most discussions around enterprise AI focus on internal systems: customer support bots, company knowledge bases, automated helpdesks, and scheduled data workflows. Organizations spend considerable effort securing these applications by issuing dedicated credentials, setting up safety guardrails, and maintaining the ability to revoke access at any time.
At the same time, a major shift is occurring on the consumer side. Personal AI tools are rapidly becoming everyday utilities: Meta's Muse reached mainstream users in September 2026 and quickly became a top app, while Microsoft centered Copilot around Autopilot, a personal assistant capable of running background tasks independently. Even if your organization never deploys a single AI agent, your customers are already using their own AI tools to interact with your services.
Ignoring this trend is risky because customer-driven agents are already interacting with online systems, whether companies plan for them or not. For example, US banks recently worked to detect unauthorized third-party agents operating inside customer accounts. On the other hand, attempting to block these tools outright frustrates users who rely on personal assistants to manage their day-to-day tasks. Ignoring the issue leaves businesses blind to automated traffic, while blanket blocking alienates tech-savvy customers and drives them toward awkward workarounds.
To adapt to this changing landscape, organizations need to modernize their identity systems so customer-provided AI agents can interact with services safely, clearly, and efficiently.
We previously explored the user-facing side of this topic in When Customers Become Agents: Managing Identity, Autonomy, and Growth, focusing on how product experiences and growth models adapt when an AI assistant acts on a user's behalf. Here, we look at the underlying identity infrastructure required to make those interactions secure and manageable.
The danger of default credentials
Today, when a consumer wants an agent to work with your enterprise's platforms, they face a complete lack of dedicated delegation mechanisms. To make the agent work, they resort to the only interface available: handing over their personal credentials.
Customers routinely paste session tokens, personal API keys, or raw passwords into third-party tools, local daemons, and cloud runtimes. The resulting traffic creates severe severe security and experience problems:
- Zero visibility: The agent's traffic appears identical to a human sitting behind a browser. Same IP patterns, same session cookies, same endpoints.
- Unlimited access: The agent inherits the user's full authority. It can read private history, alter settings, or execute financial transactions without boundary.
- Shared liability: If an agent misinterprets a prompt, loops infinitely, or suffers a data breach, your security team cannot determine whether an action was intended by the human or executed by a hallucinating runtime.
- Blunt revocation: The only way to stop a rogue agent is to reset the customer's entire account, locking out the human user in the process.
On the other hand, attempting to block by IP or signature triggers an arms race. Agents simply get better at impersonating human browser behavior, stripping away what little signal you had left while frustrating your most tech-forward users.
The identity gap: why traditional infrastructure fails
Legacy identity and access management (IAM) was built around two assumptions: client applications are known in advance, and onboarding involves a manual procurement or developer review step.
Consumer Personal agents break these assumptions entirely:
- Unpredictable volume and lifecycle: A user might spin up a custom agent on a weekend, run it once at 3:00 AM, and dismantle it by morning. No procurement team can process tickets at this velocity.
- Missing context: A standard OAuth token or API key confirms who the credential belongs to, but not what entity is transmitting the request.
Securing this ecosystem requires establishing two distinct facts on every single request:
- Which agent is calling?
- On whose behalf is it acting?
Without both facts, rate-limiting, audit logging, step-up authorization, and compliance tracking become impossible.
The pillars of personal agent identity management
Transitioning from "disguised human traffic" to "managed agent delegation" requires updating your identity architecture across four key areas:
1. Self-service onboarding and machine discovery
Because customer agents arrive unannounced, client registration cannot rely on manual workflows. Your infrastructure must publish machine-readable discovery interfaces, such as standard tool specifications or API manifests, that allow agents to register programmatically at first contact. Trust is determined dynamically by policy, evaluating the runtime, requested scope, and proof of user intent rather than relying on pre-approved client registries.
2. Dual-identity cryptographic authentication
Instead of static secrets or shared bearer tokens, issue key pairs to the agent during programmatic registration. The agent must cryptographically sign every outbound request. This binds the call to both the specific agent instance and the underlying user account, eliminating shared passwords sitting in local configuration files.
3. Intent-scoped authorization and out-of-band consent
Standard OAuth scopes are too broad for autonomous agents. Authorization tokens must carry explicit, signed metadata detailing:
- Targeted intent: The exact operation authorized (for example, "Schedule appointment on date X" rather than general write access).
- Usage limits: Strict replay limits, such as single-use or hard-capped execution counts, along with short expiration windows.
- Direct human verification: For high-stakes or irreversible actions like financial transfers, account deletions, or policy changes, the authorization flow must trigger an out-of-band approval prompt directly to the human user's primary device (via push notification or a secure web session), bypassing the agent completely.
4. Surgical containment and isolated revocation
Security teams must be able to treat the agent and the human as separate principals. When an agent exhibits anomalous behavior, high error rates, or unexpected request volumes, your identity layer should allow you to revoke or suspend that specific agent credential instantly, without invalidating the customer's primary login or disrupting their manual access.
From security risk to competitive moat
Managing consumer agent identities is not merely a defensive posture; it is a fundamental business opportunity.
When consumers adopt AI agents to manage their personal workflows, comparing prices, booking services, filing claims, or managing subscriptions, those agents will naturally route business toward platforms that make delegation frictionless and secure.
If your platform requires fragile web-scraping or unsafe credential sharing, personal agents will fail or avoid your service altogether. Conversely, platforms that offer clean programmatic discovery, secure delegation standards, and transparent identity controls will become the preferred endpoints for the emerging agentic economy.
The standards are not settled, but agents will not wait
It is worth being candid about the current state of industry standards. There is no finalized, universal specification for how an unknown agent introduces itself to a service, how it communicates transaction intent, or how a platform defines what an agent may execute. The Model Context Protocol (MCP) addresses parts of the puzzle, while traditional authorization standards are being pushed well beyond their original design limits. Much of this tooling is nascent, and several early implementations will not survive enterprise production.
The default impulse for many security leaders is to pause and wait for standard-setting bodies to publish a finished playbook. With autonomous agents, that delay is a critical mistake.
Unlike standard applications, modern agents write their own integration code at runtime. Given a structured, machine-readable interface, an agent can dynamically generate the tools it needs to interact with your platform on the fly. The technical connective tissue is a problem agents can solve for themselves.
Because integration code can be generated on demand, the real bottleneck is not the protocol itself. The scarce capabilities are the two fundamentals that an agent cannot invent on its own:
- Discovery: How the agent locates your platform, verifies its capabilities, and understands the terms of interaction.
- Secure delegation: How the agent registers, authenticates, and obtains scoped authority without forcing a human user to copy and paste sensitive credentials into a prompt.
Publish clear, machine-readable specifications. Automate registration through programmatic endpoints. Ensure that every token carries verifiable, cryptographically signed authorization. Organizations that build discoverable, securely enrollable endpoints today will align naturally with future standards, because those eventual frameworks will formalize this model rather than replace it.
Five questions every security leader must answer today
Regardless of whether your organization plans to deploy its own AI agents, customer-driven agents are already interacting with your API endpoints and web portals. To evaluate your current readiness, ask your engineering and security teams:
- Visibility: Can your logging systems distinguish between a human browsing your site and an automated personal agent acting on their behalf?
- Attribution: For any given incoming API call, can you definitively identify both the software agent making the call and the specific user who authorized it?
- Automated onboarding: Can an agent brought by a brand-new customer register and request bounded access without manual intervention from your team?
- User transparency: Can your customers view an active inventory of third-party agents they have authorized to access their data?
- Targeted revocation: Can you revoke a single misbehaving agent's access without locking the customer out of their account?
If the answer to any of these questions is "no," the gap is not an application bug. It is an identity infrastructure gap. Resolving it before an incident occurs ensures that as your customers delegate more of their lives to AI, your organization remains both secure and accessible.
How WSO2 Agent ID can help you
Addressing these challenges requires a dedicated identity infrastructure built specifically for the agentic era. WSO2 Agent ID bridges this critical gap by treating AI agents as first-class, verifiable identities separate from human credentials and static service accounts.
- Self-service onboarding. An existing customer's agent registers programmatically at first contact and receives its own credentials, not a shared secret. The owner is recorded server-side, under the user's authorization, so an agent alone cannot claim whose behalf it acts on. That binding can happen at registration or at any point after it, so an agent is usable before the owner has authorized it, within whatever limits you set for an unbound agent. An agent may also reach you before its owner has an account at all: it registers and gets an identity first, and the human is bound to it later, in the same flow or within a window you define. Some agents never have a human behind them at all. Either path runs without anyone on your team processing a ticket, which answers question three.
- Dual-identity attestation. Tokens name the human as subject and the agent as actor. They are short-lived, audience-bound, and bound to the agent, so a copied token is useless elsewhere. Downstream services see who acted and on whose authority, and your logs separate agent traffic from human traffic because the token says so. That answers questions one and two.
- Approval that reaches the person, not the agent. When an action crosses an owner-set threshold or cannot be undone, the prompt goes out of band to the owner's own device while the agent waits, and consents at the server side. The agent never becomes the authority of the confirmation.
- Revocation scoped to one agent. Suspend that agent's grant and the customer's own login and other authorized apps keep working. Short token lifetimes make suspension effective within minutes. That answers question five.
None of this waits for the standards to settle. The eventual specifications will formalize the same model: a registered agent, a named owner, a scoped grant, and an independent off switch.
Learn how to secure your enterprise endpoints and support consumer-brought agents by visiting WSO2 Agent ID or contacting our team.