FLAGSHIP · OPEN SOURCE · JAN 2026 - PRESENT
Gateia
The deterministic verification layer for enterprise AI
The problem. LLM output is probabilistic; production systems are not. Teams ship AI features that can leak secrets, emit unsafe markup, or break the data contract downstream code depends on, and "another LLM checks it" is not a guarantee.
The approach. Gateia is an open-source TypeScript SDK that sits between the model and the user as a deterministic gate. Every output must satisfy a Zod contract and code-based policies, using regex and logic engines instead of AI judging AI. It ships with markup-safe, secrets-safe, pii-safe, and finance-safe policies, custom policies typed against the output contract, and audit-mode logging with per-decision trace IDs.
The proof. Live on npm since January 2026, with eight published versions, 1,000+ downloads, and an MIT license. The chat on this page dogfoods it: every answer passes through gateia.verify() before rendering, and each response carries its trace ID. The design reasoning is written up in the two essays below.