We (Growth-Team) are currently working on a project to guide a user in approving/disapproving new links in an article based on recommendations from a machine-learning library. One of the design concepts (concept A in T253020) explores some ways we might do this.
As we think about building, though, @Tgr pointed out that there would be a lot of value in establishing a generic framework (plugin?) for VisualEditor to allow interaction with suggestions in a uniform way.
The recommendation UX in VisualEditor. It's a fairly generic concept that works for most machine-generated fixes, we'll have more of those (spelling fixes, for example, or adding citations), it makes sense outside the recommendation context as well (e.g. "spell-check my edit" would be a useful generic functionality in the editor; most mainstream document editing software has it, with a similar look and feel); it would make sense to integrate it into the standard UX library.
While we plan to start with add link, later this fiscal year we plan to add a structured task to guide a user in adding suggested images. So we should probably start thinking about how to do both of these in a consistent way that integrates nicely with VisualEditor.
I'm creating this task so we can start discussing ideas.