Skip to content

CrossroadCode-Labs/RealAgentID

Repository files navigation

RealAgentID

RealAgentID

Blockchain-grade security at inference speed.

The trust layer for AI agent networks. RealAgentID gives every AI agent a cryptographic identity - preventing spoofing, replay attacks, and unauthorized commands before they reach your infrastructure.

"As agentic AI redefines what's possible, the boldest organizations will set the pace of transformation." -Databricks, 2026 State of AI Agents

The Problem

AI agents are executing trades, routing medical decisions, processing legal contracts, and running R&D pipelines. Nobody knows if the agent sending the command is actually who it says it is.

The Solution

RealAgentID is the missing trust layer - cryptographic identity for verification for AI agents that operates at subsecond latency, invisible to your real time inference pipeline.

Why Cryptographic Trust - Not Platform Trust

Every major platform will tell you their agents are governed. None of them can prove it without asking you to trust their infrastructure first.

RealAgenID is different. The identity verification is cyrptographic - the math either checks out or it doesn't. No vendor. No cloud console. No MCP workaround required.

Platforms like Oracle and Gemini Enterprise govern what agents do inside their cloud.

RealAgentID governs what agents are

  • cryptographically, anywhere.*

What It Does

  • Generates Ed25519 cryptographic keypairs per agent
  • Signs and verifies messages with sub-millisecond latency
  • Blocks replay attacks via Redis TTL nonces
  • Detects payload tampering in real time
  • Logs all events to a tamper-evident audit trail
  • Tracks behavioral patterns via local AI analysis

Quick Start

'''bash git clone https://github.com/ RealAgentID/RealAgentID.git cd RealAgentID python3 -m venv venv source venv/bin/activate pip install -r requirements.txt python3 tests/test_full_run.py

SDK

from realagentid import Agent

agent = Agent(name="signal_gen", role="signal_gen") agent.keygen() agent.register() signed = agent.sign({"action": "buy", "asset": "BTC"}, channel="signal:btc") verified = agent.verify(signed)

CLI

python3 cli/main.py keygen --name my_agent python3 cli/main.py register --agent-id my_agent --pubkey ./keys/my_agent.pem --role worker python3 cli/main.py list python3 cli/main.py sign --agent-id my_agent --message "hello" --privkey ./keys/my_agent_private.pem --channel tasks:default python3 cli/main.py audit

Verticals

Finance - trade signal verification, strategy scoring, SEC/FINRA audit trails

Healthcare - clinical trial matching, revenue cycle management, R&D pipeline integrity

Legal - precedent based agent coaching, contract execution verification

Research - verified research intelligence, reproducible AI agent workflows

Requirements

Python 3.12+

Redis

Setup Redis

sudo apt install redis-server -y sudo service redis start redis-cli ping

First Production Implementation

TrailStax is the first production implementation of RealAgentID - append-only, hash-chained audit trails and code commit registry for AI agents, built on this protocol.

Post-Quantum Cryptography

RealAgentID implements NIST-standardized post-quantum cryptography via liboqs.

  • Signing: ML-DSA-65 (FIPS 204) - quantum-resistant digital signatures for agent identity
  • Key Encapsulation: Kyber512 - quantum-resistant key exchange for vault encryption
  • Security level: AES-192 / 3072-bit RSA equivalent in classical security

To enable PQC, install liboqs and the Python wrapper:

'''bash sudo apt install cmake ninja-build libssl-dev -y git clone https://github.com/open-quantum-safe/liboqs.git cd liboqs && mkdir build && cd build cmake -Gninja .. -DBUILD_SHARED_LIBS=ON && ninja && sudo ninja install && sudo ldconfig cd ~ && git clone https://github.com/open-quantum-safe/liboqs-python.git cd liboqs-python && sudo pip install . --break-system-packages

Licensing

RealAgentID core is MIT licensed and free forever. Enterprise adapters and the Control Center are available under a commercial license. Contact RealAgentID@proton.me for enterprise inquiries.

About

Cryptographic identity verification and audit trails for AI agents. Zero trust at inference speed. No platform-trust required.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors