Back to workshops
Workshop Basic or above

Tracing a FAQ agent with Langfuse

November 4, 2026
Observability Tracing Evaluation Langfuse

Recording available with Main or above.

We add Langfuse tracing to a FAQ agent, then turn its traces into reviewed evaluation examples. We start with the existing FAQ application, add the Cloud integration and repeat the setup with a local Langfuse instance.

Follow the code changes to capture model calls and searches, then look at their traces before choosing which answers belong in an evaluation dataset.

Useful resources for this workshop:

The app you will build

We capture the FAQ agent's calls automatically and review its answers before creating reference answers:

We capture the agent's calls automatically, but review its answers before creating reference answers.

We use the FastAPI application from End-to-End Agent Deployment. It searches the DataTalks.Club FAQ and streams answers to a browser. We add the Langfuse client wrapper and observation decorators to that application. Then we create the scripts for moving reviewed traces into an evaluation dataset.

Basic or above required

Upgrade to Basic to access this workshop

  • Full workshop overview
  • Complete page list
  • Step-by-step tutorial
  • Cancel anytime