@ai-trace/core
v1.1.5
Published
Core cryptography and object validation for AI Trace
Readme
@ai-trace/core
The isomorphic cryptographic engine for Agentic Traceability. It provides the primitives for JCS canonicalization, SHA-256 hashing, and Ed25519 signing.
EU AI Act Ready: Designed for compliance with Articles 12 (Record-keeping) and 50 (Transparency) of the EU AI Act.
One-Liner Integration
Be transparent in less than 60 seconds:
import { AITraceClient } from '@ai-trace/core';
const client = new AITraceClient({ privateKey: '...' });
// Sign and chain any decision in one line
await client.trace({ action: 'CREDIT_APPROVED', amount: 5000 });Features
- Isomorphic: Works in Node.js, Browsers, and Edge Functions.
- Cryptographic Integrity: Uses Web Crypto API and Ed25519 signatures.
- Zero-Trust Discovery: Built-in resolution for agent identities.
