[Examples] Add Nemoclaw example#9141
Conversation
Signed-off-by: Avril Aysha <68642378+avriiil@users.noreply.github.com>
Signed-off-by: Avril Aysha <68642378+avriiil@users.noreply.github.com>
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a new example that enables users to deploy NVIDIA's NemoClaw, a secure OpenClaw runtime, onto a cloud virtual machine using SkyPilot. The core purpose is to provide a more secure and isolated environment for running NemoClaw, minimizing the risk to local systems and personal data by leveraging cloud infrastructure. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
The pull request introduces a new SkyPilot example for deploying NemoClaw on a cloud VM, including a README.md for usage instructions and a nemoclaw.yaml configuration file. Review comments highlight several areas for improvement: correcting a syntax error in the nemoclaw.yaml setup script, ensuring the correct user is added to the Docker group, filling in a missing blog post link in the README.md, standardizing the sky stop and sky start commands in nemoclaw.yaml to use nemoclaw for consistency, and enhancing the Git clone operation in the setup script to use https:// for better reliability.
| # ssh nemoclaw | ||
| # | ||
| # # Run the interactive NemoClaw installer | ||
| # cd ~/NemoClaw && ./install.sh" |
| # Install Docker — required by NemoClaw's OpenShell sandbox | ||
| if ! docker info > /dev/null 2>&1; then | ||
| curl -fsSL https://get.docker.com | sudo sh | ||
| sudo usermod -aG docker $USER |
|
|
||
| NemoClaw wraps OpenClaw in an isolated [OpenShell](https://github.com/NVIDIA/OpenShell) sandbox with filesystem isolation, network egress control, and inference routing. Running it on a dedicated cloud VM adds a fourth layer: the machine itself contains none of your personal data or credentials. | ||
|
|
||
| Read the full blog post: [Make NemoClaw Bulletproof]() |
| # TELEGRAM_BOT_TOKEN=<your-token> nemoclaw start telegram | ||
| # | ||
| # # Stop when done — all state is preserved on disk: | ||
| # sky stop openclaw |
| # # Stop when done — all state is preserved on disk: | ||
| # sky stop openclaw | ||
| # | ||
| # # Resume later — picks up right where you left off: |
|
|
||
| # Find the login user — the non-root human user with a home under /home. | ||
| # This works across GCP, AWS, Azure regardless of username. | ||
| LOGIN_USER=$(ls /home | head -1) |
There was a problem hiding this comment.
Using https:// for the Git clone URL is generally more robust as it avoids potential SSH key configuration issues on the remote VM. Consider changing git clone https://github.com/NVIDIA/NemoClaw.git to ensure reliable cloning.
sudo -u "$LOGIN_USER" git clone https://github.com/NVIDIA/NemoClaw.git "${LOGIN_HOME}/NemoClaw"
This PR adds an example YAML for running NemoClaw on a cloud VM
Signed-off-by: Avril Aysha 68642378+avriiil@users.noreply.github.com
Tested (run the relevant ones):
bash format.sh/smoke-test(CI) orpytest tests/test_smoke.py(local)/smoke-test -k test_name(CI) orpytest tests/test_smoke.py::test_name(local)/quicktest-core(CI) orpytest tests/smoke_tests/test_backward_compat.py(local)