Skip to main content

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 ml-assistant-cli

# Or install with cloud support
pip install ml-assistant-cli[cloud]

# Verify installation
mlcli --help

Option 2: Docker (No Installation Required)

# Run directly with Docker
docker run -it --rm -v $(pwd):/home/mlcli/workspace santhoshkumar0918/ml-assistant-cli:latest

# Or create convenient alias
alias mlcli="docker run -it --rm -v $(pwd):/home/mlcli/workspace santhoshkumar0918/ml-assistant-cli:latest"

# Then use normally
mlcli --help

Option 3: pipx (Isolated Installation)

# Install with pipx for isolated environment
pipx install ml-assistant-cli
mlcli --help

Option 4: From Source

# Clone and install
git clone https://github.com/mlcli/mlcli.git
cd mlcli
pip install -e .

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ml_assistant_cli-0.2.0.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ml_assistant_cli-0.2.0-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file ml_assistant_cli-0.2.0.tar.gz.

File metadata

  • Download URL: ml_assistant_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for ml_assistant_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 838f9141f41c8348fe2c0b3df12ce312f9d89528130b8399904f23e8bbedd329
MD5 3b5a57e516ae7e797f9524df5843918d
BLAKE2b-256 49eff1f2adc73b24ec1343a8381dbb402943bd3df51bf0e7804191084452f4ef

See more details on using hashes here.

File details

Details for the file ml_assistant_cli-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ml_assistant_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 540dac6f64a0052db736d0e8a28d750bfdb85d8ae68604e988734e1d70e4a8bf
MD5 9099788a31f4a20d16332b6f7b3b02c0
BLAKE2b-256 f586fbf28e234d6f7fc84af2e6a9105d7259b7008f3ccff84489e48d2087bc1c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page