@opena2a/aim-core
No server neededAgent identity in a single npm package. No database, no Docker, no infrastructure.
When to use aim-core
Use aim-core when:
- • You have a single agent or small project
- • You want identity without infrastructure
- • You need Ed25519 signing in Node.js
- • You want local-only audit logging
Use AIM Platform when:
- • You manage a fleet of agents
- • You need a dashboard and analytics
- • You need RBAC and multi-tenancy
- • You need compliance reporting
Install
npm install @opena2a/aim-coreQuick example
import { createIdentity, verifyIdentity } from '@opena2a/aim-core';
// Generate an Ed25519 keypair for your agent
const agent = createIdentity('my-agent');
// agent.publicKey — share with other agents / registries
// agent.secretKey — keep private, used for signing
// agent.agentId — deterministic ID derived from public key
// Verify another agent's identity
const isValid = verifyIdentity(agent.publicKey, signature, message);What's included
Ed25519 Identity
Generate and verify cryptographic keypairs for agent authentication.
Capability Policy
Define what actions an agent is allowed to perform. Enforce at runtime.
Trust Scoring
Calculate and track trust scores based on agent behavior and attestations.
Local Audit Log
Append-only log of all identity events. No external database required.