I built an AI coding Agent for Roblox Studio. It’s called ‘RoPilot Coding Agent’, and it’s available for free now.
With it, users can have code written for their experiences with only natural language requests.
It sends the user’s request and all the relevant code from the developer’s Roblox experience to whatever AI model the user wants, using their API key.
It then receives the AI’s code suggestions, implements them, and allows the user to review and remove changes.
This plugin is different than the Roblox Assistant in two major ways:
-
It’s code changes take into account the context of the experience’s scripts.
-
It can complete multiple tasks as a result of one prompt (Change or create multiple new scripts).
I’m available for job opportunities & feedback via DM.
This plugin was inspired by the RDC24 talk on accelerating development with AI, Cursor, CoPilot, and the Roblox Assistant.
Link to try it now:
What’s next:
-
Building a mixture of agents approach into the tool. A planning agent, a judging agent, and multiple coding agents using multiple different LLM providers at once, to select even better recommendations.
-
Making it autonomous, this would require the ability to run the environment, extract debug information, write and judge test cases, etc…
How it works:
-
The plugin reads all of the context of your game to start a prompt (Scripts, Assets, etc…)
-
It adds whatever your natural language text prompt is to the context of your game. (Whatever you asked it to do)
-
It sends that combined prompt to the API model of your choosing (OpenAI GPT-4o, Anthropic Claude 3.5 Sonnet, or Google Gemini 1.5 Pro)
-
It uses your API key for that service.
-
It receives the response from the model via API, and breaks it into individual changes to complete.
-
It understands which script to make each change in, and places the changes for you.
-
It logs each change for you to review and either “Go-To” to investigate, or “Undo” to remove.