It tries the app it builds
When the program is an Avalonia app, or a WPF app on Windows, the agent sees it as a person testing it would: a picture of each window, the tree of its controls with their text and state, and clicks, typing, keys and scrolling sent to the window, which never takes your focus or moves your pointer. It reads the app's binding errors and can break on a property's change.
It works as you do
It finds where things are declared and used, reads the warnings, renames, fixes and formats code as the IDE does, in C#, Razor, XAML, the web languages and project files alike. It builds, runs and tests, sets breakpoints, steps, reads and changes variables, applies Hot Reload and profiles a run. It searches and replaces across files, commits, resolves conflicts, adds packages and types into the terminal.