Colchis Log – cryptographic audit trail for AI systems (Python)
SHA-256 hash chains for AI audit trails—solves EU AI Act compliance elegantly.
Cryptographic accountability ledger for AI agents
Cryptographically chained audit logs for AI agents; offline verification means no SaaS lockdown.
AI agent developers, infrastructure engineers, compliance teams running autonomous systems
If an autonomous agent executes trades, runs shell commands, or modifies infrastructure — how do you prove what it actually did? Imagine a trading bot loses $2M — and the only evidence is logs that can be edited.
Traditional logs are mutable. Append-only files aren’t cryptographically linked. Database rows can be edited.
GuardClaw implements GEF-SPEC-1.0 (Guard Execution Format) — a minimal protocol combining:
• RFC 8785 canonicalized envelopes • SHA-256 causal hash chaining • Ed25519 per-entry signatures • Offline verification via CLI
The ledger is a plain JSONL file. No server required.
pip install guardclaw guardclaw verify your_ledger.jsonl
Anyone with the public key can verify the full history — no access to the original runtime required.
The demo intentionally tampers with a signed entry to show deterministic failure:
[2] execution SIG:FAIL CHAIN:OK [3] execution SIG:OK CHAIN:BREAK Violations: 2 — TAMPERED
You can also edit the JSONL file yourself and re-run verification.
Benchmark (1M entries, single-threaded): ~762 writes/sec ~9k full verifies/sec ~39MB RAM for streaming verification
Limitation: if the signing key is compromised, past history can be rewritten. Key management is intentionally out of scope for the protocol.
Would appreciate feedback on the threat model and failure cases.
PyPI: https://pypi.org/project/guardclaw Spec: https://github.com/viruswami5511/guardclaw/blob/master/SPEC.... Demo: https://github.com/viruswami5511/guardclaw-demo
SHA-256 hash chains for AI audit trails—solves EU AI Act compliance elegantly.
Cryptographic proof-of-authorization for AI actions; solves real agent oversight problem with clever simplicity.
Hash-chained action logs prove what AI agents actually did, not what they claimed.
Ed25519-signed audit trail for AI agents; Dilithium3 optional. Free but early.
OAuth + TLS for AI agents with Ed25519 identity and global kill switch before agents act.
Merkle Mountain Range ledger proves AI agents can't retroactively fake logs—novel crypto primitive.