---
title: Ex2: Discovery Agent
slug: saga-hol/ex2-discovery-agent
createdAt: 2026-04-30T13:40:11.930Z
---

## Introduction

In this exercise, you'll use the **Discovery Agent** to **find approved assets in AEM** and
surface them for reuse.

:::hint{type="info"}
**Agent name:&#x20;**&#x44;iscovery Agent

**Agent capabilities**: Interprets user intent, searches across AEM for the most relevant,
approved content, and surfaces it for reuse, connecting the right assets to the right moment.

**Documentation**: [Content Discovery Agent](https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/ai-in-aem/agents/content-advisor/discovery)
:::



## Step 1 — Search for assets

*Coworker lets us find assets very easily in natural language.&#x20;*

1. **Type the following prompt:&#x20;**`Show me approved assets of a man on a yatch`

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/PecioxbCkEzemu7kXZPEq_image.png" size="100" isUploading="false" width="1097" height="880" darkWidth="1097" darkHeight="880" showCaption="false" indent="1"}

:::hint{type="info" indent="1"}
The agent will perform a **semantic search** against asset metadata and return approved assets matching your prompt.
:::

2. **Click on one asset&#x20;**&#x74;o open it in preview:&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/6iRKHAuWWiCr-So2p5l78_image.png" size="60" isUploading="false" width="513" height="322" darkWidth="513" darkHeight="322" showCaption="false" indent="1"}

3. This will open an **overview of the asset in Coworker:**

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/QIGztOZKqkX0PybeUR5bo_image.png" size="100" isUploading="false" width="1668" height="978" darkWidth="1668" darkHeight="978" showCaption="false" indent="1"}

| **No.** | **Feature**                    | **Explanation**                                                                                                                            |
| ------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
| 1       | Approval status                | Shows whether the asset is approved for use.                                                                                               |
| 2       | Path in AEM                    | Displays where the asset is stored in AEM Assets.<br />Click to open the asset in AEM Assets.                                              |
| 3       | Created by                     | Shows who created the asset.<br />This helps track ownership and changes.                                                                  |
| 4       | Dynamic Media with OpenAPI URL | Provides a link to the asset through Dynamic Media. This URL can be used to access or deliver the asset in other applications or channels. |
| 5       | Download                       | Downloads a local copy of the asset to your computer.                                                                                      |
|         |                                |                                                                                                                                            |

:::hint{type="info"}
Use the asset details panel to confirm that an asset is approved, check its location and metadata, review its history, access its delivery URL, or download it.
:::



## Step 2 — Review the agent reasoning

1. You can expand to see the Agent reasoning and actions:&#x20;

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/xfnPIRD1Ne3wHNxpPEnnP_image.png" size="70" isUploading="false" width="799" height="472" darkWidth="799" darkHeight="472" showCaption="false" indent="1"}

:::hint{type="info"}
This shows how the agent broke down your prompt and determined the steps needed to retrieve the results.
:::





## Step 3 — Search for expiring assets

We want to check on the upcoming expiring assets.&#x20;

1. **Send this prompt: `Which of my assets will expire within the next 6 months?`**

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/6ZheZuBUkCNH_yYtPdkqp_image.png" size="100" isUploading="false" width="1093" height="768" darkWidth="1093" darkHeight="768" showCaption="false" indent="1"}

:::hint{type="info" indent="1"}
The agent will determine the date that is in 6months, search across your AEM asset repository, applying a filter for assets with an expiry date falling within the next 6 months, and return the matching results.
:::

2. Let's try to summarize the number of expiring assets.&#x20;
   Type this prompt: `Summarize my DAM expiration coverage as a table`

::Image[]{src="https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/8LQpMGxzjuG4SOy6lEWON_image.png" size="100" isUploading="false" width="1104" height="673" darkWidth="1104" darkHeight="673" showCaption="false" indent="1"}

:::hint{type="info" indent="1"}
This isn't a prebuilt approach, so you can see the agent trying different ways to provide the best answer possible.&#x20;
:::

3. **Try some variations of the prompt,&#x20;**&#x66;or example:
   - `Which assets will expire in the next 3 months?`
   - `Show me expired assets in the NatWest folder`
   - `Which approved banner images are expiring this quarter?`

:::hint{type="info" indent="1"}
Feel free to try more prompts.&#x20;
:::





:::hint{type="success"}
&#x20;**Nice!&#x20;**&#x59;ou have successfully used the Discovery Agent to find approved assets in AEM using natural language. The agent interpreted your intent, searched semantically across asset metadata, and surfaced relevant results ready for reuse.
:::

