From 2b493b260883ff418c59a417f2d50cb40286e30a Mon Sep 17 00:00:00 2001 From: max4c Date: Thu, 12 Mar 2026 14:50:16 -0700 Subject: [PATCH 1/3] add runpodctl to autoresearch template Enables the agent to spin up multi-GPU pods when experiments need more VRAM. The agent reads program.md which explains how to use it. Co-Authored-By: Claude Opus 4.6 (1M context) --- official-templates/autoresearch/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/official-templates/autoresearch/Dockerfile b/official-templates/autoresearch/Dockerfile index 6dc9e4e..e60f67e 100644 --- a/official-templates/autoresearch/Dockerfile +++ b/official-templates/autoresearch/Dockerfile @@ -1,6 +1,10 @@ ARG BASE_IMAGE=non-existing FROM ${BASE_IMAGE} +# Install runpodctl for pod management (scaling up GPUs) +RUN wget -qO- https://github.com/runpod/runpodctl/releases/latest/download/runpodctl-linux-amd64 > /usr/local/bin/runpodctl && \ + chmod +x /usr/local/bin/runpodctl + # Clone autoresearch to /opt (safe from volume mounts) ARG AUTORESEARCH_REF=master RUN git clone --branch ${AUTORESEARCH_REF} --depth 1 \ From 31fca0cf55306e9fee19efc31ff0f1b5156d978b Mon Sep 17 00:00:00 2001 From: max4c Date: Thu, 12 Mar 2026 15:09:57 -0700 Subject: [PATCH 2/3] fix: runpodctl is now distributed as tarball The release asset changed from a raw binary to a .tar.gz archive. Co-Authored-By: Claude Opus 4.6 (1M context) --- official-templates/autoresearch/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/official-templates/autoresearch/Dockerfile b/official-templates/autoresearch/Dockerfile index e60f67e..b1f9638 100644 --- a/official-templates/autoresearch/Dockerfile +++ b/official-templates/autoresearch/Dockerfile @@ -2,8 +2,8 @@ ARG BASE_IMAGE=non-existing FROM ${BASE_IMAGE} # Install runpodctl for pod management (scaling up GPUs) -RUN wget -qO- https://github.com/runpod/runpodctl/releases/latest/download/runpodctl-linux-amd64 > /usr/local/bin/runpodctl && \ - chmod +x /usr/local/bin/runpodctl +RUN wget -qO- https://github.com/runpod/runpodctl/releases/latest/download/runpodctl-linux-amd64.tar.gz | \ + tar -xz -C /usr/local/bin runpodctl # Clone autoresearch to /opt (safe from volume mounts) ARG AUTORESEARCH_REF=master From 535aae41d4500a8d51cf57f7348b1ced5b6a961f Mon Sep 17 00:00:00 2001 From: max4c Date: Thu, 12 Mar 2026 15:15:44 -0700 Subject: [PATCH 3/3] pin runpodctl to v2.1.6 for reproducible builds Co-Authored-By: Claude Opus 4.6 (1M context) --- official-templates/autoresearch/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/official-templates/autoresearch/Dockerfile b/official-templates/autoresearch/Dockerfile index b1f9638..9066e28 100644 --- a/official-templates/autoresearch/Dockerfile +++ b/official-templates/autoresearch/Dockerfile @@ -2,7 +2,8 @@ ARG BASE_IMAGE=non-existing FROM ${BASE_IMAGE} # Install runpodctl for pod management (scaling up GPUs) -RUN wget -qO- https://github.com/runpod/runpodctl/releases/latest/download/runpodctl-linux-amd64.tar.gz | \ +ARG RUNPODCTL_VERSION=v2.1.6 +RUN wget -qO- https://github.com/runpod/runpodctl/releases/download/${RUNPODCTL_VERSION}/runpodctl-linux-amd64.tar.gz | \ tar -xz -C /usr/local/bin runpodctl # Clone autoresearch to /opt (safe from volume mounts)