PenguinClaw for Rhinoceros

The plugin's panel docked beside a Rhino viewport with a white model in it

Project data

An AI agent inside Rhino 8 as a dockable panel: it builds, edits and inspects geometry from natural language, runs any Rhino command, builds Grasshopper definitions and checks its own work through the viewport. Published on Food4Rhino.

Project no.
06 / 08
Discipline
Coding
Year
2026
Type
Rhino plugin
Stack
C#, RhinoCommon, Eto.Forms
Platform
Rhino 8, Windows and Mac
Published
Food4Rhino
Licence
MIT
Chapters
03
Figures
02

What it does

Fourteen tools, and every Rhino command behind one of them. PenguinClaw embeds an AI agent in Rhino 8 as a dockable panel. The model is given a lean set of fourteen tools: Python execution for all geometry and edits, a single passthrough to every Rhino command (over 980, third-party plugins included), Grasshopper build, solve and bake tools, and a viewport vision loop. A snapshot of the scene (units, the current selection with its IDs, an inventory of objects) goes into every turn, so “scale it” or “put it on top of the box” resolve without a wasted round trip.

The panel's Tools tab: the fourteen tools listed with what each does, the status of the backend, Rhino, the document and the model beside them

How it works

Each message runs a tool-use loop: the model receives the message, the live scene context and the tool definitions, streams text and returns tool calls; the tools execute on Rhino's UI thread and their results feed the next turn, until the model ends its turn or after 25 iterations. Replies stream token by token, with tool calls shown live as they run. Grasshopper components are indexed at startup and keyword-matched per request, so the five most relevant are offered each time without bloating the context. With Anthropic as the provider, the system prompt, tools, scene context and message history are cached, so multi-step loops reuse the growing prefix.

Stack

C#, RhinoCommon (.NET 4.8), Eto.Forms, Newtonsoft.Json; a React and Vite front end for the panel; xUnit tests; providers: Anthropic (default), OpenAI-compatible endpoints and others as configured in the plugin.