Skip to main content
TensorZero Autopilot is an automated AI engineer that analyzes LLM observability data, optimizes prompts and models, sets up evals, and runs A/B tests. It’s an optional complementary service that runs on top of your self-hosted TensorZero deployment.
TensorZero Autopilot is currently in a private beta. Join the waitlist →

Deploy

1

Generate a TensorZero Autopilot API key

Visit autopilot.tensorzero.com to generate an API key.
2

Set the environment variable for the TensorZero Gateway

Set the environment variable TENSORZERO_AUTOPILOT_API_KEY for your TensorZero Gateway:
export TENSORZERO_AUTOPILOT_API_KEY="sk-t0-..."
3

Deploy TensorZero

TensorZero Autopilot requires the TensorZero Gateway, TensorZero UI, and Postgres.
Make sure the gateway has the TENSORZERO_AUTOPILOT_API_KEY environment variable.
4

Allow TensorZero Autopilot to edit your local configuration (optional)

TensorZero Autopilot can edit your local TensorZero configuration.When this feature is enabled, an “Apply changes” button appears in the UI, allowing you to easily apply any configuration changes proposed by Autopilot.
We recommend enabling this feature only in a local setup. Do not enable this feature if the TensorZero UI is shared by multiple users.
To enable it, mount the configuration directory as a writable volume and pass the --config-file flag to the TensorZero UI container. For example:
# ...
ui:
  image: tensorzero/ui
  # ...
  command: --config-file /app/config/tensorzero.toml
  volumes:
    - ./config:/app/config
  # ...
5

Use TensorZero Autopilot

Visit /autopilot in the self-hosted TensorZero UI to use Autopilot.