Smithtune is in beta.
How Smithtune works
1
Create a dataset
Select trajectories from a tracing project with a trace query filter, a model judge, or both.
2
Prepare data
Validate the trajectories, then split them into training, validation, and test data. Each trajectory stays in one split.
3
Train a model
Preview the run, then fine-tune a supported model with your provider.
4
Compare results
Evaluate the base and tuned models on the test data, then compare the experiments in LangSmith. Evaluation does not require a deployed endpoint.
5
Deploy an endpoint (optional)
Serve the tuned model for your application. To run an agent that uses it in production, see LangSmith Agent Server.
Set up Smithtune
Smithtune requires trajectories in a tracing project or a LangSmith trajectory dataset. You also need API keys for LangSmith, your training provider, and a judge model. Training, evaluation, and deployed endpoints incur charges from the services you use. To set up Smithtune:- Install Smithtune and the LangSmith CLI, and set your API keys. Follow the Smithtune README for the install command and the environment variables each provider needs.
-
Read the data rights and permitted use terms linked from the README, then acknowledge them before your first run:
-
Check your local setup:
smithtune --help.
See also
Connect these docs to your agent of choice via MCP for real-time answers.

