Get Started with Token Factory and NemoClaw - Rafay Product Documentation

NemoClaw

In this guide you will use an inference endpoint from Rafay's Token Factory as a custom model provider within a self hosted, BYO NemoClaw instance.


Assumptions

This exercise assumes the following requirements are already in place.


1. Retrieve Model API Details

In this section, you will retrieve the Token Factory Model API details. These details will be used to configure the NemoClaw model provider in a later step.


2. Install NemoClaw

In this section, you will install NemoClaw and configure a sandbox that will use your Token Factory model.

curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash

After a few minutes, you will be presented onscreen with options to configure inference.

Next, you will be presented to choose a name for the sandbox, keep the default and press Enter.

After a few minutes, you will be presented with the policy presets to select. Keep the default and press Enter.

If you intend to use the UI, be sure to copy the tokenized URL in the output.


3. Use NemoClaw with Token Factory

In this section, you will initiate a chat session from the NemoClaw.

nemoclaw list
nemoclaw my-assistant connect
openclaw agent --agent main --local -m "Hello, what model are you using?" --session-id test

You will see a response showing your model name.


4. Verify Token Usage

In this section, you will verify token usage from NemoClaw within Token Factory.

You will see the token usage from the previously sent chat message.