Skip to content
TruLens → EvalGuard

Keep your feedback scores. Add security and compliance. 

TruLens is a great open-source feedback-function evaluation framework — the RAG triad and more. EvalGuard imports your TruLens records — inputs, outputs, token cost, and every feedback function score all carry over — then adds hosted red-team scans (300+ plugins), a runtime LLM firewall, an AI gateway, and a SOC 2 evidence engine on the same data. No sign-up needed to run your first import.

SOC 2 evidence engineISO 42001 mappedEU AI ActGDPR

Honest positioning

Where TruLens stops, EvalGuard keeps going

TruLens is a first-class open-source eval framework — feedback functions and the RAG triad are genuinely good. EvalGuard overlaps on evals and feedback scoring, then extends into the hosted security platform, runtime firewall, AI gateway, and compliance work you'd otherwise buy separately.

CapabilityTruLensEvalGuard
Feedback functions (RAG triad) YesYes — 200+ scorers incl. groundedness/relevance
Record + feedback logging YesYes — governed traces + eval runs
Token / cost tracking YesYes — per-org cost ledger + budgets
Open source & self-hosting YesYes — Apache-2.0 core, self-host available
Red-team & security scans Not offeredYes — 300+ attack plugins with threat-feed sync
Runtime LLM firewall / guardrails Not offeredYes — real-time input + output firewall
AI gateway / BYOK proxy Not offeredYes — BYOK gateway, 15 proxied providers, semantic cache
SOC 2 evidence engine Not offeredYes — live evidence engine + audit log

Migration path

Bring your records in one command

Everything stays local until you choose to run it — we never touch your TruLens database. Export your records, then convert them to neutral-shape spans with the EvalGuard CLI.

1
Export your TruLens records to JSON
# Python: records, _ = session.get_records_and_feedback() # records.to_json('trulens-records.json', orient='records')
2
Convert to neutral spans with the CLI
npx @evalguard/cli import:traces --from trulens trulens-records.json --output spans.json
3
Then scan, gate, or run evals on the same data
npx @evalguard/cli scan # 300+ red-team attacks on your migrated data

Every feedback function becomes a trulens.feedback.<name> score, token cost lands from cost_json, and a record error becomes an error span. Then layer on red team, a runtime firewall, and a SOC 2 evidence engine.

Want a hand with the migration?

Send us your TruLens export and we'll help you map it and validate the first import. Free.