MATLAB’s detailed documentation makes it a breeze to bring in an agent using MATLAB Agentic Toolkit to create custom UI’s (among other things!).
The agent is able to assemble a custom “Angle of Incidence” exploration UI with minimal prompting. We just released this optics library, so the model is not trained on our APIs. But with a top-level index of optics functions, coupled with our strong documentation and cross referencing ‘see also’ links, it is able to progressively discover and use the right functionality. Our error messages also guide the agent when it stumbles (Side note: Our awesome doc team reviews all warning and error messages to be consistent and ‘actionable’!). We designed our API and UI components to follow MATLAB’s consistent design patterns making it ‘fit well’ into the wider MATLAB code and graphics ecosystem, you can see that in action as it figures out how to make the 3D view fill the pane!
*Recorded as I walked through this, warts and all. Sped up here and there (note the agent’s ticker). There is a bug visible in the final UI that I missed - see if you can spot it!