VirtuousAI

Installation

Install the vai CLI

Installation

Install the VAI command-line interface.

Using pip

pip install vai-client
uv pip install vai-client

From Source

For development:

# Clone the repository
git clone https://github.com/virtuousai/vai-client.git
cd vai-client

# Install in editable mode
cd apps/cli
uv pip install -e .

Verify Installation

vai --version
# vai-cli 0.1.0

Shell Completion

Enable tab completion for your shell:

Bash

# Add to ~/.bashrc
eval "$(_VAI_COMPLETE=bash_source vai)"

Zsh

# Add to ~/.zshrc
eval "$(_VAI_COMPLETE=zsh_source vai)"

Fish

# Add to ~/.config/fish/completions/vai.fish
_VAI_COMPLETE=fish_source vai | source

Configuration

The CLI stores configuration in ~/.config/vai/ or the path specified by VAI_CONFIG_DIR:

FilePurpose
config.tomlAPI URLs and profile settings
credentials/Encrypted token storage

Environment Variables

VariableDescription
VAI_PROFILEOverride the active profile
VAI_API_URLOverride the API URL
VAI_CONFIG_DIRCustom config directory

Next Steps

On this page