Skip to main content
Use any published Runchat workflow as a Grasshopper component. The plugin ships with Runchat for Rhino, so if you’ve already installed that, you have this too.

Getting Started:

1. Install Runchat for Rhino

  • In rhino, run PackageManager
  • Search for Runchat and Install it
  • Restart rhino before continuing

2. Download the examples

Ready-to-open Grasshopper definitions covering image editing, mesh generation, and scripting workflows.
Download a ZIP file of all examples here: GH Examples ZIP
Once you’ve unzipped the examples folder, open the 01_BasicDemo.gh in Grasshopper.
Grasshopper definition generating a family of 3D objects
One of the best use cases for Runchat in Grasshopper is generating families of 3D objects with a consistent style. These assets can be used for concept design, populating environments in games, exploring forms, generating interior design concepts and more. You will need to create a Runchat API key to connect Grasshopper to your Runchat account.
  • Right-click the runchat node in the grasshopper definition and click “Get API Key”, or head to runchat.com and create an account or sign in
  • Verify your account by following the link sent to your email address
  • Whilst logged into your account:
    • Proceed to runchat.com/dashboard
    • Copy your key to your clipboard. If you need another one, you can create one from the account menu.
Back in Grasshopper, open the 01_BasicDemo.gh file. Right-click the Runchat component and paste your API key in the text field that says “Set API Key”. Press enter to save the key. Your Runchat account is now linked and you can run the examples!
The API key is stored as a local environment variable and is not saved with your Grasshopper definition.

4. Watch the tutorial series to build your own workflows

5. Using the Runchat Agent in Grasshopper (Beta)

You can use the chat agent in the Runchat Rhino plugin window to interact with your active Grasshopper document. The agent can:
  • Read the canvas and explain what the definition does
  • Read the inputs and outputs of individual components
  • Search for components and add them to the canvas
  • Connect and disconnect components to build definitions
You can use the agent for:
  • Asking questions about your grasshopper definition
  • Building simple definitions from scratch
  • Converting Rhino scripts to grasshopper definitions

The Runchat component

The Runchat node in Grasshopper
The Runchat node executes a published Runchat workflow from inside Grasshopper. It is not a generic AI component, it loads the exact inputs and outputs you published in Runchat and exposes them as parameters on the node.
The node will not run until you link a Runchat API key. Right-click the node and choose Get API Key if you don’t have one, then Set API Key to paste it in. The key is stored locally per machine, see Link your API key for the full flow.

How it works

  1. Build and publish a workflow in runchat.com with the inputs and outputs you want exposed.
  2. Copy the workflow ID from the URL.
  3. Drop a Runchat node onto the Grasshopper canvas. It starts with a single ID parameter.
  4. Right-click the ID parameter, set the workflow ID, and the node rebuilds with matching inputs and outputs.
  5. Wire Grasshopper data into the inputs and run. Results come back asynchronously, so Grasshopper stays responsive while the workflow runs.

Input and Output Parameters

The parameters on the node match what you published in Runchat. If you change what is published (add a new input, rename an output), use Reset Runchat from the right-click menu to reload the schema. All values are cast to strings. If your workflow returns a JSON object, use the JSwan plugin to deserialize it and access individual properties.

Right-click menu

Load New Runchat Resets the component back to its initial state with a single ID parameter so you can load a different workflow. Open Artifacts Opens the artifacts view to browse all images generated by this workflow. Reset Runchat Re-loads the Runchat schema (input and output parameters) for this component. Use this whenever you add or remove published parameters in your workflow on runchat.com. After resetting you may need to re-connect inputs and outputs. Reset also clears any state on the workflow instance. By default, the first run creates a new instance (copy) of your Runchat and every subsequent run reuses it, so the workflow can reference previous state (for example, building chat history with a Loop node). Reset to start fresh. Open Documentation Launches this site. Get an API Key Opens runchat.com/signup/grasshopper to log in or sign up, then redirects to the dashboard to create a new key. Set API Key Paste your API key and click Commit Changes. The key is saved as a local environment variable, so you only need to set it once per machine and it is never written to the Grasshopper file.

Utility components

Runchat utility components in Grasshopper
Companion components for the Runchat node. Most Runchat workflows return URLs (images, 3D models), so these utilities download those URLs into Rhino, and feed Rhino geometry back into a workflow as input.

Image Preview

Connect an image URL to download and preview the image in Grasshopper. Useful for previewing the output of text-to-image workflows.

Load GLB

Connect a glb or gltf URL to download and load the model into the Rhino viewport. Useful for previewing the output of image-to-3D workflows.

Upload Screenshot

Uploads a screenshot of the active Rhino viewport to Runchat and returns the URL. Use this to feed Rhino geometry into a workflow as image input, for example to generate renders from a massing model.

Camera Projection

Projects an image onto a mesh using the camera in the active Rhino viewport. Useful for applying generated textures or reference images onto existing geometry.

Preview Viewport

Displays an image in a new viewport with matching dimensions. Useful for comparing generated images against the active scene.

Next steps