Langfuse: Tracing an AI Assistant for Audit
Trace fields mapped to the questions an auditor asks.
The challenge
What teams are up against
Typical situation, not a client: a lender runs an internal AI assistant. Audit asks what it did on a given request, for which user and under which release, and today nobody can say.
Our approach
How we deliver it, step by step
- 01
List audit questions
Write the questions: who asked, what steps ran, which model and release answered, what came back.
- 02
Map questions to trace fields
Use traces and nested observations for steps, user and session fields for who, and environment, release and version for which build.
- 03
Add tags and metadata
Agree tags for use case and data class so traces can be filtered.
- 04
Handle personal data
Decide what is masked before it is sent to Langfuse and how long traces are kept.
- 05
Test on one question
Pick a real past request and answer the audit questions from the traces alone.
Architecture
The components involved
From the top of the stack down
The assistant sends a trace for each request to Langfuse, with nested steps, user, session, tags, metadata, environment and release. A field map ties each audit question to a field.
Outcomes
What changes when it is in place
Audit can follow one request step by step.
Traces carry the release that produced them.
Masking and retention are decided up front.
Why Duczer East
Senior practitioners, from scope to delivery
We build the field map from your auditors' questions, so tracing starts with a purpose.
About Duczer EastFAQ
Questions we are asked about this
What does a Langfuse trace contain?
A trace groups the observations for one request, such as model calls and tool calls, and carries user, session, tags, metadata, environment, release and version.
Does tracing capture personal data?
It can. Decide what to mask or leave out, and set retention, before you turn it on.
Related use cases
More problems we solve this way
Use cases on the same platform or for the same industries. Browse all use cases.
Kubeflow: A Shared ML Platform for Several Teams
Tenancy and quota design using Kubeflow Profiles.
Read use caseKubeflow: Pipelines for Fraud Model Retraining
Pipeline stages with approval gates for fraud model retraining.
Read use caseLangfuse: A Self-Hosted Rollout for a Health System
Hosting and retention settings for self-hosted Langfuse.
Read use caseMLflow: A Model Registry that Feeds Model Risk Reviews
Registry fields mapped to the evidence a model reviewer asks for.
Read use caseMLflow: An On-Premises Rollout for a Lender
A deployment plan covering storage, sign-in and backups for MLflow.
Read use caseAI Readiness Assessment: A Fixed-Scope Data Review in 2 to 4 Weeks
Find out whether your data is ready for AI before you build. Fixed scope, 2 to 4 weeks, and a plan sized against facts.
Read use caseRelated insights
Further reading from our practitioners
Analysis and guides on the questions this use case raises. All insights.
GuideSR 11-7 explained, and what SR 26-2 changed
How new Fed guidance reshapes model risk management for banks
MLflow on Databricks: tracking and registry for audit
Mapping registry fields to what a model risk reviewer asks
Cloudera Data Services 1.x vs 2.0: how to decide what to run
What the public documentation shows, and what to confirm before you commit
Let's Talk
Talk through this use case
Tell us about your systems and where you are today. A senior practitioner replies, and only your email is required.


