AI

Identity for AI Agents

As AI agents act more autonomously (calling APIs, moving funds, talking to other agents), a trust question appears: how does an agent prove who it is, who operates it, and what it is allowed to do? ACTA addresses this with the same primitives it uses for people and organizations.

This page is conceptual and describes patterns. The primitives it references (DIDs, vaults, credentials, and on-chain status checks) exist in ACTA today; the agent-specific packaging is an integration pattern, not a new endpoint. What exists today and what does not at the end lists the limits precisely.

The problem

An API key identifies a client, but says nothing verifiable about the agent behind it: who deployed it, under which organization it operates, what scope it has, or whether it is still authorized. When two agents interact, or when a service receives an agent's request, it needs a portable, verifiable proof, not implicit trust in a shared secret.

ACTA primitives applied to agents

  • DID (`did:stellar`): the agent gets its own decentralized identifier, independent of any platform. This is its verifiable "who". See DID.
  • Verifiable credentials: the operator (a person or organization with their own did:stellar) issues credentials whose credentialSubject.id is the agent's DID, declaring its role and permissions.
  • Vault: the credential is written to the vault of the agent's Stellar account, where it can be read and revoked. See useVault.

The trust chain becomes: the operator's `did:stellar` issued a credential for the agent's DID, and its on-chain status says whether it still holds. ACTA enforces at issuance that the issuer DID resolves and is controlled by the account that signs. At the moment of use, a verifier checks the status with the open POST /contracts/vault/verify-vc route or by reading the vault contract on the Stellar ledger.

Anatomy of an agent credential

An agent credential typically declares:

  • subject: the agent's DID.
  • issuer: the operator's DID (the responsible person or organization).
  • claims: role or purpose, permission scope, limits (for example, amounts or domains), and optionally a validUntil date.
  • status: valid, revoked or invalid on-chain, checkable at the moment of use.

This turns "trust this agent" into something checkable: who vouches for it, what it may do and whether that is still true. Dates inside the credential are data: ACTA stores them but does not enforce them, so the verifier must compare validUntil with the current time itself.

Integration patterns

  1. Agent onboarding: when deploying an agent, create its DID and issue an initial credential from the operator's DID with the minimum scope needed.
  2. Presentation: the agent tells the service or agent it interacts with where its credential lives (vault owner address and credential id), or shares it through a share link. ACTA has no presentation format or derived proofs today.
  3. Verification: the verifier checks the on-chain status, resolves the issuer did:stellar, and checks scope and dates in the credential before acting. See Verifying Credentials.
  4. Rotation and revocation: if the agent is compromised or its scope changes, the operator revokes or reissues. A revocation is visible to every status check made after it lands on-chain.

Security considerations

  • Least privilege: issue the narrowest scope possible. Prefer reissuing over long-lived credentials, and revoke the old one, since an expiry date alone does not stop a verifier who does not check it.
  • Key separation: the operator's signing key must never live inside the agent. The agent carries credentials, not the ability to issue them.
  • No autonomy on sensitive operations: issuing, revoking, or signing value transactions should require operator approval, not sit in the model's autonomous loop.
  • Auditability: log which credential the agent presented for each relevant action.

What exists today and what does not

Available today: did:stellar DIDs for operators and agents, issuance into the agent's vault with issuer DID checks, revocation, and open status checks (verify-vc or a direct read of the vault contract).

Not available today:

  • ACTA does not attach a cryptographic proof (signature) to the credential document. Authenticity comes from the on-chain issuance record and the issuer DID check at issuance, not from a signature a verifier can check offline.
  • There are no verifiable presentations, selective disclosure or derived proofs.
  • Expiry dates inside the credential are not enforced by the contract or the API.

These are integration patterns you can build on top of the current primitives, not features of the platform. To start, read DID and Verifying Credentials, and use Prompt Recipes to have your assistant guide you from the official docs.