Skip to main content
The Tandemn CLI is the user-facing tool for checking connectivity and submitting inference jobs.

Install

Install the package in your preferred Python 3.12+ environment.
pip install tandemn

Connect to the server

Set TD_SERVER_URL to the URL provided by your Tandemn administrator.
export TD_SERVER_URL=<your-server-url>
If your deployment requires API key authentication, also set TD_API_KEY.
export TD_API_KEY=<your-api-key>
Persist the variable in your shell profile if you use the same server regularly.
echo 'export TD_SERVER_URL=<your-server-url>' >> ~/.zshrc

Check connectivity

tandemn check
Successful output means the CLI can reach the Tandemn server and you can submit jobs.
If your organization uses multiple Tandemn environments, keep separate shell profiles or terminal sessions for development, staging, and production.

Next step

Submit your first inference job in Run your first job.