feat: add autoresearch demo — Slurm MCP for Hermes agent#16
Open
Marcelo5444 wants to merge 2 commits into
Open
feat: add autoresearch demo — Slurm MCP for Hermes agent#16Marcelo5444 wants to merge 2 commits into
Marcelo5444 wants to merge 2 commits into
Conversation
Adds a demo that connects a remote Slurm cluster to a Hermes agent inside a NemoClaw sandbox via slurm-mcp (MCP over SSH). The agent can submit jobs, monitor GPUs, manage files, and run shell commands on the cluster — all through 34 MCP tools. Key design: - Same MCP-over-HTTP pattern as the blender-demo (mcp-proxy + mcporter) - SSH key never enters the sandbox — stays on host - Agent persona follows Karpathy's autoresearch loop - Pulls research + mlops skills from NousResearch/hermes-agent upstream - setup.sh automates the entire installation in one command - Requires --agent hermes during nemoclaw onboard Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…/.bashrc - Resolve host.openshell.internal to IPv4 explicitly. `getent hosts` may return an IPv6 address first on some images; the resulting bracket-less URL (http://fdc4:...:9878/sse) is malformed, and the L7 proxy/SSRF guard rejects bracket-less IPv6 anyway. Use `getent ahosts ... | awk '/STREAM/ && \$1 !~ /:/'`. - /sandbox/.bashrc is root-owned read-only on current sandbox images, so `echo >> /sandbox/.bashrc` aborts the bootstrap under set -e before the SKILL.md upload and verify steps run. Make the PATH-export non-fatal — the skill uses absolute paths anyway. Also enrich the generated ssh-remote SKILL.md with two patterns from real use: - Interactive sessions (start_interactive_session / exec_in_session) preferred over submit_job for iterative work - NGC container registry login (docker login nvcr.io) with API-key prompt Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
./setup.sh--agent hermesduringnemoclaw onboardWhat's included
autoresearch-hermes-guide.mdbootstrap.shsetup.shautoresearch-skill/SOUL.mdautoresearch-skill/SKILL.mdpolicy.yamlTest plan
nemoclaw onboard --agent hermescreates a Hermes sandbox./setup.sh --sandbox <name> --alias cluster=<login-node> --key ~/.ssh/id_ed25519 --user <user>completesopenshell sandbox exec -n <name> -- /sandbox/bin/mcporter call cluster.run_shell_command command="hostname"returns the remote hostname🤖 Generated with Claude Code