@ autocomplete with members + agents.
Autocomplete popover triggered by `@`. Shows members + agents from your team. Arrow-key nav, Enter to commit, Esc to dismiss. Returns a structured mention object you store in the doc body.
import { MentionPicker } from "@/components/ui/mention-picker";
<MentionPicker members={members} agents={agents} onMention={insertMention} />components/ui/ folder. You own the code.