// guide

How to run OpenHands with a local Nemotron model

To run OpenHands with a local Nemotron model, point its LLM settings at a vLLM server on the same machine; on NVIDIA Brev, the OpenHands Coding Agent on Nemotron Launchable runs OpenHands with NVIDIA Nemotron 3.5 Lightning served by vLLM on one NVIDIA L40S 48GB GPU.

Updated

Published

On this page

What does the OpenHands Launchable run?

The OpenHands Coding Agent on Nemotron Launchable runs OpenHands, an open-source coding agent, next to a vLLM server that serves NVIDIA Nemotron 3.5 Lightning on the same instance. A Launchable is a reproducible, shareable environment configuration on NVIDIA Brev: GPU, disk, container setup and ports in one link (https://docs.nvidia.com/brev/latest/concepts/launchables.md).

ItemValue
GPUNVIDIA L40S 48GB
Instance typeAWS g6e.xlarge
Disk200 GiB
Priceabout $2.26/hr (Brev console, 2026-11-19)
Last fresh-deploy smoke2026-11-15
  • OpenHands (Agent Canvas) 1.40.0, image ghcr.io/openhands/agent-canvas:1.40.0, MIT License.

  • vLLM v0.27.1, image vllm/vllm-openai:v0.27.1 pinned by digest, Apache License 2.0.

  • Default model nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4, OpenMDW License Agreement, version 1.1.

  • Launch option Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8, Apache License 2.0, about a 31 GB download.

How is OpenHands wired to the local vLLM model?

OpenHands talks to vLLM through vLLM's OpenAI-compatible API, so no hosted model API key is needed. vLLM serves whichever model you pick under the alias coder, and you enter these values in the OpenHands LLM settings:

OpenHands settingValueWhy
Custom modelopenai/coderThe openai/ prefix tells OpenHands to use the OpenAI-compatible API; coder is the vLLM alias.
Base URLhttp://vllm:8000/v1The vLLM service address inside the Launchable's container network.
API keyany non-empty string, for example localThe local vLLM server needs no hosted provider key.
  • The OpenHands local-model documentation says OpenHands needs at least about 22k tokens of context and recommends 32k or more.

  • The MAX_MODEL_LEN launch setting offers 65536 (default), 32768 or 131072 tokens.

  • On the instance, vLLM listens on port 8001 of the instance only; it is not exposed publicly.

  • To call the same API from your machine, run brev port-forward INSTANCE_NAME --port 8001:8001, then request /v1/models on the forwarded port.

For the general pattern of keeping a vLLM API private and reaching it from your machine, read serve an OpenAI-compatible API with vLLM.

How do I give OpenHands a first task?

Open OpenHands, enter the three LLM settings above, and start a conversation. The steps from the Launchable README:

  1. Deploy the Launchable and wait until the instance shows Running.

  2. Open the OpenHands link for port 8000 and go to the /canvas path.

  3. Read the OpenHands API key on the instance with docker exec $(docker ps --quiet --filter label=com.docker.compose.service=openhands) sh -c 'cat "$STATE_DIR/api-key.txt"'.

  4. In the LLM settings, set the custom model openai/coder, the base URL http://vllm:8000/v1 and any non-empty API key such as local.

  5. Start a conversation; the first answer arrives once the model has finished loading.

Your projects live under /home/ubuntu/workspace/projects on the instance.

OpenHands vs Paperclip: one agent or a team?

Use OpenHands when one agent should work on code in a project; use Paperclip when you want several agents with roles working through goals and tickets. Both Launchables on NVIDIA Brev serve NVIDIA Nemotron 3.5 Lightning with vLLM on the same GPU type.

ItemOpenHands Coding Agent on NemotronPaperclip Multi-Agent Team on Nemotron
ShapeOne coding agent in a conversationA company of agents with an org chart, goals and tickets
LicenceMIT LicenseMIT License
Model name the agent usesopenai/codervllm-local/agent-model
Web UI port80003100
GPUNVIDIA L40S 48GBNVIDIA L40S 48GB

Read how to run a Paperclip multi-agent team on Nemotron, see the Paperclip Multi-Agent Team on Nemotron Launchable, or browse every Launchable in coding and multi-agent.

How do I deploy it on NVIDIA Brev?

Open the deploy link, keep the defaults, deploy and wait for Running. The full walkthrough is in how to deploy a Launchable on NVIDIA Brev.

  1. Open the OpenHands Coding Agent on Nemotron deploy page (external site).

  2. Keep MODEL at nvidia/NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4 and MAX_MODEL_LEN at 65536, or change them.

  3. Deploy on the NVIDIA L40S 48GB instance and wait until it shows Running.

  4. Open OpenHands and follow the first-task steps above.

What happens when I stop or delete the instance?

Stop keeps your models, settings and projects; Delete removes them. The guide stop, start and delete an NVIDIA Brev instance covers each action.

  • Models: /home/ubuntu/workspace/huggingface, survives Stop.

  • OpenHands settings and conversations: /home/ubuntu/workspace/openhands, survives Stop.

  • Projects: /home/ubuntu/workspace/projects, survives Stop; push work to a git remote before Delete.

  • If the containers do not come back after Start, run cd /home/ubuntu/workspace && sudo docker compose up -d.

How does this relate to NightKeeper?

This Launchable is a finished environment you deploy yourself. NightKeeper is a separate 9owls product for your own code: it packages your repository as an NVIDIA Brev Launchable, proves it on a fresh GPU and keeps it running.

Sources: where do these facts come from?

Every fact on this page comes from one of these sources, read 2026-11-22.

How was this page made?

9owls publishes this page. The GPU, disk, settings and stop and start facts come from the Launchable's README and its fresh-deploy smoke on 2026-11-15; the price is the newest Brev console read for its instance type, AWS g6e.xlarge, on 2026-11-19. Corrections: contact 9owls.

  • What changed on 2026-11-28: the price now shows the 2026-11-19 console read for AWS g6e.xlarge, which replaced the 2026-11-15 read.
  • What changed on 2026-12-01: the title and heading say how to run OpenHands with a local Nemotron model again.

All guides