Infrastructure

Introducing Our New Run:ai CLI

by
Alon Lavian
–
July 22, 2024

With our latest release, we're introducing a significant enhancement to our new workload experience: the Command Line Interface (CLI). We've redesigned and implemented the CLI to adhere to the highest standards of modern CLIs, ensuring an exceptional user experience. Tailor-made for AI workloads, this CLI empowers you to maximize your AI endeavors, providing seamless control and efficiency.

Our CLI offers a way to manage workloads for users who prefer a terminal-based method. You can easily submit workloads, manipulate them, and monitor their state straight from your preferred terminal. We’ve added a lot of improvements to make the experience as easy and self-served as possible.

Let’s dive in.

All of your data, on your command

All the workloads

The new CLI utilizes the workload API and completes our move towards a unified workload management interface for the entire app. With the new CLI, users now have complete data consistency across the app.

All the clusters

With the new CLI client, you don’t have to worry about the Run:ai cluster version your workloads are running on. The client is aligned to your tenant version and can work with any cluster connected to it (From v2.18 onwards). Easily switch between clusters from within the client itself, no extra configuration is needed.

All the advantages

Since the CLI interfaces with the control plane instead of directly with each cluster it is more:

  • Secure - Authentication is required before accessing the cluster, ensuring a higher level of security.
  • Fast - The CLI utilizes API-processed data instead of raw cluster data, resulting in faster performance.
  • Lightweight - Interfacing with Run:ai control plane instead of each cluster reduces the load from the clusters.

One CLIck -  ready to go

One CLIck installation

We’ve streamlined the installation process so you can start working immediately with no delay. Just copy and paste the installation script to your terminal and we’ll take care of the rest of the configuration. 

One CLIck upgrade

Upgrading to a new Run:ai version no longer requires a new client download from the UI. With a simple upgrade command, your client will be upgraded to the latest version and you can keep focusing on your work.

‍

CLIrly the best

In addition to all of the benefits you get today from the Run:ai CLI we’ve added some more new features to make it even better. 

  • Quiet mode - for using the CLI inside scripts and avoiding noise.
  • Interactive mode - navigate between the different menus with your keyboard for maximum convenience 
  • Cluster config on login - Runa:ai auto-set your default cluster on login in case a single cluster exists.

And much more to come. Stay tuned for additional CLI enhancements on the next releases. 

Curious about the entire release? Check out the announcement here. 

Ready to get started? Book your demo today and see how Run:ai can help you accelerate AI development and increase efficiency.