The eval + guardrail + red-team + audit platform for AI workloads in law firms, in-house legal, e-discovery, and legal tech. Block privileged-content leakage at the gateway, prove every research output is citation-grounded, satisfy ABA Model Rule 1.6 on confidentiality.
What ships today
Every checked item is in production today. In-progress items are flagged explicitly — no overclaiming, no vapor.
Built for buyer reality
Associate asks the AI to summarize precedent on a specific cause of action. Every cited case must be real (not hallucinated), every quote must be verbatim, every Shepardization must be accurate.
AI reviews an inbound contract against client-policy standards + flags deviations. Must not leak client policy positions to third-party LLMs, must explain every flag in citable terms.
AI categorizes thousands of documents as responsive / non-responsive / privileged. False positives expose privileged material; false negatives expose the firm to sanctions.
Employees ask the AI about company policy on harassment / FCPA / export controls. Must never give legal advice, must always cite the policy section, must escalate the right way.
Wire it in 60 seconds
Per-matter project IDs isolate audit + cost + scorer config. Privilege firewall patterns + citation-fidelity scorers + ABA-1.6 retention live in the EvalGuard control plane.
import OpenAI from "openai";
import { wrapOpenAI } from "evalguardai-openai";
// One wrapped client per matter — per-matter audit isolation,
// cost rollups, scorer thresholds.
const openai = wrapOpenAI(new OpenAI(), {
apiKey: process.env.EVALGUARD_API_KEY!,
projectId: `matter_${matterId}`,
metadata: { vertical: "legal", aba_rule: "1.6", privileged: true },
blockOnViolation: true, // privileged content gate
evalOnResponse: { failOnScore: 0.85 }, // citation-fidelity floor
});
await openai.chat.completions.create({
model: "gpt-4o",
messages: [{ role: "user", content: discoveryReviewPrompt }],
});wrapOpenAI for wrapAnthropic.Stack
Eval, firewall, red-team, audit, BYOK, dashboard — every surface ships out of the box. No bolt-on vendors, no procurement cycle per capability.
Free trial includes the privilege firewall, citation scorers, and matter-isolated BYOK. Talk to us before sending the first piece of client work through any LLM.
Apache-2.0 source · SOC 2 Type II in progress · full trust center