Show HN: Open-Source Article 12 Logging Infrastructure for the EU AI Act
Summary
The post discusses an open-source TypeScript library that implements an append-only logging infrastructure for AI inferences to help comply with the EU AI Act, specifically Article 12. It logs every inference as structured JSONL, hashes entries with SHA-256 for tamper detection, enforces a 180-day retention floor, and provides a CLI to reconstruct decisions and verify integrity, with optional integration for Mastra and Vercel AI SDK middleware. It aims to improve observability and auditability for high-risk AI systems and invites feedback from the community.