agentic-identity
Cryptographic agent identity with Ed25519 anchors, signed action receipts, and scoped trust delegation. One .aid file. Any agent. Any LLM.
Install / Use
claude mcp add agentralabs -- npx -y github:agentralabs/agentic-identityIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Our assessment of agentic-identity
agentic-identity scores 83/100 on our quality scale, 660th of 949 AI & Machine Learning skills we index.
Its MCP Server is 23 KB long, well organised into 45 sections with 21 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 36 days ago, so agentic-identity is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (3 minor notes below). An AI review of the same text found nothing harmful.
- noteInstalls by piping a downloaded script into a shellline 249
curl -fsSL https://agentralabs.tech/install/identity | bash - noteInstalls by piping a downloaded script into a shellline 258
curl -fsSL https://agentralabs.tech/install/identity/desktop | bash - noteInstalls by piping a downloaded script into a shellline 261
curl -fsSL https://agentralabs.tech/install/identity/terminal | bash
AI review by kimi-k2.7-code on 2026-11-04. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
agentic-identity compared with similar skills
All 4 of these similar skills score higher than agentic-identity; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| agentic-identity (this skill)by agentralabs | 83 | 3 | 36d ago | MCP Server |
| claude-memby thedotmack | 100 | 114.4k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 110.0k | 1d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 91.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.1k | today | CLAUDE.md |
Frequently asked questions
- How do I install agentic-identity?
- Run
claude mcp add agentralabs -- npx -y github:agentralabs/agentic-identity. The install tabs above show the steps for each supported agent. - Which AI agents does agentic-identity work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is agentic-identity safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (3 minor notes below). An AI review of the same text found nothing harmful. It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is agentic-identity still maintained?
- The repository was last updated 36 days ago, so agentic-identity is actively maintained.
Skill content
View source on GitHubAI agents have no identity.
Your agent makes decisions, calls APIs, deploys code, and accesses sensitive data. But there is no cryptographic proof it did any of it. No way to verify which agent acted. No way to audit what happened. No way to scope what an agent is allowed to do.
API keys are not identity -- they are shared secrets with no audit trail. OAuth tokens are not identity -- they expire and carry no action history. Logging is not identity -- logs can be tampered with and carry no signatures.
AgenticIdentity gives every AI agent a permanent, cryptographic identity rooted in Ed25519 key pairs. Agents sign every action they take, producing tamper-evident receipts. Trust between agents is granted, scoped, delegated, and revoked through signed trust grants. Everything is verifiable by anyone with the public key.
<a name="problems-solved"></a>
Problems Solved (Read This First)
- Problem: no way to prove which agent took an action. Solved: Ed25519 identity anchors produce non-repudiable signed receipts for every action.
- Problem: agents share API keys with no individual accountability. Solved: each agent has its own key pair; derived session and capability keys isolate operations.
- Problem: no audit trail survives agent restarts or model switches. Solved: chained receipts create a persistent, cryptographically linked history.
- Problem: no scoped permissions for multi-agent systems. Solved: trust grants with capability URIs, time bounds, use limits, and delegation depth.
- Problem: revoking agent access requires rotating shared secrets. Solved: individual trust grants are revoked independently without affecting other agents.
- Problem: private key material stored in plaintext.
Solved:
.aidfiles encrypt keys at rest with ChaCha20-Poly1305 + Argon2id.
# Create an identity, sign an action, verify, grant trust -- four commands
aid init --name my-agent
aid sign --type decision --description "Approved deployment to production"
aid verify receipt arec_7xK9mP2...
aid trust grant --to aid_4Yn3kL... --capability "read:calendar" --expires 7d
Four commands. Cryptographic proof of every action. Scoped trust delegation. One .aid file holds the identity. Works with Claude, GPT, Ollama, or any agent you switch to next.
<a name="benchmarks"></a>
Benchmarks
Rust core. Ed25519 + HKDF-SHA256. Real numbers from Criterion statistical benchmarks:
<p align="center"> <img src="assets/benchmark-chart.svg" alt="Performance benchmarks" width="800"> </p>| Operation | Time | Throughput | |:---|---:|---:| | Ed25519 key generation | 8.80 us | ~114K / sec | | Ed25519 sign | 9.17 us | ~109K / sec | | Ed25519 verify | 19.34 us | ~52K / sec | | HKDF-SHA256 derivation | 972 ns | ~1M / sec | | Identity creation | 8.78 us | ~114K / sec | | Receipt sign | 11.55 us | ~87K / sec | | Receipt verify | 21.77 us | ~46K / sec | | Trust grant sign | 12.41 us | ~81K / sec | | Trust grant verify | 21.84 us | ~46K / sec | | Trust chain verify (depth 2) | 43.51 us | ~23K / sec | | Receipt chain (10 receipts) | 123.77 us | -- |
<details> <summary><strong>Comparison with existing approaches</strong></summary> <br>All benchmarks measured with Criterion (1000+ iterations) on Apple M4 Pro, macOS, Rust 1.90.0
--release. Single-threaded. All operations are independent and scale linearly with cores.
| | API Keys | OAuth Tokens | Signed Logs | AgenticIdentity | |:---|:---:|:---:|:---:|:---:| | Per-agent accountability | No | Partial | No | Yes | | Tamper-evident | No | No | Partial | Yes (Ed25519) | | Survives model switch | N/A | No | Yes | Yes | | Scoped permissions | No | Partial | No | Yes (capability URIs) | | Delegation chains | No | No | No | Yes (depth-limited) | | Individual revocation | Rotate all | Per-token | No | Yes (per-grant) | | Key derivation | No | No | No | Yes (HKDF-SHA256) | | Encrypted at rest | Varies | N/A | No | Yes (ChaCha20-Poly1305) | | External dependencies | Cloud service | Auth provider | Log service | None |
</details><a name="why-agenticidentity"></a>
Why AgenticIdentity
Identity is cryptographic, not administrative. When an agent proves it took an action, the proof is a mathematical signature -- not a log entry that can be altered, not a token that expired, not a shared key that could have been anyone. Ed25519 signatures are non-repudiable: the agent cannot deny what it signed.
One file. Truly portable. Your agent's identity is a single .aid file. Copy it. Back it up. Migrate providers. No cloud service, no auth server, no vendor lock-in. The private key is encrypted at rest with ChaCha20-Poly1305.
Any agent, any time. Create an identity today with Claude. Use the same identity tomorrow with GPT. Switch to a local model next year. The .aid file goes with you.
Scoped trust, not all-or-nothing. Trust grants carry capability URIs with wildcard matching (read:calendar, execute:deploy:*, *), time bounds, use limits, geographic constraints, and delegation depth. Revoke one grant without touching the others.
Receipt chains are audit trails. Every action receipt can chain to the previous one, creating an immutable sequence. Different agents can contribute to the same chain. Chain verification catches any tampering or broken links.
Ghost Writer
New in v0.2.5 -- Auto-syncs identity context to your AI coding tools.
| Client | Config Location | Status |
|:---|:---|:---|
| Claude Code | ~/.claude/memory/IDENTITY_CONTEXT.md | Full support |
| Cursor | ~/.cursor/memory/agentic-identity.md | Full support |
| Windsurf | ~/.windsurf/memory/agentic-identity.md | Full support |
| Cody | ~/.sourcegraph/cody/memory/agentic-identity.md | Full support |
Syncs: active identities, recent receipts, trust grants. Zero configuration.
MCP Hardening
New in v0.2.6 -- Production-grade stdio transport.
- Content-Length framing with 8 MiB limit
- JSON-RPC 2.0 validation
- Atomic writes
- No silent fallbacks
<a name="how-it-works"></a>
How It Works
AgenticIdentity is built on three cryptographic primitives: identity anchors, action receipts, and trust grants.
<p align="center"> <img src="assets/architecture-agentra.svg" alt="AgenticIdentity architecture with identity anchors, receipts, trust web, and key derivation" width="980"> </p>Identity Anchors are Ed25519 key pairs:
| Component | What | Example |
|:---|:---|:---|
| Identity ID | Public key fingerprint | aid_7xK9mP2qR... |
| Signing Key | Ed25519 private key (zeroized on drop) | Encrypted in .aid file |
| Session Key | HKDF-derived child key | Scoped to one conversation |
| Capability Key | HKDF-derived child key | Scoped to one permission |
| Device Key | HKDF-derived child key | Scoped to one device |
| Rotation | Key replacement with signed authorization | Preserves full history |
Action Receipts are signed proofs:
[Observation] ──chain_to──> [Decision] ──chain_to──> [Mutation]
"Error spike" "Rollback" "Deployed v2.3"
signed signed signed
Six action types: Decision · Observation · Mutation · Delegation · Revocation · IdentityOperation · Custom(String)
Trust Grants are scoped permissions:
Alice ──trust──> Bob ──delegate──> Carol
"read:*" "read:calendar"
depth: 2 depth: 1
Grants carry: capability URIs with wildcards, time bounds (not_before, not_after), use limits, geographic constraints, IP allowlists, and configurable revocation channels.
| Purpose | Algorithm | Standard | |:---|:---|:---| | Identity keys & signing | Ed25519 | RFC 8032 | | Key derivation | HKDF-SHA256 | RFC 5869 | | Private key encryption | ChaCha20-Poly1305 | RFC 8439 | | Passphrase stretching | Argon2id | RFC 9106 | | Content hashing | SHA-256 | FIPS 180-4 | | ID encoding | Base58, Base64 | -- |
No custom cryptography. All primitives are from audited, widely-used Rust crates (ed25519-dalek, hkdf, chacha20poly1305, argon2).
{
"version": 1,
"format": "aid-v1",
"encryption": {
"algorithm": "chacha20-poly1305",
"kdf": "argon2id",
"salt": "<base64-16-bytes>",
"nonce": "<base64-12-bytes>"
},
"encrypted_anchor": "<base64-ciphertext>",
"public_document": {
"id": "aid_...",
"public_key": "<base64-32-bytes>",
"algorithm": "ed25519",
"created_at": 1719840000000000,
"name": "my-agent",
"rotation_history": [],
"attestations": [],
"signature": "<base64-self-signature>"
}
}
The public document is stored in plaintext for inspection without the passphrase. The private key is encrypted with ChaCha20-Poly1305 using a key derived from the passphrase via Argon2id (64 MiB, 3 iterations, 4 lanes) + HKDF-SHA256. All intermediate key material is zeroized immediately after use.
</details><a name="install"></a>
Install
One-liner (desktop profile, backwards-compatible):
curl -fsSL https://agentralabs.tech/install/identity | bash
Downloads a pre-built agentic-identity-mcp binary to ~/.local/bin/ and merges the MCP server into your Claude Desktop and Claude Code configs. Identity defaults to ~/.agentic-identity/. Requires curl and jq.
If release artifacts are not available, the installer automatically falls back to cargo install --git source install.
Environment profiles (one command per environment):
# Desktop MCP clients (auto-merge Claude Desktop + Claude Code when detected)
curl -fsSL https://agentralabs.tech/install/identity/desktop | bash
# Terminal-only (no
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
114.4kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
110.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
91.2kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
headroom
79.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
