trulayer on PyPI) is the primary way to send traces to TruLayer from Python code. It supports manual tracing, auto-instrumentation of popular LLM clients, and async/sync usage patterns.
Install
Minimal usage
What’s included
Full signatures: Reference.
Where to go next
Tutorial
Step-by-step: manual tracing → auto-instrumentation → async → feedback → production.
Configuration
Batch size, flush interval, sampling, PII scrubbing, debug mode.
Reference
Every public export, with signatures and examples.
Concepts
Understand the data model before going deep.