Select text in the editor → Float Agent appears → choose action or enter custom instruction → results replace/insert in editor.

Predefined Actions

ActionDescription
PolishOptimize expression
AcademicizeRewrite in academic style
TranslateChinese-English translation
ShortenCompress text
ExpandAdd detail
ExplainExplain selected text

Create custom Float Agents in Settings > AI > Agents > Float Agents. Toggle via enableFloatAgent in Editor settings.