Everything the user it signs in as may do, through the same screens a person uses. There is no separate API and no back door: the agent works in a browser, and the admin works without JavaScript, so every action is a plain link or form.
The admin explains itself. /admin/ai-guide, the "AI guide" link in the admin's page footer, describes the admin for agents. Its first part covers how screens, saving, autosave, translations and media work. Its last part is generated for the site and the signed-in user: the content types with their fields and limits, the taxonomies, the menus, the languages and the screens that user may open.
What an agent does in practice:
- writes and edits entries, and translates them with "Copy for translation";
- uploads pictures to the media library and sets their alt texts;
- edits menus, sections and the site settings;
- checks a change with Preview before saving, and restores an earlier version when needed.
It cannot do more than its user. Permissions are set per content type: an author's agent edits only that author's drafts, an editor's agent may publish. Screens the user may not open are missing from the agent's guide too. Deleting always asks for confirmation first.
Every change is on record. Each save keeps an earlier version, and Settings → Activity history lists sign-ins, saves, deletes and settings changes with the user's name. Give the agent its own user with the role it needs, and you will always see what it did.