AI assistant for writing/modifying scripts in Grasshopper (Kea plug-in)

Got it ,thank you sir

xAI can’t create a GH battery.

[17:28:48] EXCEPTION - Error in PopulateFromTemplate | ExceptionMessage=Value cannot be null. (Parameter ‘type’) ExceptionType=ArgumentNullException
at System.ArgumentNullException.Throw(String paramName)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at Kea.ScriptComponentUtilities.<>c__DisplayClass10_0.b__0()

[17:28:48] EXCEPTION - Error in CreateOrUpdateScriptComponent | ExceptionMessage=Object reference not set to an instance of an object. ExceptionType=NullReferenceException
at Kea.ScriptComponentUtilities.CreateOrUpdateScriptComponent(GH_Document doc, String scriptCode, List1 newParamSpecs, String scriptDescription, ILogger logger, Nullable1& newInstanceGuid, String connString, Nullable`1 isRhino8Arg, ContentFormat cf, IGH_Component existingComponent, String nickName, String usingsCode, String additionalCode, Single x, Single y)

Try different models, especially the main ones you might find on the web chats, and they should return better quality answers that Kea can reliably process to create or update scripts.

Cheers for the log lines though, I’ll have a look into it.

Kea now supports Azure OpenAI - but this is unlocked per company, so if you work in a company that has Azure OpenAI deployments, send me the domain ID you see in the About pane of Kea and I’ll remotely unlock that for your company.

More details here: #grasshopper #computationaldesign #ai #azureopenai #plugin #generative #aec | Nicolaas Burgers

can you explain why you’ve listed OpenAI’s gpt-5 codex or pro. Seems they should not work, at least i get

Thanks for flagging this - I’ll have a look into what I might need to add to Kea to handle these new models.

Hi @cfee I’ve just released a new version (0.0.11-alpha) that should fix the issue with OpenAI gpt-5xx models.

It also stores chat histories locally, too, by the way.

Thanks! Could you also comment on why it seems that the replies (the “thinking” phase) take (about five times) longer when using Kea compared to the ChatGPT web interface? Not meant as criticism — just feedback for UX flow. Sometimes the fastest way is to stop Kea, move to web and rerun question, copy the snippet from the browser, stop Kea while it’s still thinking, and paste the results into that window so it can create the node. Is it related to using specific models? Only tested openai gpt5 thus far

where i can download kea?

To a certain extent, the “thinking” period can feel slower because the web chats show each word as it arrives, whereas if you request AI responses through their APIs then it waits until every word of the response is completed before sending anything back.

I have found differing speeds with models and I’ve found that deployments of Azure OpenAI in business settings, for example, seems to often be quite responsive.

It’s available via Package Manager with the “Include pre-releases” box ticked.

Ahhh. Its only for pc :frowning: .

s
Hi Nico,

Please see my screenshot, I can not see my Kea Plug-in, I do not know why, can you help me to solve this problem?

Best wishes!

Yaohui

Nicolaas Burgers via McNeel Forum <notifications@mcneel.discoursemail.com> 于2025年9月1日周一 14:14写道:

It’s on the View menu.

what kind of situation is this?

Cumberland via McNeel Forum <notifications@mcneel.discoursemail.com> 于2025年12月1日周一 19:50写道:

I have no idea. I don’t have the latest version of the plugin installed on the system.

Hi @Yaohui_Zhang there are a couple of API calls that Kea makes when starting up, and I recently converted this from synchronous to async and so you could see this in the first second or two when it’s still making these calls after GH has finished loading.

Not only is it checking if the version is still supported but I’ve added a call to an API I manage in which it checks whether Azure OpenAI has been configured for the company you’re in, as I explain in this post:

Are you finding that it stays in this state for a long time?

Hi Nicolaas,

Though i’d give it another try, but for some reason it’s not listed anymore. It’s installed

Sorry to bother you, but your plugin would be very useful to me and I can’t find an alternative. I need it for Mac. :frowning: Do you know if it could be easily regenerated? Thank you.