Suggested path
- Langfuse telemetry – install the SDK, initialise
ensureLangfuseTelemetry, and enable telemetry on agents. - Workflow telemetry – customise the
ai_kit.workflow.*spans, trace human steps, and add metadata.
Key concepts
telemetry: true | false | {...}– enable telemetry on agents and workflows.telemetry.metadata– attach custom attributes visible in Langfuse.telemetry.userId– link runs to an end user with automatic propagation (langfuse.user.id).ensureLangfuseTelemetry– bootstraps the OTEL provider, handles flush/shutdown, and keeps the dependency optional.