Engine and host integration

An agent beside you

A scripted agent sends JSON commands while you keep typing: edits or suggestions, its own caret and undo.