Skip to content

Agent Identity Management

The IAM layer for AI agents: cryptographic identity, capability authorization, and audit trails for non-human identities. Open source.

Install: git clone https://github.com/opena2a-org/agent-identity-management

Install

$git clone https://github.com/opena2a-org/agent-identity-management

Install command taken from the project's README or registry entry. Always review code before running it.

OpenA2A AIM (Agent Identity Management)

OpenA2A: CLI · HackMyAgent · Secretless · AIM · Browser Guard · DVAA

Website · AIM Cloud · Discord

Cryptographic identity, capability authorization, and audit trails for AI agents.

Quick start

pip install "aim-sdk[rich]"
aim-sdk login                              # OAuth to aim.opena2a.org
aim-sdk login --url http://localhost:8080  # or to your self-hosted AIM

The [rich] extra is optional and formats the output shown below; plain pip install aim-sdk works and prints the same fields in a panel. Then register an agent, in a Python session, with the capability it holds. What secure() prints, trimmed (full output):

from aim_sdk import secure
agent = secure("my-first-agent", capabilities=["db:read"])
  ○ Agent Type: using default 'ai_agent'

[OK] Agent registered: my-first-agent
  ...
  Status: ○ pending  Trust: 59%
  Capabilities: db:read

aim-sdk login prints a code you approve on your dashboard's /device page. secure() generates an Ed25519 keypair and stores credentials at ~/.aim/.

The agent starts pending until an administrator verifies it under Agents in the dashboard. On a new organization, which starts in monitoring mode, a pending agent's call runs and raises an Unverified Agent Action (Monitoring Mode) alert. On a strict-mode organization every call is refused with Agent not verified - all actions denied until then.

Once it is verified, protect a function with that capability and call it:

customers = {42: {"name": "Ada Lovelace", "plan": "team"}}

@agent.perform_action(capability="db:read")
def get_customer(customer_id):
    return customers[customer_id]

get_customer(42)

@perform_action signs each call, has the server check it against the agent's granted capabilities and the organization's security policies, and logs the outcome.

The refusal below needs strict mode (dashboard: Security, then Policies, Global Enforcement Mode: Strict); in the default monitoring mode, db:write runs and deletes the record.

Now call something the agent was not granted. my-first-agent holds db:read only:

@agent.perform_action(capability="db:write")
def delete_customer(customer_id):
    del customers[customer_id]

delete_customer(42)

AIM refuses it before the function body runs. What the call prints, trimmed (full output):

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Explore related