These use a fake in-page “model”. In your app, ai.complete calls whatever LLM you like.
Select a few words, use the floating Improve (or Ask AI…) and Accept — the edit lands as an inline word diff (click a word to keep/drop). AI-written text is tracked, so you can highlight it. On an empty line, type / for Ask AI….
Watch a reply “type” with real formatting (headings, **bold**, code, lists), rendered partial-safe.
A chat pill with a live token/cost meter and @context chips. Type, add context, and Send (logged to the console).