# Search engine optimization Agent

## Overview

> info **PREREQUISITES**:
>
> * You must have an active Sitefinity AI subscription.\
>   For more information, see [Sitefinity AI](https://www.progress.com/documentation/sitefinity-cms/sitefinity-ai).
> * This capability is available in self-hosted Sitefinity CMS and Sitefinity Cloud setup starting with version Sitefinity 15.4.8631.
> * To use this capability, your account must have the *Use AI agents* permission.\
>   To configure the *Search engine optimization* agent, your account must have the *Manage AI agents* permission.\
>   For more information, see [Permissions for using the built-in AI features](https://www.progress.com/documentation/sitefinity-cms/permissions-for-using-ai-features).
> * Using Sitefinity AI agents on page level is supported only for ASP.NET Core and Next.js pages..

The built-in *Search engine optimization* agent is powered by AI to help content editors ensure that Sitefinity CMS content and pages align with SEO best practices.

The AI agent is integrated directly into the Sitefinity content editing experience and is designed to work efficiently with all existing workflows for pages and content items.

The AI agent analyzes your content and pages, and generates actionable in-context suggestions upon detecting any issues or under-optimized content.

You can interact with the *Search engine optimization* agent in Sitefinity CMS backend in the following ways:

* During your content editing experience, where you can apply in-context actionable AI-generated recommendations.
* Through [DX Assistant](https://www.progress.com/documentation/sitefinity-cms/dx-assistant), an AI-powered chat experience, available starting with version Sitefinity 15.4.8638.
* Through [Optimization Hub](https://www.progress.com/documentation/sitefinity-cms/optimization-hub), an AI-powered content optimization experience, available starting with version Sitefinity 15.4.8640.

## Configure the Search engine optimization agent

> info  **NOTE**: With an active Sitefinity AI subscription, you can start using the *Search engine optimization* agent out of the box, as the agent is enabled in your Sitefinity backend.\
> To get personalized AI suggestions, а site administrator must first configure the behavior of the agent through the *AI agents* module.

To configure the *Search engine optimization* agent individually, perform the following:

1. Log in to your Sitefinity CMS backend with *Administrator* privileges.
2. Navigate to *Administration* » *AI agents* and click the *Search engine optimization* agent.\
   The *AI agent properties* screen opens.
3. In *Agent name*, you can optionally change the default agent name.
4. In *Enable this agent*, you can optionally disable this AI agent by selecting *No*.\
   The default setting is *Yes*.
5. In *Available in the backend chat assistant*, you select the desired setting.\
   The default setting is *Yes*. This allows backend users to request this agent to perform various content-related tasks through interacting with DX Assistant chat experience.\
   If you do not intend to access and use this agent through the chat assistant, select *No*.
   > info  **NOTE**: This configuration option is available for Sitefinity AI agents starting with version Sitefinity 15.4.8633.
6. In *Generate suggestions while editing content*, specify if you want to allow this agent to generate in-context suggestions while creating or editing Sitefinity content and pages.\
   The default setting is *Yes*.
7. In *Instructions*, you can optionally edit the preconfigured prompt with SEO best practices guidelines according to your individual needs. This prompt is sent to the Large Language Model (LLM) when the agent is executed.\
   These instructions guide how the AI agent analyzes your content and performs its tasks.
8. For multisite setup, under *This agent works with...*, select the desired option:
   * *All sites* (default option) - use this option if you want this AI agent to work consistently across all your sites.
   * *Selected sites* - use this option if you want this AI agent to work only for the site(s) you select here.
9. Under *For content types and fields...*, select the desired option:
   * *All content types and fields* (default option) - use this option if you want this AI agent to suggest improvements for all available content types and fields.
   * *Selected content types and fields...* - use this option if you want this AI agent to suggest improvements only for specific content types selected here.
10. In the *Tools* section, under *This agent can use the following tools*, select the MCP tools this agent can use to execute AI-driven tasks and perform requested actions on behalf of the user.
    > info  **NOTE**: The *Tools* configuration option is available for Sitefinity AI agents starting with version Sitefinity 15.4.8633.
    Tools are exposed by Sitefinity MCP Server and by external MCP servers (if such are connected). They enable the AI agents to safely perform AI-driven actions in Sitefinity CMS backend and to interact with external systems.\
    Tools that require explicit **user approval** for high-impact or destructive actions are indicated on the UI and are invoked only through the backend chat experience.
    1. To assign tools, click ![Add](https://www.progress.com/documentation/sitefinity-cms/assets/68f42a105be1c7bbb193b14eeea38af6/add-button.png "Add") (*Add*).
    2. Select the desired tools listed on the *Select tools* screen that opens.\
       When an external MCP server is connected, the tools exposed by this server that have *Enabled* status are also listed on the screen.
    3. Click *Use selected* to confirm your choice.
    For more information about the built-in Sitefinity tools, see Sitefinity MCP Server » [Exposed tools](https://www.progress.com/documentation/sitefinity-cms/mcp-server#exposed-tools).
11. In the *Agent identity* section:
    * In *Short name*, you can change the shorter version (*SEO)* of the AI agent name.\
      The short name is used where space is limited in the UI.
    * In *Agent ID*, you can edit the unique identifier generated for this AI agent (used internally by the AI agents workflow orchestration).
12. Save your changes.\
    If needed, you can restore the default system settings for this AI agent by clicking *Restore to default*.

> info  **NOTE**: Built-in AI agents cannot be deleted, unlike custom AI agents.

> info  **NOTE**: Sitefinity AI agents cannot apply changes to Sitefinity content or pages without user approval.

## Use the SEO agent on content items

By default, the AI agent is integrated directly into the Sitefinity content editing experience and ready to surface SEO related suggestions when you open a content item for editing.

When opening an existing content item for editing or creating a new one (such as Blogs, News, and Events), the AI agent analyzes the affected content fields and generates various SEO recommendations - according to the configured behavior of the agent.\
Content editors get a notification icon ![Content suggestions](https://www.progress.com/documentation/sitefinity-cms/assets/2aec07d5c219079dac7cefa66d71f153/ai-suggestions-icon.png "Content suggestions") (*Content suggestions*) on their active screen indicating the counter of all AI-generated suggestions for the currently open content item.\
By clicking on this icon, content editors access the AI-generated suggestions through the *Content suggestions* sidebar on the screen.

The provided suggestions are actionable and are grouped by the individual sections and fields of the currently open content item.

> info  **NOTE**: If custom AI agents are configured in your Sitefinity CMS backend, multiple AI agents (including the built-in agents), can be activated to analyze the same content. In this scenario, some of the generated AI suggestions may overlap so they are aggregated before being surfaced. AI agents workflow orchestration is introduced to coordinate the execution order and manage conflicts between the involved agents.\
> For more information, see [AI agents workflow orchestration and conflict handling](https://www.progress.com/documentation/sitefinity-cms/custom-ai-agents#ai-agents-workflow-orchestration-and-conflict-handling).

### User actions on AI-generated suggestions

When reviewing the AI-generated suggestions in detail, content editors can perform the following actions available in the *Content suggestions* sidebar:

* Filter the AI suggestions available on the user interface, provided multiple AI agents are configured in your Sitefinity backend - by clicking ![Edit](https://www.progress.com/documentation/sitefinity-cms/assets/8afd240d47ce5e27c5d697a63f962b8d/edit.png "Edit") button next to the *Show* dropdown.\
  The generated suggestions can be filtered out per selected AI agent, or all suggestions are displayed together.
* Apply the suggested change directly - by clicking the *Apply* button, while reviewing the details of a content suggestion.\
  The textual change will be persisted/stored in the system when the content editor saves and/or publishes the updated content item.
* Discard the suggested change - by clicking the *Dismiss* button, while reviewing the details of a content suggestion.
* Preview the suggested change applied inline in the content editor - by clicking *Preview in editor*.\
  Content editors need to confirm if they want to apply or discard the previewed change.
* Restart the execution of the AI agent - by clicking ![Refresh AI suggestions](https://www.progress.com/documentation/sitefinity-cms/assets/d1c39ba66ee74e9c8087dc5639720b43/refresh-ai-suggestions.png "Refresh AI suggestions") (*Refresh AI suggestions*).\
  This action may result in receiving different content suggestions as the AI agents can adapt and learn from the rejected suggestions.

## Use the SEO agent on pages

Using the *Search engine optimization* agent on page level is supported only for ASP.NET Core and Next.js pages.

By default, the AI agent is ready to surface SEO related suggestions when you open a page for editing or create a new page. The AI agent analyzes the page content, including the page template used and the page title. It generates various SEO recommendations - according to the configured behavior of the agent.\
Content editors get a notification icon ![Page suggestions](https://www.progress.com/documentation/sitefinity-cms/assets/2aec07d5c219079dac7cefa66d71f153/ai-suggestions-icon.png "Page suggestions") (*Page suggestions*) on their active screen indicating the counter of all AI-generated suggestions for the currently open page.

Content editors access all AI-generated suggestions for current page through the *Page suggestions* sidebar on the screen.\
The provided suggestions are actionable and are grouped by the individual sections, the page template and widgets used by the current page. The title of the page is also in scope.

### User actions on AI-generated suggestions

When reviewing the AI-generated suggestions in detail, content editors can perform the following actions available in the *Page suggestions* sidebar:

* Filter the AI suggestions available on the user interface, provided multiple AI agents are configured in your Sitefinity backend - by clicking ![Edit](https://www.progress.com/documentation/sitefinity-cms/assets/8afd240d47ce5e27c5d697a63f962b8d/edit.png "Edit") button next to the *Show* dropdown.\
  The generated suggestions can be filtered out per selected AI agent, or all suggestions are displayed together.
* Apply the suggested change directly - by clicking the *Apply* button, while reviewing the details of concrete suggestion.

  > info  **NOTE**: For *Content block* and *Image* widgets only, you can directly apply the AI suggestions in-context in the page editor. The *Apply* button works on both static and shared content blocks.

  The textual change will be persisted in the system when the content editor saves and/or publishes the updated page.
* Discard the suggested change - by clicking the *Dismiss* button, while reviewing the details of a page suggestion.
* Preview the suggested change - by clicking *Go to page template* or *Go to Title & Properties* or similar button.\
  Content editors are navigated away to the target, where they can manually apply the recommended change.
* Restart the execution of the AI agent - by clicking ![Refresh AI suggestions](https://www.progress.com/documentation/sitefinity-cms/assets/d1c39ba66ee74e9c8087dc5639720b43/refresh-ai-suggestions.png "Refresh AI suggestions") (*Refresh AI suggestions*).\
  This action may result in receiving different page-level suggestions as the AI agents can adapt and learn from the rejected suggestions.
