Skip to main content
Creates a new Truss project in the specified directory with the standard file structure.

Options

TrussServer | TRT_LLM
default:"TrussServer"
Server type to create. Default: TrussServer.
TEXT
Value assigned to model_name in config.yaml.
Use code-first tooling to build the model. Default: --no-python-config.
humanfriendly | W | WARNING | I | INFO | D | DEBUG
default:"humanfriendly"
Logging verbosity. humanfriendly (default) is pretty-printed; INFO, DEBUG, WARNING produce structured logs.
Disable interactive prompts. Use in CI/automated contexts where stdin isn’t a TTY.

Arguments

TEXT
required
Directory where the Truss project is created.
Examples: Create a new Truss project:
You should see:
This creates the following directory structure:
Create a Truss with a custom name:
Create a Truss with TRT_LLM backend: