Skip to content

Commit 82d642c

Browse files
RIO ISHIIclaude
authored andcommitted
docs: add fork description with architecture and changes overview
Explain OpenAI → Claude replacement, adapter layer, architecture diagram, and clearly label the original Microsoft README section. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ae7fd8e commit 82d642c

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,52 @@
77
88
---
99
10+
## What's Different in this Fork (with-Claudex)
11+
12+
This fork replaces RD-Agent's OpenAI API dependency with **Claude Code + Codex CLI**, achieving a **control inversion** where Claude Code orchestrates Python/Qlib as tools.
13+
14+
### Key Changes
15+
16+
| Component | Original (OpenAI) | This Fork (Claude) |
17+
|-----------|-------------------|---------------------|
18+
| LLM Backend | OpenAI API (GPT-4) | LiteLLM + Claude (default) |
19+
| Hypothesis Generation | Python → OpenAI API | Claude Code Planner subagent |
20+
| Code Generation | Python → OpenAI API | Codex CLI (`codex exec --full-auto`) or Claude subagent |
21+
| Evaluation | Python → OpenAI API | Claude Code Evaluator subagent |
22+
| Orchestration | Python RDLoop | Claude Code orchestrates via Bash + Agent tool |
23+
24+
### Architecture
25+
26+
```
27+
Claude Code (Orchestrator)
28+
├── Planner → Hypothesis + experiment spec (Agent tool)
29+
├── Coder → factor.py generation (Codex CLI or Agent tool)
30+
├── Backtest → python factor.py (Bash, RD-Agent venv)
31+
├── IC Calc → scripts/calc_ic.py (Bash)
32+
└── Evaluator → Metrics evaluation (Agent tool)
33+
```
34+
35+
### Added Files
36+
37+
- `rdagent/adapters/` — 5-slot Adapter layer bridging Claude output to RD-Agent data structures
38+
- `test/adapters/` — 38 unit tests for the adapter layer
39+
40+
### Quick Start
41+
42+
```bash
43+
cd RD-Agent-with-Claudex
44+
source .venv/bin/activate
45+
pytest test/adapters/ -v # Run adapter tests (38 pass)
46+
```
47+
48+
For the full R&D loop setup, see the [parent repository README](https://github.com/rozwer/Qlib-with-Claudex).
49+
50+
---
51+
52+
*Below is the original Microsoft RD-Agent README for reference.*
53+
54+
---
55+
1056
<h4 align="center">
1157
<img src="docs/_static/logo.png" alt="RA-Agent logo" style="width:70%; ">
1258

0 commit comments

Comments
 (0)