Loading...
Loading...
Execute research code inside isolated Docker containers for safe replication, experiments, and benchmarks. Use when the user selects Docker as the execution environment or asks to run code safely, in isolation, or in a sandbox.
npx skill4agent add getcompanion-ai/feynman docker/replicate/autoresearchdocker run --rm -v "$(pwd)":/workspace -w /workspace python:3.11 bash -c "
pip install -r requirements.txt &&
python train.py
"docker build -t feynman-experiment .
docker run --rm -v "$(pwd)/results":/workspace/results feynman-experimentdocker run --rm --gpus all -v "$(pwd)":/workspace -w /workspace pytorch/pytorch:latest bash -c "
pip install -r requirements.txt &&
python train.py
"| Research type | Base image |
|---|---|
| Python ML/DL | |
| Python general | |
| Node.js | |
| R / statistics | |
| Julia | |
| Multi-language | |
/autoresearch--rmdocker create --name <name> -v "$(pwd)":/workspace -w /workspace python:3.11 tail -f /dev/null
docker start <name>
docker exec <name> bash -c "pip install -r requirements.txt"
docker exec <name> bash -c "python train.py"docker stop <name> && docker rm <name>--network none