|
| 1 | +# MLSysOps Framework |
| 2 | + |
| 3 | +The *MLSysOps Framework* is the open‑source outcome of the EU‑funded MLSysOps |
| 4 | +Horizon Europe project (Grant ID 101092912), running from Jan 2023 to Dec 2025. |
| 5 | +Its aim is to deliver an AI‑enabled, agent‑based platform for autonomic, |
| 6 | +cross‑layer management of compute, storage, and network resources across cloud, |
| 7 | +edge, and IoT environments. |
| 8 | + |
| 9 | +## Key Objectives |
| 10 | + |
| 11 | +- Provide an *open, AI‑ready framework* for scalable, trustworthy, |
| 12 | + explainable system operation across heterogeneous infrastructures. |
| 13 | +- Enable *continual ML learning* and retraining during runtime via |
| 14 | + hierarchical agents. |
| 15 | +- Support *portable, efficient execution* using container innovation and |
| 16 | + modular, FaaS-inspired offloading. |
| 17 | +- Promote *green, resource‑efficient, and secure operations* while |
| 18 | + maintaining `QoS`/`QoE` targets. |
| 19 | +- Facilitate realistic evaluation using real-world deployments in smart‑city |
| 20 | + and precision‑agriculture scenarios. |
| 21 | + |
| 22 | +## Core Components |
| 23 | + |
| 24 | +- Hierarchical Agent Architecture: Interfaces with orchestration/control |
| 25 | + systems and exposes an ML‑model API for plug‑and‑play explainable/re-trainable |
| 26 | + models. |
| 27 | + |
| 28 | +- Telemetry & Control Knobs: Collects metrics across the continuum and adjusts |
| 29 | + configuration (e.g., compute, network, storage, accelerator usage) |
| 30 | + dynamically. |
| 31 | + |
| 32 | +- Distributed FaaS‑style Executor: Enables function offloading across tiers to |
| 33 | + optimize latency, energy, and performance. |
| 34 | + |
| 35 | +- Explainable ML & Reinforcement Learning Module: Offers transparent decisions, |
| 36 | + highlighting input factors influencing agent actions. |
| 37 | + |
| 38 | +- Use-cases: Includes real applications focusing on smart cities and agriculture. |
| 39 | + |
| 40 | +## Repository Contents |
| 41 | + |
| 42 | +| Directory | Description | |
| 43 | +|----------|-------------| |
| 44 | +| `agents/` | Core autonomic agents with policy-based plugins and ML/analytics | |
| 45 | +| `orchestrators/` | Scripts to facilitate testbed setup | |
| 46 | +| `mlsysops_cli/` | Tool to manage MLSysOps-related descriptors (agents, applications, etc.)| |
| 47 | +| `northbound-api/` | Glue API from the CLI to the core Agent framework| |
| 48 | +| `docs/` | Internal and public-facing documentation | |
| 49 | + |
| 50 | +## Getting Started |
| 51 | + |
| 52 | +### Prerequisites |
| 53 | + |
| 54 | +- Kubernetes v1.26+ |
| 55 | +- `kubectl`, `karmada` |
| 56 | +- Python 3.10+ |
| 57 | +- Access to a 4-node testbed environment |
| 58 | + |
| 59 | +### Quick Start |
| 60 | + |
| 61 | +Install the CLI tool: |
| 62 | + |
| 63 | +```bash |
| 64 | +pip install mlsysops-cli |
| 65 | +``` |
| 66 | + |
| 67 | +Given an `ansible` inventory to setup 4 nodes in `inv.yml`, you can deploy the framework: |
| 68 | + |
| 69 | +```bash |
| 70 | +mls framework deploy-all --inventory inv.yml |
| 71 | +``` |
| 72 | + |
| 73 | +Create and deploy an example application: |
| 74 | + |
| 75 | +```bash |
| 76 | +mls framework create-app-test-description |
| 77 | +mls apps deploy-app --path mlsysops-app-test-description.yaml |
| 78 | +``` |
| 79 | + |
| 80 | +See docs/ for detailed component setup guides. |
| 81 | + |
| 82 | +## Documentation |
| 83 | + |
| 84 | +Check the full documentation at [docs.mlsysops.eu](https://docs.mlsysops.eu) |
| 85 | + |
| 86 | +## Contributing |
| 87 | + |
| 88 | +We welcome contributions from the community! |
| 89 | + |
| 90 | +Browse [good first issues](https://github.com/mlsysops-eu/mlsysops-framework/issues?q=is%3Aissue%20state%3Aopen%20label%3Agood-first-issue) |
| 91 | + |
| 92 | +Review our [CONTRIBUTING.md](https://docs.mlsysops.eu/developer-guide/contribute/) |
| 93 | + |
| 94 | +Follow our [CODE_OF_CONDUCT.md](https://github.com/mlsysops-eu/mlsysops-framework/blob/main/docs/developer-guide/Code-of-Conduct.md) |
| 95 | + |
| 96 | +## License |
| 97 | + |
| 98 | +This project is licensed under the Apache 2.0 License. |
| 99 | + |
| 100 | +## Acknowledgements |
| 101 | + |
| 102 | +This framework is developed as part of the Horizon Europe MLSysOps Project |
| 103 | +(Grant ID 101092912), coordinated by the University of Thessaly, with |
| 104 | +contributions from 12 European partners across academia and industry. |
| 105 | + |
| 106 | +Learn more at [mlsysops.eu](https://mlsysops.eu) |
0 commit comments