Resources
Reference documentation for the Trace SDK, and starter code you can download and build on.
Code library
Starter projects and datasets to build an exercise on.
Your developer account
Create an API key, check your credits, and review usage.
Help guides
Getting started for teachers
Create a class, get students in, assign the first lesson, and see the work come in.
Teaching with the Agent Builder
Run a first build session, assign a project, and review what students turn in.
Build your first agent
From a blank canvas to a working run, then a tool, then a fix when it breaks.
Quick start for students
Join your class, find your work, use the tutor, and ask for help.
Legal
Privacy Policy
What Trace collects, why we collect it, how long we keep it, and the choices you have.
Terms of Service
The agreement between you and Trace Education for using Trace.
Cookie Policy
How Trace uses cookies and browser storage, and how to manage your choices.
Data Processing Agreement
How Trace processes student personal data on a school's instructions.
Subprocessors
Companies that process data for Trace, their purposes, and their locations.
Trace SDK
Quickstart
Install the Trace Python SDK, sign in, and make your first model call.
Authentication
API keys, the device login flow, and the child-protection pipeline every request runs.
Chat completions
client.chat.completions.create — every option, and everything the completion carries.
Streaming
Reading an approved reply in OpenAI-compatible chunks with stream=True.
Tool calling
Letting a model call your own Python functions, and returning the results to it.
Embeddings
Turning text into vectors with client.embeddings.create.
Models and pricing
The approved roster, capability flags, and reservation estimates for each model.
Credits and limits
How Trace charges for a request, what the ledger records, and every limit the gateway enforces.
Errors
Every exception trace_sdk raises, what causes it, and how to recover.
CLI reference
Every trace command, its options, and its exit codes.
Changelog
Released versions of the Trace Python SDK and gateway, newest first.