← Back to Leaderboard
Rmicrosoft

microsoft/RD-Agent

A Research–Development agent framework for proposing, running, and refining ML experiments

Engineering Health (Methodology)
A · 85/100
Maintenance Activity
● Updated 1mo ago
Latest Release
v1.0.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance26/35
Fork Adoption22/25
Release Cadence17/20
License Clarity20/20
DockerCLIAPI
Total Stars
★ 15,602
24h Growth
+12
7d Growth
+88
Forks
2,091

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

microsoft/RD-Agent Star History (2024-06-30 - 2026-12-04) ALL-TIME STAR HISTORY (2024-06 – 2026-12) +15.6k in 887d · avg +18/day 16.5k 8.2k 0 2024-06-30: ★ 12024-08-24: ★ 402024-10-19: ★ 8702024-12-14: ★ 1,2102025-02-08: ★ 1,4232025-04-05: ★ 3,8642025-05-31: ★ 5,1842025-07-26: ★ 6,5232025-09-20: ★ 7,5842025-11-15: ★ 9,2222026-01-10: ★ 9,9402026-03-07: ★ 11,3312026-05-02: ★ 12,6052026-06-27: ★ 13,5562026-08-22: ★ 14,2352026-10-17: ★ 14,9252026-12-04: ★ 15,602 ★ 15.6k 2024-06 2025-09 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

RD-Agent is a Python framework for iterative ML experiments. Its Research role proposes changes and its Development role implements them; execution results inform the next round. The two roles can use different models, as in the o3 Research and GPT-4.1 Development benchmark configuration. Scenario selection provides a concrete integration point: the data-science setup uses DS_SCEN to select DataScienceScen or KaggleScen rather than hard-coding one workflow into the CLI.

The package registers rdagent.app.cli:app as its CLI entry point. Its runtime dependencies include pydantic-settings for configuration, NumPy, pandas, and scikit-learn for data and ML work, and the Python docker package. LiteLLM is the default model backend, with separate chat and embedding configuration. The web/ tree and rdagent server_ui provide a separate UI path for interaction and trace viewing; UI coverage does not extend to every scenario.

Key Capabilities & Differentiators

The framework covers whole-pipeline data-science experiments, Kaggle feature engineering and tuning, Qlib-based factor and model iteration, and implementation of models from research reports. It also provides benchmark-driven fine-tuning through rdagent llm_finetune, with Qwen/Qwen2.5-7B-Instruct as an example base model. The demo workflows require chat completion, JSON mode, and embedding queries. Configuration examples cover OpenAI, Azure OpenAI, and experimental DeepSeek chat paired with embeddings served through a LiteLLM proxy.

MLE-bench draws on 75 Kaggle competitions. The reported o3 Research / GPT-4.1 Development configuration averaged 30.22% overall with a standard deviation of 1.5 percentage points across six seeds. Its Lite, medium, and high scores averaged 51.52%, 19.3%, and 26.67%, respectively. Those are results for a specific model pairing and evaluation setup, not expected scores for arbitrary LiteLLM backends or internal datasets.

Trade-offs & Limitations

Compared with a fixed training pipeline, RD-Agent can explore proposed changes instead of merely rerunning predefined steps. The cost is a less predictable run: model calls and experiment executions accumulate across iterations, and generated code and evaluation outputs need review. Treat Docker as one layer of isolation, not as a complete security boundary; restrict mounts, credentials, and network access when running generated code.

The supplied MLE-bench comparison reports 22.4% overall for RD-Agent with o1-preview versus 16.9% for AIDE with o1-preview. The higher RD-Agent score of 30.22% uses the o3/GPT-4.1 pairing, so it does not isolate an architectural advantage. Before adopting either system, compare on representative tasks with equivalent budgets and log both model spend and experiment compute. Hosted endpoints move chat and embedding inference off the host; they do not remove the resource requirements of training or evaluation.

Hardware & Deployment Guide

Use a Linux host with Python 3.10 or later; Python 3.10 and 3.11 are the tested versions identified in the setup material. Install with pip install rdagent or use make dev for a source checkout. Most scenarios need Docker accessible to the runtime account. Configure CHAT_MODEL, EMBEDDING_MODEL, and the required provider credentials in .env, then run rdagent health_check. The runner can be self-hosted, but hosted model endpoints require network access. Offline readiness is not established merely by installing the package.

The v0.8.0 release added RAG MCP integration at the proposal stage. In v1.0.0, localhost UI deployments require UI_SERVER_AUTH_TOKEN, and the General Model upload flow requires a report file instead of a URL or server-side path. Check both changes before migrating local deployments or upload automations. The server_ui interface currently excludes the data_science scenario.

Experiment loop: Separate Research and Development roles can propose and implement changes with different chat models.
Scenario configuration: DS_SCEN selects the data-science or Kaggle scenario; DS_LOCAL_DATA_PATH points to local data.
Model access: LiteLLM is the default backend; chat and embedding models can use separate API bases.
Benchmark evidence: The o3/GPT-4.1 configuration reports 30.22% ± 1.5 percentage points overall on MLE-bench across six seeds.
Execution prerequisites: Linux is the documented runtime, and most scenarios require Docker.
UI boundaries: rdagent server_ui provides trace viewing but excludes data_science; v1.0.0 requires UI_SERVER_AUTH_TOKEN for localhost deployments.
Best For

ML teams that want to compare candidate pipelines or reproduce paper models through repeated, measurable experiments on Linux, with room to review generated code and control budgets.

Skip If

Your workflow is already deterministic, you need verified offline operation or full data-science UI coverage, or you cannot safely run generated code.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerCLIAPI
pip install rdagent

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
RD-Agent ★15.6k+88PythonMITA Research–Development agent framework for proposing, running, and refining ML e
browser-use122.7k+477PythonMITPython REPL and CDP for adaptive browser automation
langgraph45.8k+293PythonMITPython graph orchestration for stateful, resumable agents and workflows
langchain150.4k+290PythonMITModular Python framework for building agents across model providers

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/microsoft/RD-Agent.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

microsoft/RD-Agent Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about RD-Agent

How should I integrate RD-Agent into an existing ML workflow?

The Python package exposes rdagent.app.cli:app as the rdagent command. Check the scenario-specific settings before integrating: the data-science examples use DS_SCEN and DS_LOCAL_DATA_PATH to select a scenario and its data. LiteLLM handles model-provider calls, but that does not establish a stable public API for submitting and managing jobs. For an initial integration, wrap a pinned CLI release and validate its inputs and outputs.

Do I need a GPU, and how should I size the host?

Hosted chat and embedding models do not require local inference VRAM. The experiment itself can still be compute-intensive, particularly for LLM fine-tuning and post-training. No universal hardware minimum is specified. Profile one representative run for peak RAM, disk, and GPU memory where applicable before increasing concurrency; account for provider usage separately.

Can I self-host RD-Agent for commercial use?

Yes. The MIT license permits commercial use and self-hosting; retain the required copyright and license notices when redistributing the software. Datasets, model weights, and provider services have separate terms. Self-hosting the runner does not keep all data on premises if chat or embedding requests still go to an external service.

When should I choose RD-Agent over AIDE or a conventional pipeline runner?

Choose RD-Agent when you want the agent to propose, implement, and evaluate changes across repeated experiments. A conventional pipeline runner is a better fit when the steps are already defined and reproducibility is the main goal. Against AIDE, the published MLE-bench table is a useful reference, but use your own tasks and match model access and budgets before drawing a procurement or adoption conclusion.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining microsoft/RD-Agent? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature microsoft/RD-Agent on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare