Get Started
trajectory is a SDK that helps you with everything post-building. You can use it to trace, capture user metrics, create custom monitors and run evaluations on your agents. We are working on getting the feature of dataset creation very very soon. trajectory is built and maintained by trajectory.ai.Get your free trajectory API keys
Head to the trajectory and create an account. Then, copy your API key into your environment variables.Install trajectory
- Tab Title
Start tracing with trajectory
Below is a minimal example that instruments a small function and an LLM call. You’ll see both the function and the tool step show up as spans in your trace.trace.py
Next Steps
We provide two things: tracing and evaluation. Explore each area below.Tracing
Observe your agent’s inputs/outputs, tool calls, and LLM calls to debug your agent runs.
Evaluation
Measure and optimize your agent along any quality metric, from hallucinations to tool-calling accuracy.

