File size: 1,302 Bytes
7fcf0b3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | # ReAct Code BioAgent DeepSeek
This project runs `/225040511/project/bioagent-bench` with a LangChain/LangGraph
ReAct agent backed by DeepSeek's OpenAI-compatible API.
## Environment
The runner uses the existing Biomni Python environment:
```bash
/225040511/miniconda3/envs/biomni_e1/bin/python
```
Set one of these keys before running:
```bash
export DEEPSEEK_API_KEY=...
```
Optional overrides:
```bash
export DEEPSEEK_MODEL_NAME=deepseek-chat
export DEEPSEEK_BASE_URL=https://api.deepseek.com/v1
```
## Run
Smoke test one small task:
```bash
cd /225040511/project/react_code_bioagent_deepseek
/225040511/miniconda3/envs/biomni_e1/bin/python -m react_code_bioagent.runner --task transcript-quant
```
Run the full benchmark:
```bash
cd /225040511/project/react_code_bioagent_deepseek
/225040511/miniconda3/envs/biomni_e1/bin/python -m react_code_bioagent.runner --all
```
Outputs are written under:
```text
/225040511/project/react_code_bioagent_deepseek/runs
```
## Evaluate
Rule-mode evaluation:
```bash
cd /225040511/project/react_code_bioagent_deepseek
/225040511/miniconda3/envs/biomni_e1/bin/python -m react_code_bioagent.evaluate --all
```
The evaluation JSON is written to:
```text
/225040511/project/react_code_bioagent_deepseek/results/bioagent_bench_rule_eval.json
```
|