leptonai/leptonai
A Pythonic framework to simplify AI service building
What it solves
Lepton AI provides a unified interface to manage complex AI infrastructure on NVIDIA DGX Cloud. It removes the friction of manually configuring cloud resources by allowing developers to deploy, monitor, and scale AI workloads—such as LLM inference, batch training, and interactive development environments—directly from their terminal or Python code.
How it works
The project consists of a Python library and a command-line tool called lep. Users authenticate with their workspace and use simple commands to create endpoints, manage Ray clusters, or launch dev pods. It handles the underlying complexity of container orchestration, secure SSH access via Teleport, and multi-service graph deployments for advanced AI models. It also includes agent skills that allow AI coding assistants like Claude Code to execute these management tasks using natural language.
Who it’s for
This tool is designed for AI engineers, data scientists, and infrastructure developers who need to manage high-performance computing resources on NVIDIA DGX Cloud without getting bogged down in manual platform configuration.
Highlights
- Manage diverse workloads including endpoints, batch jobs, and Ray clusters via a single CLI.
- Deploy multi-service LLM inference graphs with support for vLLM, SGLang, and TensorRT-LLM.
- Access interactive shells for pods, jobs, and Slurm nodes securely without needing manual SSH key management.
- Enable AI agents to perform infrastructure management tasks through integrated skill plugins.
- Define infrastructure configurations using Pythonic specs that are easily deployed to the cloud.
Related
- Project
- Project
- Project
- Project
- Project