RD-Agent README

The project's README from github.com/microsoft/RD-Agent. As one markdown file: README.md.

RA-Agent logo

🖥️ Live Demo | 🎥 Demo Video ▶️YouTube | 📖 Documentation | 📄 Tech Report | 📃 Papers

CI CodeQL Dependabot Updates Lint PR Title Release.yml Platform PyPI PyPI - Python Version Release GitHub pre-commit Checked with mypy Ruff Chat Documentation Status Readthedocs Preview arXiv

📰 News

🗞️ News 📝 Description
Agent² RL-Bench Preprint A benchmark for evaluating LLM agents on end-to-end post-training engineering. See the project page and code.
ICML 2026 Acceptance We are thrilled to announce that our paper FT-Dojo: Towards Autonomous LLM Fine-Tuning with Language Agents has been accepted to ICML 2026. The FT-Agent implementation is available in the LLM fine-tuning guide.
ACL 2026 Findings Acceptance We are thrilled to announce that our paper Reasoning as Gradient has been accepted to ACL 2026 Findings. Execution traces are available at Gome GPT-5 Traces
Web UI Release We release a new frontend that can be built and served by rdagent server_ui for real-time interaction and trace viewing, currently excluding the data_science scenario.
NeurIPS 2025 Acceptance We are thrilled to announce that our paper R&D-Agent-Quant has been accepted to NeurIPS 2025
Technical Report Release Overall framework description and results on MLE-bench
R&D-Agent-Quant Release Apply R&D-Agent to quant trading
MLE-Bench Results Released R&D-Agent currently leads as the top-performing machine learning engineering agent on MLE-bench
Support LiteLLM Backend We now fully support LiteLLM as our default backend for integration with multiple LLM providers.
General Data Science Agent Data Science Agent
Kaggle Scenario release We release Kaggle Agent, try the new features!
Official WeChat group release We created a WeChat group, welcome to join! (🗪QR Code)
Official Discord release We launch our first chatting channel in Discord (🗪Chat)
First release R&D-Agent is released on GitHub

🧪 Agent² RL-Bench

Project Page · Paper · Code & Quick Start · Microsoft Research

Agent² RL-Bench evaluates whether LLM agents can autonomously engineer end-to-end post-training pipelines, spanning static optimization and stateful online RL.

🏆 The Best Machine Learning Engineering Agent!

MLE-bench is a comprehensive benchmark evaluating the performance of AI agents on machine learning engineering tasks. Utilizing datasets from 75 Kaggle competitions, MLE-bench provides robust assessments of AI systems' capabilities in real-world ML engineering scenarios.

R&D-Agent currently leads as the top-performing machine learning engineering agent on MLE-bench:

Agent Low == Lite (%) Medium (%) High (%) All (%)
R&D-Agent o3(R)+GPT-4.1(D) 51.52 ± 6.9 19.3 ± 5.5 26.67 ± 0 30.22 ± 1.5
R&D-Agent o1-preview 48.18 ± 2.49 8.95 ± 2.36 18.67 ± 2.98 22.4 ± 1.1
AIDE o1-preview 34.3 ± 2.4 8.8 ± 1.1 10.0 ± 1.9 16.9 ± 1.1

Notes:

You can inspect the detailed runs of the above results online.

For running R&D-Agent on MLE-bench, refer to MLE-bench Guide: Running ML Engineering via MLE-bench

🥇 The First Data-Centric Quant Multi-Agent Framework!

R&D-Agent for Quantitative Finance, in short RD-Agent(Q), is the first data-centric, multi-agent framework designed to automate the full-stack research and development of quantitative strategies via coordinated factor-model co-optimization.

image

Extensive experiments in real stock markets show that, at a cost under $10, RD-Agent(Q) achieves approximately 2× higher ARR than benchmark factor libraries while using over 70% fewer factors. It also surpasses state-of-the-art deep time-series models under smaller resource budgets. Its alternating factor–model optimization further delivers excellent trade-off between predictive accuracy and strategy robustness.

You can learn more details about RD-Agent(Q) through the paper and reproduce it through the documentation.

Data Science Agent Preview

Check out our demo video showcasing the current progress of our Data Science Agent under development:

https://github.com/user-attachments/assets/3eccbecb-34a4-4c81-bce4-d3f8862f7305

🌟 Introduction

Our focused scenario

R&D-Agent aims to automate the most critical and valuable aspects of the industrial R&D process, and we begin with focusing on the data-driven scenarios to streamline the development of models and data. Methodologically, we have identified a framework with two key components: 'R' for proposing new ideas and 'D' for implementing them. We believe that the automatic evolution of R&D will lead to solutions of significant industrial value.

R&D is a very general scenario. The advent of R&D-Agent can be your

You can click the links above to view the demo. We're continuously adding more methods and scenarios to the project to enhance your R&D processes and boost productivity.

Additionally, you can take a closer look at the examples in our 🖥️ Live Demo.

Watch the demo

⚡ Quick start

RD-Agent currently only supports Linux.

You can try above demos by running the following command:

🐳 Docker installation.

Users must ensure Docker is installed before attempting most scenarios. Please refer to the official 🐳Docker page for installation instructions. Ensure the current user can run Docker commands without using sudo. You can verify this by executing docker run hello-world.

🐍 Create a Conda Environment

🛠️ Install the R&D-Agent

For Users

For Developers

More details can be found in the development setup.

💊 Health check

⚙️ Configuration

🚀 Run the Application

The 🖥️ Live Demo is implemented by the following commands(each item represents one demo, you can select the one you prefer):

RD-Agent (microsoft/RD-Agent)

Searching Database…

Что это такое?R&D-Agent — это мультиагентная платформа от Microsoft, которая автоматизирует R&D на основе данных: один агент предлагает новые исследовательские идеи, другой их реализует. Применяется в квантитативной торговле, интеллектуальном анализе данных, соревнованиях Kaggle, воспроизведении научных статей и дообучении LLM.
Это библиотека, которую я импортирую, или самостоятельная система агентов?Это самостоятельная мультиагентная система, которую запускают через CLI-команду 'rdagent'. Она построена вокруг компонента 'R', который предлагает идеи, и компонента 'D', который их реализует, а не библиотека для импорта в ваш код.
Как это запустить?Установите Docker, создайте conda-окружение с Python 3.10/3.11, затем установите пакет командой 'pip install rdagent' (или из исходников для разработки), запустите встроенную проверку работоспособности и откройте демо, например цикл факторов и моделей Qlib или 'rdagent datascience --competition '.
Нужны ли Docker и ключ API для LLM, чтобы попробовать?Да: Docker должен быть установлен и запускаться без sudo для большинства сценариев, а также нужна настроенная модель чата и эмбеддингов (ChatCompletion, JSON mode, embeddings) через LiteLLM, OpenAI, Azure OpenAI или API DeepSeek.
Работает ли это на Windows или macOS?Нет, RD-Agent сейчас поддерживает только Linux, поэтому пользователям Windows и macOS понадобится виртуальная машина с Linux или WSL.
Насколько хорош RD-Agent именно в квантитативной торговле?RD-Agent(Q) — это ориентированная на данные мультиагентная система для квантитативных финансов. При стоимости запуска менее $10 она достигает примерно двукратного ARR по сравнению с эталонными библиотеками факторов, используя при этом более чем на 70% меньше факторов.
Как он выглядит в тестах для ML-инженерии?RD-Agent сейчас лидирует в MLE-bench — бенчмарке из 75 задач ML-инженерии в стиле Kaggle. Конфигурация o3(R)+GPT-4.1(D) набирает 30,22% общего успеха, опережая предыдущего лучшего агента AIDE.
Есть ли веб-интерфейс, чтобы наблюдать за работой агента?Да, команда 'rdagent serverui' собирает и запускает веб-интерфейс для взаимодействия в реальном времени и просмотра трасс выполнения агентов. Однако сейчас он не поддерживает сценарий data science.
Может ли он сам дообучать LLM?Да, компонент FT-Agent самостоятельно выполняет дообучение LLM для адаптации к предметной области на основе бенчмарков. Описан в статье FT-Dojo, принятой на ICML 2026.
Creator
microsoft
Size
67.7 MB
Stars
15K
Age
2y
Commits · 90 Days