EOXLABS builds AI systems and agents that an organization can check. A language model's output is treated as untrusted input: it is validated against a typed schema, traced to the source it came from, sent to a person when confidence is low, and measured against a written evaluation set before and after every change.
When should an organization bring in EOXLABS for an AI system?
- A pilot works in a demo and fails on real documents, real phrasing or real edge cases.
- Someone downstream, such as an auditor, a clinician or an analyst, needs to know why the system produced a value.
- The model's output is written into a system of record (a claim, a chart, a ledger), not only shown in a chat window.
- An agent will call tools that change data, send messages or spend money.
- Nobody can say whether last week's prompt change made results better or worse.
Which guardrails does EOXLABS build in, and what does each one catch?
| Guardrail | What it catches | How EOXLABS builds it |
|---|---|---|
| Schema validation | Missing fields, wrong types, values outside allowed ranges | Every output is checked against a typed schema, such as a JSON Schema, before anything downstream reads it. A failure is a recorded event, not a silent retry. |
| Provenance | Values nobody can trace | Each value stores its source document and location, plus the model and prompt version that produced it. This is data provenance at field level. |
| Human review | Low-confidence or high-impact outputs | A review queue with thresholds set per field. Reviewer decisions are logged and feed the evaluation set. |
| Evaluation | Regressions from a new prompt, model or index | A versioned set of real inputs with expected outputs, run before every release. Results are kept with the release. |
| Retrieval | Answers drawn from the model's memory instead of the organization's documents | Answers are grounded in retrieved passages and cite them. When nothing relevant is found, the system says so. |
| Tool permissions | An agent taking an action it shouldn't | Each tool has a narrow scope. Irreversible actions wait for a person to confirm. Every tool call is logged with its inputs. |
How does EOXLABS build an AI pipeline, step by step?
- Write the output schema before the prompt. The schema is the contract with every system downstream. Prompts change often; the contract should not.
- Collect the evaluation set from real inputs. The set uses inputs the organization is authorized to process, including the badly scanned, the ambiguous and the incomplete. Each input gets an expected output agreed with the people who do the work today.
- Build the narrowest pipeline that passes. Retrieval if the task needs the organization's documents, then the model call, then validation, then routing to review. Nothing more until the evaluation set says it is needed.
- Choose the model last. Candidate models are compared on the evaluation set, on cost, and on where each is allowed to send data. Cloudflare's AI Gateway adds request logging, caching, rate limiting and model fallback in front of a provider when the design calls for them.
- Run in shadow first. The system produces outputs beside the existing process, and reviewers compare the two before the system's output is used for anything.
- Ship with reproducible runs. Each run records its inputs, model, prompt and index versions, so any output can be regenerated and explained later.
How does retrieval-augmented generation work in an EOXLABS system?
Retrieval-augmented generation grounds a model's answer in passages fetched from the organization's own documents at question time. EOXLABS designs the retrieval side with the same care as the database.
Documents are split into passages, embedded, and stored with their source and access rules. The default store is Postgres on Neon, where the pgvector extension stores embeddings and supports similarity search with HNSW and IVFFlat indexes. Keeping vectors beside the relational data means one set of access rules covers both. Cloudflare Vectorize, a globally distributed vector database, is the alternative when the index should sit next to Workers rather than next to the relational data.
Three rules hold in every design. Retrieval filters by the caller's permissions before any passage reaches the model, so the model never sees what the user may not. Every answer cites the passages it used. And evaluation measures retrieval separately from generation, because a wrong answer from a wrong passage needs a different fix than a wrong answer from a right one.
What do AXIOM and PHANTOM show about this approach?
EOXLABS's own products follow the same rules. AXIOM, its AI data transformation product, runs schema-aware pipelines: typed schemas in, typed records out, reproducible and versioned runs, and validation and audit logs at every stage. PHANTOM, its document intelligence product, turns PDFs, scans, forms and statements that an organization is authorized to process into structured, validated records. Each value is traceable to the page it came from, and fields with low confidence go to human review.
What does the client receive?
- The output schemas and the validation layer that enforces them.
- The evaluation set, the harness that runs it, and baseline results for the chosen model.
- A review queue and a written guide for reviewers.
- A provenance model: what is stored for each output, and for how long.
- A registry of the model, prompt and index versions in production.
- A risk register organized by the four functions of the voluntary NIST AI Risk Management Framework: Govern, Map, Measure and Manage.
When isn't an AI system the right fit?
- A rule does the job. If a lookup table, a regular expression or a form with validation solves the problem, it will be cheaper, faster and easier to audit than a model.
- No one can say what a correct output looks like. Without examples, there is nothing to evaluate against, and the system cannot be trusted or improved.
- The data can't go to any acceptable model. If the organization isn't authorized to process the data with any available model or deployment option, the project waits for that to change.
- The goal is an agent with no person in the loop on irreversible actions. EOXLABS designs agents so a person confirms those actions. A buyer who wants full autonomy there needs a different partner.
What else does an AI system depend on?
An AI system is only as good as the records it reads, so most engagements include data pipelines with validation and lineage. Agents that act on other systems need the key handling described under security and resilience; the engineering note on envelope encryption for OAuth tokens covers how an agent's stored credentials are protected. Both sit on the capabilities overview.
The Postgres on Neon, Cloudflare Workers and TypeScript stack pages describe the tools under these pipelines.
The guardrails matter most where an error has consequences. The pages on healthcare, financial services and cybersecurity describe those consequences in each sector.