TheDocumentation Index
Fetch the complete documentation index at: https://docs.baseten.co/llms.txt
Use this file to discover all available pages before exploring further.
truss CLI is your primary interface for everything from packaging and
deploying AI models to building and orchestrating multi-step chains to launching and
managing training jobs.
Use the following commands to manage your models, chains, and training jobs:
- Models: Package and deploy individual model servers.
- Chains: Build and deploy multi-step inference pipelines.
- Training: Launch and manage training jobs.
Install the Truss CLI
Install the Truss CLI
You need uv installed and a Baseten account with an API key.
CLI structure
Thetruss CLI organizes commands by workflow:
Model commands
Use these commands to package, deploy, and iterate on individual models.| Command | Description |
|---|---|
truss auth | Manage authentication (login, logout, status) |
truss login | Authenticate with Baseten (alias for truss auth login) |
truss init | Create a new Truss project |
truss push | Deploy a model to Baseten |
truss watch | Live reload during development |
truss predict | Call the packaged model |
truss model-logs | Fetch logs for the packaged model |
Chain commands
Use these commands to build multi-model pipelines with shared dependencies.| Command | Description |
|---|---|
truss chains init | Initialize a new Chain project |
truss chains push | Deploy a Chain to Baseten |
truss chains watch | Live reload Chain development |
Training commands
Use these commands to launch, monitor, and manage training jobs.| Command | Description |
|---|---|
truss train init | Initialize a training project |
truss train push | Deploy and run a training job |
truss train logs | Stream logs from a training job |
truss train view | List and inspect training jobs |
Authentication
After installing Truss, authenticate with Baseten using one of these methods: Option 1: Environment variable (recommended for CI/CD)~/.trussrc. See truss auth for details on credential storage and managing multiple remotes.
Next steps
Deploy your first model
Package and deploy a model in minutes.
Build a Chain
Create multi-step inference pipelines.
Launch a training job
Fine-tune models on Baseten infrastructure.
Truss configuration
Configure dependencies, resources, and more.