NVIDIA Run:ai Agent Simplifies GPU Provisioning, Job Management, and Troubleshooting
By: Brad Soper and Vivek Kolasani
NVIDIA Run:ai Agent Architecture
Install and Configure the NVIDIA Run:ai CLI and Agent
git clone https://github.com/runai-professional-services/runai-agent.git
# 1. Create namespace and secrets
kubectl create namespace runai-agent
#The agent requires access to the NVIDIA Run:ai environment via an API Key and specific environment variables
kubectl create secret generic runai-creds \
--namespace runai-agent \
--from-literal=RUNAI_CLIENT_ID="[YOUR_CLIENT_ID]" \
--from-literal=RUNAI_CLIENT_SECRET="[YOUR_CLIENT_SECRET]" \
--from-literal=RUNAI_BASE_URL="https://your-cluster.run.ai"
kubectl create secret generic nvidia-key \
--namespace runai-agent \
--from-literal=NVIDIA_API_KEY="[YOUR_NVIDIA_API_KEY]"
# 2. Install with Helm
helm install runai-agent ./deploy/helm/runai-agent \
--namespace runai-agent \
--set runai.existingSecret="runai-creds" \
--set nvidia.existingSecret="nvidia-key" \
--set failureAnalysis.persistence.storageClassName="your-rwx-storage-class"
# Optional: Install RunAI SDK for direct API access
pip install runapy==1.223.0
# 1. Install CLI
cd runai-cli
npm install && npm run build && npm link
# 2. Connect to remote agent (Helm/Docker deployment)
runai-cli connect https://your-agent-url.com
# 3. Verify connection
runai-cli server status
# 4. Use the CLI
runai-cli ask "Show me all projects"
runai-cli submit "Create a training job with 2 GPUs"
runai-cli chat # Interactive modeInfrastructure as Conversation: From Idea to Running Workload
Making Resource Governance Transparent and Easy to Manage
Diagnosing Failures at Scale Instantly
Performance Analytics
Utilization Visibility
How NVIDIA Run:ai Agent Accelerates the AI Lifecycle
Best Practices and Troubleshooting
Get Started
About the Authors


Last updated