End-to-end ML workflow CLI - from dataset to deployed API
Project description
ML Assistant CLI 🚀
From dataset to deployed API in minutes
ML Assistant CLI is a developer-first command-line tool that unifies the entire ML lifecycle - from data preprocessing to cloud deployment - with AI-guided suggestions and one-click deployments.
✨ Features
- End-to-end ML workflow in a single CLI
- AI-guided suggestions for data quality and model improvements
- BentoML integration for reproducible model packaging
- Multi-cloud deployment (BentoCloud, Azure ML, AWS SageMaker HyperPod)
- Production-ready with monitoring, rollbacks, and traffic management
- Beginner-friendly with sensible defaults and clear guidance
🚀 Quick Start
Installation Options
Option 1: PyPI (Recommended)
# Install from PyPI
pip install mlcli
# Or install with cloud support
pip install mlcli[cloud]
# Verify installation
mlcli --help
Option 2: Docker (No Installation Required)
# Run directly with Docker
docker run -it --rm -v $(pwd):/home/mlcli/workspace mlcli/mlcli:latest
# Or create convenient alias
alias mlcli="docker run -it --rm -v \$(pwd):/home/mlcli/workspace mlcli/mlcli:latest"
# Then use normally
mlcli --help
Option 3: pipx (Isolated Installation)
# Install with pipx for isolated environment
pipx install mlcli
mlcli --help
Option 4: From Source
# Clone and install
git clone https://github.com/mlcli/mlcli.git
cd mlcli
pip install -e .
Option 4: pipx (Isolated Installation)
# Install with pipx for isolated environment
pipx install mlcli
Initialize a new ML project
mlcli init --name my-ml-project
cd my-ml-project
Process your data
# Add your dataset to data/raw/
mlcli preprocess --input data/raw/your_data.csv --target target_column
Train models
mlcli train
Evaluate and get suggestions
mlcli evaluate
mlcli suggest
Make predictions
mlcli predict --input new_data.csv --output predictions.csv
Deploy to cloud (coming soon)
mlcli package
mlcli deploy --provider bentocloud
mlcli monitor
📁 Project Structure
my-ml-project/
├── data/
│ ├── raw/ # Original datasets
│ ├── processed/ # Cleaned data
│ └── external/ # External datasets
├── models/ # Trained models
├── reports/ # Analysis reports
├── deployments/ # Deployment configs
├── mlcli.yaml # Configuration
└── README.md
⚙️ Configuration
Customize your ML pipeline in mlcli.yaml:
project_name: my-ml-project
description: My awesome ML project
data:
target_column: target
test_size: 0.2
missing_value_strategy: auto
scaling_strategy: standard
model:
algorithms: [logistic_regression, random_forest, xgboost]
hyperparameter_tuning: true
cv_folds: 5
deployment:
provider: bentocloud
scaling_min: 1
scaling_max: 3
instance_type: cpu.2
🎯 Roadmap
Phase 1: Local MVP ✅
- Project initialization
- Data preprocessing and analysis
- Model training with hyperparameter optimization
- Model evaluation and metrics
- AI-guided suggestions
- Batch predictions
- BentoML packaging
Phase 2: Cloud MVP
- BentoCloud deployment
- Model monitoring
- Deployment rollbacks
Phase 3: Multi-Cloud
- Azure ML integration
- AWS SageMaker HyperPod support
- Advanced deployment strategies
- CI/CD integration
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
📄 License
MIT License - see LICENSE for details.
🆘 Support
Built with ❤️ for the ML community
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ml_assistant_cli-0.1.0.tar.gz.
File metadata
- Download URL: ml_assistant_cli-0.1.0.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58fe118db7488b0943f0c0ec4f95dc0c881f011c5b609d681a2680ddf1323478
|
|
| MD5 |
87cec5a50131a15e6cab33ba2bb55e01
|
|
| BLAKE2b-256 |
57ca53f030ab71ccf64a1f09067402837c351bbadc35a6ec5ab90da4ff7d71cc
|
File details
Details for the file ml_assistant_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ml_assistant_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
690eff5cabd4c759725b5cf8b33fe07a6636e08026a4ff4024d0118aa034ddc9
|
|
| MD5 |
dabfa49e00af13279c53ab3def6554a9
|
|
| BLAKE2b-256 |
48f5bbeef4326aa87f79fbbf1ac902df44338d077867305224b2c33b65de80e8
|