Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Rd Agent Guide

skill · brycewang-stanford/Auto-Empirical-Research-SkillsNOASSERTION licenceAudited 8 Oct 2026 · source e1ba289846fd

★ 4,537pushed 3 days ago
✓SAFEGrade B · 89/100 · 8 Oct 2026 · e1ba289
4,537repo stars · whole brycewang-stanford/Auto-Empirical-Research-Skills

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit e1ba289846fd and found no filesystem, network or shell access and no hard-coded secrets. What it does: Microsoft AI-driven R&D agent for automated data and model development

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Rd Agent Guide (brycewang-stanford/Auto-Empirical-Research-Skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/brycewang-stanford/rd-agent-guide

Trust audit

Audit 0.4.1 · source read 8 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha e1ba289846fd · 8 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Microsoft AI-driven R&D agent for automated data and model development

---
name: rd-agent-guide
description: "Microsoft AI-driven R&D agent for automated data and model development"
metadata:
  openclaw:
    emoji: "🤖"
    category: "research"
    subcategory: "automation"
    keywords: ["r-and-d", "microsoft", "automation", "model-development", "data-science", "experiment-automation"]
    source: "https://github.com/microsoft/RD-Agent"
---

# RD-Agent Guide

## Overview

RD-Agent is an open-source AI-powered research and development automation framework developed by Microsoft Research, with over 12,000 stars on GitHub. It automates key steps in the R&D lifecycle -- including hypothesis generation, experiment design, code implementation, and result analysis -- enabling researchers and data scientists to accelerate their development cycles significantly.

The framework implements a closed-loop R&D automation pipeline where an AI agent iteratively proposes hypotheses, implements experiments, evaluates results, and refines its approach based on feedback. This mirrors the scientific method but operates at machine speed, allowing researchers to explore a much larger space of ideas and configurations than would be feasible manually.

RD-Agent is particularly valuable for researchers working in quantitative finance, data science, and machine learning, where the development process involves iterating on feature engineering, model architectures, and hyperparameter configurations. The framework has demonstrated the ability to autonomously develop competitive machine learning models and trading strategies, achieving results comparable to experienced human practitioners.

## Installation and Setup

```bash
# Clone the repository
git clone https://github.com/microsoft/RD-Agent.git
cd RD-Agent

# Install dependencies
pip install -e .

# Or install from PyPI
pip install rdagent
```

### Environment Configuration

```bash
# LLM configuration (required)
export OPENAI_API_KEY=$OPENAI_API_KEY
export CHAT_MODEL=gpt-4o

# Or use Azure OpenAI
export AZURE_OPENAI_API_KEY=$AZURE_OPENAI_API_KEY
export AZURE_OPENAI_ENDPOINT=$AZURE_OPENAI_ENDPOINT
export AZURE_OPENAI_DEPLOYMENT=$AZURE_OPENAI_DEPLOYMENT

# Docker is required for sandboxed code execution
# Ensure Docker is installed and running
docker --version
```

RD-Agent uses Docker containers to execute generated code safely, ensuring that automatically generated experiments cannot affect the host system. This sandboxed execution is critical for an autonomous agent that writes and runs arbitrary code.

## Core Concepts

### The R&D Loop

RD-Agent implements a continuous improvement loop with four phases:

1. **Proposal**: The agent analyzes the current state and proposes new hypotheses or improvements
2. **Implementation**: Hypotheses are translated into executable code (feature engineering, model changes, etc.)
3. **Evaluation**: The implemented changes are executed in a sandbox and results are measured against defined metrics
4. **Feedback**: Results are analyzed and used to inform the next round of proposals

```python
from rdagent.core.runner import RDRunner
from rdagent.scenarios.data_science import DataScienceScenario

# Define the research scenario
scenario = DataScienceScenario(
    task="tabular_classification",
    dataset_path="path/to/dataset.csv",
    target_column="label",
    metric="auc",
)

# Create and run the R&D agent
runner = RDRunner(
    scenario=scenario,
    max_iterations=50,
    llm_model="gpt-4o",
)

# Start the autonomous R&D loop
results = runner.run()

# Review the best solution found
print(f"Best metric: {results.best_score}")
print(f"Iterations: {results.total_iterations}")
print(f"Solutions explored: {results.num_solutions}")
```

### Scenario Types

RD-Agent supports multiple R&D scenarios out of the box:

#### Data Science / Kaggle Competitions

Automatically engineer features, select models, and tune hyperparameters for tabular data tasks:

```python
from rdagent.scenarios.data_science import DataScienceScenario

scenario = DataScienceScenario(
    task="tabular_regression",
    dataset_path="data/housing.csv",
    target_column="price",
    metric="rmse",
    time_budget_hours=4,
)
```

#### Quantitative Finance

Develop and backtest trading factors and strategies:

```python
from rdagent.scenarios.qlib import QlibScenario

scenario = QlibScenario(
    market="csi300",
    task="alpha_factor_mining",
    backtest_start="2020-01-01",
    backtest_end="2024-12-31",
    metric="information_coefficient",
)
```

#### Model Development

Iterate on model architectures and training procedures:

```python
from rdagent.scenarios.model_dev import ModelDevScenario

scenario = ModelDevScenario(
    task="image_classification",
    base_model="resnet50",
    dataset="cifar100",
    optimization_target="accuracy",
)
```

## Advanced Features

### Experiment Tracking and Analysis

RD-Agent maintains detailed logs of all experiments, enabling post-hoc analysis of the R&D process:

```python
# Access experiment history
for experiment in results.history:
    print(f"Iteration {experiment.iteration}:")
    print(f"  Hypothesis: {experiment.hypothesis}")
    print(f"  Changes: {experiment.code_changes}")
    print(f"  Metric: {experiment.score}")
    print(f"  Analysis: {experiment.feedback}")
```

### Custom Evaluation Functions

Define custom evaluation metrics for domain-specific research:

```python
from rdagent.core.evaluation import EvaluationFunction

class CustomMetric(EvaluationFunction):
    def evaluate(self, predictions, ground_truth, **kwargs):
        # Your custom metric computation
        score = compute_domain_specific_metric(predictions, ground_truth)
        return {
            "primary_metric": score,
            "secondary_metrics": {
                "precision": compute_precision(predictions, ground_truth),
                "recall": compute_recall(predictions, ground_truth),
            }
        }

scenario = DataScienceScenario(
    evaluation_function=CustomMetric(),
    # ... other conf

Excerpt, first 6,001 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit e1ba289

Download folder ↗
git clone https://github.com/microsoft/RD-Agent.git
pip install -e .
pip install rdagent

Commands as the repository documents them: shown, never run by us. Our verdict covers commit e1ba289846fd only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
OpenClawMentioned in its text, not testedSkills for OpenClaw · About OpenClaw
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source e1ba289846fd

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/brycewang-stanford/rd-agent-guide/badge.svg)](https://modelsatlas.com/skills/brycewang-stanford/rd-agent-guide/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Similar skills

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/brycewang-stanford/rd-agent-guide/badge.svg)](https://modelsatlas.com/skills/brycewang-stanford/rd-agent-guide/)

Questions about Rd Agent Guide

What does the Rd Agent Guide skill do?
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Is Rd Agent Guide safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Rd Agent Guide access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Rd Agent Guide work with?
Its documentation mentions openclaw. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (e1ba289846fd), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.