Cryptographic identity for autonomous agents.
AIM gives every AI agent a unique Ed25519 identity, capability scoped authorization, and a trust score. Add it with the Python SDK, one decorator per protected function, or deploy AIM Server for cross machine fleet governance.
python3 -m venv .venv && . .venv/bin/activate && pip install aim-sdkOpen source. Apache 2.0. Self hosted or AIM Cloud.
Built for non human actors.
Agent Identity Management is the practice of creating, authenticating, authorizing, and governing digital identities for autonomous AI agents. Traditional Identity and Access Management was designed for humans logging in. Agents do not log in. They run continuously, take actions without review, and reconfigure themselves at runtime. They need a different identity model.
| Aspect | Traditional IAM | Agent Identity Management |
|---|---|---|
| Identity Type | Human users | Autonomous AI agents |
| Decision Making | Human in the loop | Autonomous, no human review |
| Behavior | Predictable workflows | Dynamic, emergent behavior |
| Permissions | Fixed roles (RBAC) | Capability based, context aware |
| Lifecycle | Long lived accounts | Ephemeral, dynamic provisioning |
| Trust Model | Static trust after auth | Trust score per agent, read at each authorization |
Six capabilities every agent needs.
Identity, authorization, trust, audit, attestation, and monitoring, each one observable through the CLI or dashboard.
Cryptographic Identity
Every agent receives a unique Ed25519 keypair for unforgeable identity. No shared credentials. No API keys to rotate. Hybrid post quantum keying available for forward secrecy.
- Ed25519 public key cryptography
- Hybrid PQC keying (Ed25519 + ML-DSA-65)
- Request signing and verification
Capability Based Access
Agents are restricted to explicitly declared capabilities. Principle of least privilege enforced at runtime, not at config time.
- Explicit capability declarations
- Runtime enforcement on every action
- Escalation detection and denial
Trust Scoring
A local 8 factor posture score grades setup from files on disk. In server mode each agent has a stored 9 factor score: the server recalculates it when asked and lowers it when the agent breaks a capability rule or drifts, and each authorization reads the stored score.
- 8 factor local posture, 9 factor server behavior
- Drift detection on capability use
- Automated response to trust drops
Audit trail
Actions checked through the SDK are logged with the acting agent, the action and the time, for compliance and forensics. On the server the log is a PostgreSQL table, and access to it is controlled by role.
- Audit log in PostgreSQL on the server
- Access to the log controlled by role
MCP Server Attestation
Automatic discovery and verification of MCP servers your agents connect to. Detect shadow tools before they exfiltrate data.
- Shadow MCP detection
- Tool capability inventory
- Connection monitoring and revocation
Open Observability
The AIM server exports OpenTelemetry traces, metrics, and logs over OTLP to a collector the operator configures.
- OTLP traces, metrics, and logs, no custom agent
- Attribute names proposed to the OpenTelemetry SemConv working group
- Works with Tempo, Prometheus, Loki, and Grafana
The 8 factor trust score.
Local mode answers one question: is the agent set up correctly? Eight weighted signals are read from the agent files on disk and combined into a single score. No black box. Every factor is queryable. Run AIM Server and a separate 9 factor behavioral score evaluates whether the agent should still be trusted. The server stores that score for each agent and rewrites it when it recalculates the score, when the agent breaks a capability rule and when drift detection lowers it; each authorization reads the stored score.
Identity (20%)
An Ed25519 identity exists for the agent in identity.json. The anchor every other factor builds on.
Capabilities (15%)
A capability policy is declared in policy.yaml, so the agent runs under an explicit grant rather than open scope.
Secrets managed (15%)
Secretless integration is active, so credentials are brokered rather than read from the environment.
Audit log (10%)
An audit.jsonl file with at least one event is present.
Config signed (10%)
ConfigGuard entries are present for the agent's configuration.
Skills verified (10%)
HackMyAgent verification has run on the agent skills, so loaded tools are not unscanned.
Network controlled (10%)
An egress policy is detected, so outbound destinations are scoped rather than unrestricted.
Heartbeat monitored (10%)
A runtime heartbeat from agent runtime protection is present, so liveness is observed.
npx opena2a-cli identity trust my-agentRead the live score.
Run it your way.
AIM works as a local only tool for individual developers or as a centralized server for teams managing fleets of agents. Start solo, upgrade to server mode when you need cross machine governance.
Solo Mode
Local. No server required.
Identity stored in ~/.opena2a/aim-core/. Audit log as a local JSONL file. Policies as YAML files. Zero infrastructure to manage. Ideal for individual developers securing their own agents.
npx opena2a-cli identity create --name my-agent- No dependencies or infrastructure
- Ed25519 keypair generated locally
- YAML based capability policies
- Local JSONL audit trail
Server Mode
Centralized fleet management.
Deploy AIM Server, dashboard, and PostgreSQL via Docker Compose. Centralized identity management with a REST API and a fleet dashboard for managing agents across machines.
docker compose up -d- REST API for identity and audit
- PostgreSQL backed audit logs
- Fleet dashboard for cross machine governance
See the deployment documentation for setup instructions.
Wired into the local toolchain.
Identity is the substrate. In local-only mode, HackMyAgent skill verification, Secretless credential handling and ConfigGuard signatures are recorded in the agent's local audit log and counted in its local trust score.
scan-soulWhy this matters now.
AI agents are being deployed into production with shared credentials, blanket admin access, and zero audit trail. Every one of those decisions creates a new class of incident.
The problem
- •Agents deployed with shared credentials or no authentication
- •Blanket admin access granted without capability restrictions
- •Shadow MCP servers with zero visibility or governance
- •No audit trails for agent actions or decisions
- •Legacy IAM cannot handle autonomous, dynamic actors
The AIM response
- Unique cryptographic identity for every agent
- Capability based access with runtime enforcement
- Automatic MCP server discovery and attestation
- Audit logging of actions checked through the SDK
- Purpose built for autonomous AI agents
Real world impact. ServiceNow AI vulnerability, January 2026.
ServiceNow disclosed what researchers called the most severe AI driven vulnerability to date. The disclosure described exposure of Fortune 500 customers through improperly secured AI agents with universal credentials, email only authentication, and unrestricted capabilities.
Read the full analysisFramework integrations.
The Python SDK ships integrations for LangChain, CrewAI and MCP servers. An agent built on another Python framework uses the same identity flow: it registers through the SDK and wraps each action in the same decorator.
LangChain Agents
Secure LangChain and LangGraph agent deployments with cryptographic identity and runtime capability checks.
CrewAI Teams
Identity management for multi agent crews. Per agent identity with shared audit trail.
MCP Servers
Attest and monitor Claude Desktop and Claude Code MCP servers across every machine in your fleet.
Other Python agents
An agent on another Python framework registers through the same SDK and wraps each action in the same decorator. Registration records the framework it detects as the agent type.
Open source. No lock in.
Unlike proprietary identity products from larger vendors, AIM is open source. Self host forever. Read every line of code. Fork it if the roadmap diverges from your needs.
Open source
Apache 2.0 licensed. Inspect, modify, and contribute to the codebase.
Self hosted
Deploy on your infrastructure. Identity, policy, and audit logs stay on disk, and nothing is sent anywhere unless telemetry is explicitly enabled.
Zero cost
No licensing fees. No per agent pricing. No surprise bills.
Three ways to integrate.
Most developers start with the Python SDK. Library authors embed aim-core. Teams running fleets adopt AIM Server. The same identity model works across all three.
Python SDK
pip install aim-sdk
The primary path. Protect any function with a capability grant. secure() generates an Ed25519 keypair, registers the agent, and @perform_action signs every call and asks AIM to authorize it.
pip install aim-sdkUse when
- One decorator per protected action
- Framework auto-detection
- Java and TypeScript SDKs available
aim-core
@opena2a/aim-core
Embed identity directly into a Node.js application. Local only library with Ed25519 keys, capability policies, audit logs, and trust scoring. No server required.
npm install @opena2a/aim-coreUse when
- Building your own agent framework
- Embedding identity in application code
- Custom trust scoring logic
- No infrastructure to manage
AIM Server
opena2a/aim-server
Full server with REST API, dashboard, PostgreSQL backed audit logs, and centralized policy management across a fleet of agents.
docker pull opena2a/aim-serverUse when
- Managing multiple agents
- Cross machine fleet governance
- Centralized audit and compliance
- Forwarding audit logs to Splunk (self-hosted only)
| Feature | aim-core (local) | AIM Server |
|---|---|---|
| Ed25519 Identity | Local keypair | Server issued |
| Audit Log | JSON lines file | PostgreSQL plus API |
| Capability Policy | YAML file | REST API plus dashboard |
| Trust Scoring | 8 factor, local | 9 factor, stored per agent |
| Multi Agent | Per machine only | Cross machine fleet |
| Infrastructure | None | Docker |
Give your first agent an identity.
Install the SDK and wrap one function with a capability grant. Every call is then signed and sent to AIM for authorization, and AIM records its decisions. The same shape works in Java and TypeScript.
python3 -m venv .venv && . .venv/bin/activate && pip install aim-sdkOpen source. Apache 2.0. Self hosted or AIM Cloud.