Skip to main content

Trajectory SDK

Trajectory SDK converts raw agent traces from observability platforms like LangSmith into a clean, standardized Trajectory format — ready for fine-tuning, evaluation, and analysis.

Install

pip install trajectory-sdk

Key Features

  • Provider-pluggable — LangSmith today, extensible to any trace source
  • Standardized schema — typed dataclasses for messages, tool calls, rewards, and metrics
  • Bulk import — process thousands of conversations from Parquet exports
  • PII redaction — pluggable redaction before data leaves your environment
  • Zero config — three function calls to go from traces to files
All processing runs locally. Your API key and data never leave your environment.