AI Text Field — hosted demo

The editor below talks to POST /api/llm on this origin (the library's backend-proxy provider). Paste an access token — an ai-gateway key (ak_…) — to enable grammar correction and ghost-text completion. The token stays in this browser's localStorage and is sent only as the Authorization header of /api/llm calls.

Select text or place the caret and use the toolbar's grammar action (or Ctrl+Shift+G); ghost-text suggestions appear after a pause — Tab accepts, Esc dismisses.