Overview
The AI Script Assistant is an in-app coding partner built directly into the ARC script editor. Instead of switching to a browser, copying code from a chatbot, and renaming variables to match your project, you ask the assistant a question from inside ARC and get back a script that already uses the names you defined.
It generates JavaScript or Python (you pick), respects the ARC scripting API, and remembers the conversation so each follow-up builds on the last reply.
How It Works
Ask in Plain Language
Open the assistant from any script editor and type your request — “sweep the servo from 1 to 180,” “fix this script, it hangs after the second loop,” or “explain what this code does.”
ARC Sends Project Context
Your prompt is bundled with live project state — globals, EZB ports, robot parameters, controlCommand() targets, and the current script — so the AI has ground truth instead of guesses.
Paste, Run, Iterate
The reply comes back in a fenced code block, ready to drop into your script. Don’t like it? Ask for changes — the conversation continues until the code is exactly what you want.
Why It’s Different
Generic AI chatbots invent function names, hallucinate APIs, and force you to find-and-replace placeholder variables before the code will run. The ARC AI Script Assistant ships with the full ARC scripting reference, plus your project’s authoritative state, on every turn. The code it returns uses real APIs and real names that already exist in your project.
What You Get
Who Benefits
- Beginners — describe a behavior in English and get a working script without learning the full scripting API first.
- Experienced builders — skip the boilerplate. Generate a sweep, a sensor loop, or a state machine in seconds, then refine it.
- Educators — students learn by asking the assistant to explain what code does, not just by copying it.
- Project owners — refactor old scripts, port between JavaScript and Python, or document existing code on demand.
Ready to try it?
The AI Script Assistant ships with Synthiam ARC. Download ARC, open any script, and ask the assistant for the code you want.
Get ARC → View AI Credits