Go to LIA Engine
Guide

AI output validation and testing for developers

LIA Engine · November 19, 2026

Short answer: in production, every AI response is checked before it is used: format, math and the rules of the request. With LIA Engine that happens in the middle of your AI call, without switching providers, and every response comes back with its certificate.

Why validating the JSON is not enough

A schema guarantees the response has the right fields. It does not guarantee the values are true. A "total": 93500 passes any type check even when the right total is 102850. Testing AI output means checking both: shape and content.

What to test in LLM output

How LIA Engine fits in

If your system already calls an AI from code, LIA sits in the middle: same way of calling, your same AI and your same key. Change one address and you are done.

from openai import OpenAI client = OpenAI( base_url="https://liaengine.com/v1", api_key="lia_...", default_headers={ "x-lia-proveedor": "openai", "x-upstream-api-key": "sk-...", }, ) r = client.chat.completions.create(model="gpt-4o-mini", messages=[...]) # r.liaCertification → CERTIFIED, or what could not be checked

It works the same with JavaScript, curl or any OpenAI-compatible library.

What about AI-generated code?

LIA checks answers that can be compared against data and rules: math, formats, data taken from documents. AI-generated code validation still needs automated tests and code review. LIA does not replace them.

Certificates anyone can check

Every response that passes the rules comes with a certificate signed with Ed25519. It is checked with a public verifier under the MIT license, no account needed. If anyone changes a single number, the signature stops being valid.

Get your key and try it with your AI. 50 free verifications, no card. Your console has the code ready with your keys.

Start free