system_context; the visible user message remains unchanged.
From editor to agent context
- Load the agent’s mention manifest with
client.mention_types.agent_manifest(agent_id). - Search a manifest entry with
search_for_agent(...). Agent-scoped search rejects mention types that are not assigned to that agent. - Submit the selected option as a
ContextRefinRunOptions.context_refs. - AgentFlow hydrates the reference through its registered provider and persists the hidden context with the turn for replay.
ContextRef shape returned by your application contract. Do not place provider credentials or a full provider record in the user message.
Catalog and custom mention types
/api/v1/mention-types exposes the tenant catalog, provider metadata, editor options, search, availability, and tenant-admin CRUD. System-managed mention types can be searched and assigned but cannot be edited or deleted. Custom mention types require a provider that advertises customer configuration support; AgentFlow validates the provider and source configuration before saving it.
The supported triggers are @, #, and /, with @ as the default. Mention keys are stable identifiers and use lowercase letters, numbers, and underscores. The default icon is the canonical keyword-tag UI icon.

