MLE-agent

MLE-agent

πŸ€– MLE-Agent: Your intelligent companion for seamless AI engineering and research. πŸ” Integrate with arxiv and paper with code to provide better code/research plans 🧰 OpenAI, Anthropic, Ollama, etc supported. :fireworks: Code RAG

Stars: 1054

Visit
 screenshot

MLE-Agent is an intelligent companion designed for machine learning engineers and researchers. It features autonomous baseline creation, integration with Arxiv and Papers with Code, smart debugging, file system organization, comprehensive tools integration, and an interactive CLI chat interface for seamless AI engineering and research workflows.

README:

MLE-Agent: Your intelligent companion for seamless AI engineering and research.

kaia-llama MLSysOps%2FMLE-agent | Trendshift

πŸ’Œ Fathers' love for Kaia πŸ’Œ

PyPI - Version Downloads GitHub License Join our Discord community

πŸ“š Docs | 🐞 Report Issues | πŸ‘‹ Join us on Discord

Overview

MLE-Agent is designed as a pairing LLM agent for machine learning engineers and researchers. It is featured by:

  • πŸ€– Autonomous Baseline: Automatically builds ML/AI baselines and solutions based on your requirements.
  • πŸ…End-to-end ML Task: Participates in Kaggle competitions and completes tasks independently.
  • πŸ” Arxiv and Papers with Code Integration: Access best practices and state-of-the-art methods.
  • πŸ› Smart Debugging: Ensures high-quality code through automatic debugger-coder interactions.
  • πŸ“‚ File System Integration: Organizes your project structure efficiently.
  • 🧰 Comprehensive Tools Integration: Includes AI/ML functions and MLOps tools for a seamless workflow.
  • β˜• Interactive CLI Chat: Enhances your projects with an easy-to-use chat interface.
  • 🧠 Smart Advisor: Provides personalized suggestions and recommendations for your ML/AI project.
  • πŸ“Š Weekly Report: Automatically generates detailed summaries of your weekly works.

https://github.com/user-attachments/assets/dac7be90-c662-4d0d-8d3a-2bc4df9cffb9

Milestones

  • πŸš€ 09/24/2024: Release the 0.4.2 with enhanced Auto-Kaggle mode to complete an end-to-end competition with minimal effort.
  • πŸš€ 09/10/2024: Release the 0.4.0 with new CLIs like MLE report, MLE kaggle, MLE integration and many new models like Mistral.
  • πŸš€ 07/25/2024: Release the 0.3.0 with huge refactoring, many integrations, etc. (v0.3.0)
  • πŸš€ 07/11/2024: Release the 0.2.0 with multiple agents interaction (v0.2.0)
  • πŸ‘¨β€πŸΌ 07/03/2024: Kaia is born
  • πŸš€ 06/01/2024: Release the first rule-based version of MLE agent (v0.1.0)

Get started

Installation

pip install mle-agent -U
# or from source
git clone [email protected]:MLSysOps/MLE-agent.git
pip install -e .

Usage

mle new <project name>

And a project directory will be created under the current path, you need to start the project under the project directory.

cd <project name>
mle start

You can also start an interactive chat in the terminal under the project directory:

mle chat

Use cases

πŸ§ͺ Prototype an ML Baseline

MLE agent can help you prototype an ML baseline with the given requirements, and test the model on the local machine. The requirements can be vague, such as "I want to predict the stock price based on the historical data".

cd <project name>
mle start

πŸ“Š Generate Work Report

MLE agent can help you summarize your weekly report, including development progress, communication notes, reference, and to-do lists.

cd <project name>
mle report

Then, you can visit http://localhost:3000/ to generate your report locally.

πŸ† Start with Kaggle Competition

MLE agent can participate in Kaggle competitions and finish coding and debugging from data preparation to model training independently. Here is the basic command to start a Kaggle competition:

cd <project name>
mle kaggle

Or you can let the agents finish the Kaggle task without human interaction if you have the dataset and submission file ready:

cd <project name>
mle kaggle --auto \
--datasets "<path_to_dataset1>,<path_to_dataset2>,..." \
--description "<description_file_path_or_text>" \
--submission "<submission_file_path>" \
--sub_example "<submission_example_file_path>" \ 
--comp_id "<competition_id>"

Please make sure you have joined the competition before running the command. For more details, see the MLE-Agent Tutorials.

Roadmap

The following is a list of the tasks we plan to do, welcome to propose something new!

πŸ”¨ General Features
  • [x] Understand users' requirements to create an end-to-end AI project
  • [x] Suggest the SOTA data science solutions by using the web search
  • [x] Plan the ML engineering tasks with human interaction
  • [x] Execute the code on the local machine/cloud, debug and fix the errors
  • [x] Leverage the built-in functions to complete ML engineering tasks
  • [x] Interactive chat: A human-in-the-loop mode to help improve the existing ML projects
  • [x] Kaggle mode: to finish a Kaggle task without humans
  • [x] Summary and reflect the whole ML/AI pipeline
  • [ ] Integration with Cloud data and testing and debugging platforms
  • [x] Local RAG support to make personal ML/AI coding assistant
  • [ ] Function zoo: generate AI/ML functions and save them for future usage
⭐ More LLMs and Serving Tools
  • [x] Ollama LLama3
  • [x] OpenAI GPTs
  • [x] Anthropic Claude 3.5 Sonnet
πŸ’– Better user experience
  • [x] CLI Application
  • [x] Web UI
  • [x] Discord
🧩 Functions and Integrations
  • [x] Local file system
  • [x] Local code exectutor
  • [x] Arxiv.org search
  • [x] Papers with Code search
  • [x] General keyword search
  • [ ] Hugging Face
  • [ ] SkyPilot cloud deployment
  • [ ] Snowflake data
  • [ ] AWS S3 data
  • [ ] Databricks data catalog
  • [ ] Wandb experiment monitoring
  • [ ] MLflow management
  • [ ] DBT data transform

Contributing

We welcome contributions from the community. We are looking for contributors to help us with the following tasks:

  • Benchmark and Evaluate the agent
  • Add more features to the agent
  • Improve the documentation
  • Write tests

Please check the CONTRIBUTING.md file if you want to contribute.

Support and Community

Star History

Star History Chart

License

Check MIT License file for more information.

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for MLE-agent

Similar Open Source Tools

For similar tasks

For similar jobs