Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Truss

$ truss Official Med Risk
Baseten · AI & Media · MIT · macos / linux / windows

Truss (truss) is Baseten's open-source CLI for packaging Python ML/LLM models into standardized config.yaml projects (truss init), iterating with hot-reload dev sandboxes (truss watch), and deploying to production endpoints (truss push) with --non-interactive and --dryrun flags.

FCRS-1.0 Score
79 /100
Good
Medium Confidence
Zero-Friction Install
pip install truss
CLI vs MCP Decision CLI Only

truss scaffolds local model directories, validates config.yaml, and streams local code edits to remote Baseten GPU sandboxes.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Provides --non-interactive on init and --dryrun on push, though it lacks --json output and truss watch blocks indefinitely.

  • truss init --non-interactive and truss push --dryrun support safe automation
  • No native --json CLI output flag
Trust & Safety 20 / 25

truss push --dryrun validates locally without remote side effects; live truss push provisions billed remote GPU deployments.

  • --dryrun previews generated files before remote deployment
Setup & Portability 11 / 15

Cross-platform PyPI CLI (pip install truss) on macOS, Linux, and Windows.

  • Cross-platform pip install truss distribution
Utility & Efficiency 12 / 15

Hot-reload truss watch and --watch-hot-reload accelerate remote GPU model iteration.

  • Supports in-process --hot-reload and TRT-LLM backend templates
Maintenance & Lineage 9 / 10

Official Baseten (basetenlabs/truss) tool under MIT license.

  • Official basetenlabs/truss repo (MIT)
Docs & Verifiability 8 / 10

Clear documentation at docs.baseten.co and Click-based --help output.

  • Official Baseten Truss docs and --help reference

Security, Auth & Guardrails

Auth Modes
Env API Key Config File
Credential Storage

Stores Baseten remote API keys in ~/.trussrc (or reads BASETEN_API_KEY env var).

Side Effects
Read-Only Local Write Remote Write Billing Impact
Cost & Quotas

MIT open-source CLI; pushing models to Baseten creates billable remote GPU deployments.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Truss Agent Rules
- Always run `truss push --dryrun` before `truss push`, and pass `--non-interactive` on `truss init`.
- Never run `truss watch` synchronously (it streams logs forever) or `truss push --promote` without user approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect Truss CLI and push flags
truss --help && truss push --help

Displays scaffolding, watch, and deployment flags without modifying files or calling Baseten.

Controlled Writes & Previews

Generate deployment artifacts locally with dryrun
truss push --dryrun .

Validates and generates Truss container build files locally without creating a remote billable deployment.

Strengths for Agents

  • + truss push --dryrun and truss init --non-interactive provide strong pre-flight safety for automation.
  • + Supports --hot-reload development patching without restarting GPU containers.

Caveats & Pitfalls

  • ! Lacks --json output on CLI commands; truss watch blocks while tailing logs.
  • ! Live truss push deploys paid Baseten GPU infrastructure.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI