Skip to main content
Comparison

AIM vs Okta for AI Agents

Okta is a cloud identity service. It signs people in to applications, and Okta for AI Agents brings AI agents into the same org: each agent is registered or imported, connected to the resources it may reach, and issued scoped OAuth tokens through Cross App Access. AIM (Agent Identity Management) is an open source platform for AI agent identity. It keeps a registry of agents: each agent has an Ed25519 key, a trust score and a list of capabilities checked through an SDK, and MCP servers are attested by the agents that use them.

The two cover different layers. The open source build of AIM has no built-in integration with Okta or any other identity provider, and it does not replace one. The hosted AIM Cloud adds Google sign-in.

Checked on against Okta's documentation at Okta Identity Engine release 2026.09.2 and AIM at commit 3ab8285e, opens in a new tab. Okta is a cloud service and its help pages carry no version or date, so the release named is the one Okta's production release notes listed as deployed on 2026-10-05, the latest on the day of the check. To report a line that is wrong, use the contact page.

Capability by capability

Signing people in

Okta

Documented. "After end users sign in to Okta, they can launch any of their assigned app integrations to access external apps and services without reentering their credentials." Integrations in the Okta Integration Network "can use OpenID Connect (OIDC), SAML, SWA, or proprietary APIs for SSO."

Source: Single Sign-On, opens in a new tab

AIM

The dashboard has local email and password sign-in. No single sign-on, OpenID Connect or SAML login is wired in the open source build: the repository contains Google, Microsoft and Okta provider code, but no login route calls it.

Source: cmd/server/main.go, opens in a new tab

Agent identities

Okta

Documented. Okta for AI Agents registers AI agents in the org, listed under Directory > AI Agents. A custom-built agent is registered manually. Agents built on a platform such as Salesforce Agentforce, AWS Bedrock or Microsoft Entra Agent Registry are imported from that platform's app. A registered agent has a profile, optional owners, a client registration and a linked app: the agent "can only act on a user's behalf if the user is signed in to the selected app."

Source: Add and register AI agents, opens in a new tab, Add AI agents manually, opens in a new tab, AI agent imports, opens in a new tab

AIM

Each agent is registered with its own Ed25519 public key. The token endpoint accepts one grant: a JWT-bearer assertion signed with that key, in exchange for a bearer token for AIM's own agent API. AIM does not implement the client credentials grant: the token endpoint refuses it.

Source: agent_service.go, opens in a new tab, oauth_token_handler.go, opens in a new tab

Credentials

Okta

Client registration is the "method that the AI agent uses to share its identity to Okta": a client ID alone, a client secret, a public/private key or a Client ID Metadata Document, a URL the agent's developer hosts. Several methods can be staged and one is active at a time. An agent registered with a key authenticates to the token endpoint with a JWT signed "using the key created during the AI agent registration."

Source: Add AI agents manually, opens in a new tab, Set up AI agent token exchange, opens in a new tab

AIM

An agent can sign each request with its Ed25519 key. On routes behind the request-signature check, the server verifies the signature over the method, path, timestamp and body, and rejects a timestamp more than 30 seconds from its own clock. The action-check request is signed over the action's fields (agent, capability, resource, context and timestamp) and verified against the agent's registered key. Agent routes also accept an API key or a bearer token in place of a signature.

Source: pqc_agent_auth.go, opens in a new tab

OAuth flows and delegation

Okta

Documented. An AI agent exchanges a user's ID token, or a calling client's access token, at the org authorization server for an Identity Assertion JWT (ID-JAG) with the OAuth token exchange grant, then exchanges the ID-JAG at a custom authorization server for an access token with the JWT-bearer grant. Okta documents this flow as Cross App Access. When one agent calls another, each is added to the token's act claim, so the access token carries the chain of callers. For a resource behind a third-party authorization server, Okta brokers that server's token, which "requires user consent before an AI agent can act on behalf of the user."

Source: Set up AI agent token exchange, opens in a new tab, Configure Cross App Access, opens in a new tab, Agent-to-agent connections, opens in a new tab

AIM

OAuth token exchange (RFC 8693) is not implemented: the agent token endpoint accepts the JWT-bearer grant only. Delegation exists outside OAuth, in the TypeScript SDK, which creates and verifies Ed25519-signed delegation chains between keys. The AIM server does not issue or check them.

Source: oauth_token_handler.go, opens in a new tab, delegation.ts, opens in a new tab

Proof of possession

Okta

DPoP is documented for OAuth 2.0 client apps: with it, "you create an app-level mechanism to sender-constrain both access and refresh tokens." Okta says its DPoP feature "is based on the current RFC". The AI agent token exchange guide does not mention DPoP as of release 2026.09.2.

Source: Configure OAuth 2.0 Demonstrating Proof-of-Possession, opens in a new tab, Set up AI agent token exchange, opens in a new tab

AIM

DPoP is not found in the AIM repository at this commit. Tokens from the token endpoint are plain bearer tokens. Requests authenticated by signature are signed per call, as in the row on client authentication.

Source: oauth_token_handler.go, opens in a new tab

Permissions

Okta

A resource connection defines what a registered agent can reach: an authorization server, an application, an MCP server, an Agent Gateway, another AI agent, or a secret or service account vaulted in Okta Privileged Access. For an authorization server or an application, an administrator grants all scopes or names the scopes to allow or disallow. "When you deactivate or remove a resource connection, Okta denies all future access requests from the AI agent to that resource."

Source: AI agent resource connections, opens in a new tab, Connect AI agents to resources, opens in a new tab

AIM

Each agent has a list of granted capabilities. The SDK, running inside the agent process, sends each wrapped action to the server, which compares the capability name with that list. In the default mode (monitoring) a capability outside the list is allowed and, under the default policy, raises an alert. The Python SDK's decorator also registers a capability on first use, and in this mode the server grants it automatically. In strict mode a capability outside the list is denied under the default policy, and the SDK blocks the call.

Source: agent_service.go, opens in a new tab, enforcement.py, opens in a new tab

Risk signals and access policy

Okta

Identity Security Posture Management "finds shadow AI agents, and lets you assess the risk each one poses." When one agent calls another, a custom authorization server "checks the configured rules to confirm the connection is allowed, and grants tokens that are scoped to a specific resource and expire automatically." The Identity Threat Protection overview says it "continuously evaluates users and their sessions" and does not mention AI agents. A risk or trust score for a single AI agent is not found in the Okta for AI Agents documentation as of release 2026.09.2.

Source: Discover and assess AI agents, opens in a new tab, Agent-to-agent connections, opens in a new tab, Identity Threat Protection, opens in a new tab

AIM

Each agent has a trust score calculated from nine weighted factors; a factor with no data is left out of the weighted sum. It is recalculated on events such as registration, verification by an administrator, capability changes and capability reports from the SDK. A capability violation also lowers the stored score directly. Each action check reads the stored score.

Source: trust_calculator.go, opens in a new tab

MCP servers

Okta

Documented. An administrator adds an MCP server under Applications and Resources > MCP Servers, secured by an Okta custom authorization server or an external one, and gives an AI agent access to it through a resource connection. An Agent Gateway puts one Okta-hosted URL in front of the MCP servers an administrator selects, limited to the tools the administrator picks, up to 200 per gateway.

Source: Add an MCP server manually, opens in a new tab, Add an Agent Gateway, opens in a new tab

AIM

AIM is not an OAuth authorization server for MCP. Agents submit signed attestations of the MCP servers they connect to, and the server checks each signature against the agent's registered key. A drift alert is raised when a capability detection run finds that a server's manifest has changed since the last run.

Source: mcp_attestation_service.go, opens in a new tab, mcp_manifest_service.go, opens in a new tab

Workload identity

Okta

Not found in the Okta for AI Agents documentation as of release 2026.09.2, checked 2026-10-12: no client registration method there takes a SPIFFE identity, a Kubernetes service account token or a token from an external OpenID Connect issuer. Nearest documented capabilities: a Client ID Metadata Document, which identifies an agent by an HTTPS URL, and Okta Privileged Access workload connections, which verify JWTs signed by providers "including CircleCI, GitLab, GitHub Actions, and Google Cloud Platform (GCP)".

Source: Add AI agents manually, opens in a new tab, About Client ID Metadata Documents, opens in a new tab, Okta Privileged Access: Workloads, opens in a new tab

AIM

Not implemented for agents at this commit: AIM accepts no SPIFFE identity, Kubernetes service account token or external OpenID Connect issuer as an agent credential.

Source: oauth_token_handler.go, opens in a new tab, pqc_agent_auth.go, opens in a new tab

Audit

Okta

Documented. The Admin Console shows System Log events for AI agents. In an agent-to-agent connection the chain of delegation is "stamped into the access token, recording exactly which agent started the request, who it connected to next, and the precise order of those events", and Okta says the System Log can be used to follow it.

Source: Okta for AI Agents, opens in a new tab, Agent-to-agent connections, opens in a new tab, System Log, opens in a new tab

AIM

An action check that passes its signature check is written to the audit log as a row with the agent, the capability, the resource, the stored trust score and whether it was allowed. The write is best effort: if it fails, the check still returns its decision. The log is not append-only at the database layer and is not signed.

Source: verification_handler.go, opens in a new tab, audit_log_repository.go, opens in a new tab, SECURITY.md, opens in a new tab

License and hosting

Okta

A cloud service: the production release notes list release 2026.09.2 as deployed on 2026-10-05. Okta for AI Agents is a subscription, and the token exchange guide asks for an "Okta org that's subscribed to Okta for AI Agents". "All Okta orgs can use Cross App Access (XAA) to secure connections between AI agents and apps." Okta's pricing page says its Workforce Identity solutions "are sold as suites on a per-user, per-month basis and are billed annually."

Source: Production release notes, opens in a new tab, Set up AI agent token exchange, opens in a new tab, Okta for AI Agents, opens in a new tab, Plans and pricing, opens in a new tab

AIM

The repository is Apache-2.0. Self-hosted with Docker Compose. Also offered as a hosted service, AIM Cloud, which is built from a private mirror of the repository with cloud-only additions.

Source: LICENSE, opens in a new tab, docs/DEPLOYMENT.md, opens in a new tab, docker-compose.quickstart.yml, opens in a new tab

Which layer each one covers

Okta

  • Signing people in to applications with single sign-on.
  • Keeping a directory of AI agents, registered by hand or imported from the platform they were built on.
  • Issuing scoped OAuth tokens to agents, for a signed-in user or for another agent.
  • Connecting agents to MCP servers, directly or through an Agent Gateway.

AIM

  • Keeping a registry of agents, each with its own key.
  • Scoring each agent and recording the action checks it submits.
  • Checking each action an agent submits against its granted capabilities.
  • Recording which MCP servers agents attest to, and alerting when a detection run finds a server's manifest changed.

A team can run both: Okta for signing people in, registering agents and issuing their OAuth tokens, AIM for its registry of agents and their action checks. AIM has no integration with Okta at this commit: the repository holds Okta provider code that no login route calls. Agents authenticate to AIM with their own keys or an AIM API key, and in the open source build people sign in to the AIM dashboard with a local account.

Registering an agent with AIM

In the Python SDK, secure() registers an agent and perform_action wraps the actions to be checked. secure() needs credentials first, from aim-sdk login or an SDK downloaded from the dashboard. For a self-hosted server, AIM's README at this commit says to create the agent in the dashboard first. The capability name on the decorator is what the server compares with the agent's grants. The resource is recorded with the check and is not compared.

from aim_sdk import secure

agent = secure("my-agent")

@agent.perform_action("db:read", resource="users_table")
def get_user_data(user_id):
    ...