

# Catalog

The SageMaker AI Catalog is where you find the data and AI assets in your account and bring them into a project. You can search tables and models, browse your Amazon S3 buckets, and explore base models from Amazon Bedrock and JumpStart. After you add an asset to a project, you can ask the agent to query a table, convert it to a dataset, or train a model with it.

The catalog is built on the AWS Glue Data Catalog. It shows the tables that the AWS Glue Data Catalog manages alongside SageMaker AI assets. You can see only the assets, buckets, and models that you have permissions to access.

To see AI assets, such as models, in the catalog, you must opt in to cataloging AI assets in the AWS Glue console. For the opt-in steps and more information about the catalog, see the [SageMaker AI Catalog](https://docs.aws.amazon.com/sagemaker/latest/dg/catalog-assets.html) page.

## Capabilities
<a name="sagemaker-ai-optimizer-catalog-capabilities"></a>
+ **Search across catalogs** – Find tables and models in your account.
+ **Trace lineage** – See how datasets and models were produced and where they were used.
+ **Act on an asset** – Add an asset to the project, convert a table to a dataset, query a table, or open it in a notebook.
+ **Browse S3 buckets** – Open a bucket and browse its contents.
+ **Explore base models** – Search and filter models from Amazon Bedrock and JumpStart.
+ **Hand the work to the agent** – Ask the agent in plain language to find, query, prepare, or train with a cataloged asset. The agent proposes each step, and you approve it.

## Open the catalog
<a name="sagemaker-ai-optimizer-catalog-open"></a>

You open the catalog from the project navigation. Start from an existing project or create a new one:

1. Open Amazon SageMaker Studio.

1. Under **Applications**, choose SageMaker AI optimizer.

1. On the home page, do one of the following:
   + To use an existing project, choose it under **Recent projects**. To see all your projects, choose **View all**.
   + To create a project, choose **Create project**. You can also describe your use case in the prompt box, and the agent creates a project for you.

1. In the project navigation, choose **Catalog**.

To switch views, choose the **Catalogs**, **S3 buckets**, or **Base models** tab.

## Browse catalog assets
<a name="sagemaker-ai-optimizer-catalog-browse"></a>

Use the **Catalogs** tab to find the tables, views, and models that you can bring into a project.
+ **Catalog tree** – **Discover** searches across all catalogs. Below it, each catalog that you can access is listed. **Default catalog** is the AWS Glue Data Catalog for your account and Region.
+ **Assets** – The assets in the selected catalog, or in all catalogs when you choose **Discover**. Use **Find assets** to search by name. Each row shows the asset name, its type, and when it was created and last updated.

To reload the list, choose the refresh icon. To collapse the tree, choose the collapse icon. Choose an asset name to open its detail page.

The **Lineage** tab is available for model versions and dataset versions. To see how an asset was produced and where it was used, open its detail page and choose the **Lineage** tab.

## Act on an asset
<a name="sagemaker-ai-optimizer-catalog-actions"></a>

Select an asset, choose **Actions**, and then choose an action. The agent runs the actions that have the sparkle icon. When you choose one, the agent starts the request in the conversation panel. Actions that don't apply to the selected asset are unavailable. To see why, pause on the action.

The following table lists the actions that you can take on an asset and what each action does.


| Action | What it does | 
| --- | --- | 
| **Add to project** | Makes the asset available to the project, so that you and the agent can use it in your work. | 
| **Convert to dataset** | The agent creates a project dataset from the table. The dataset appears on the project's **Datasets** page. | 
| **Query table** | The agent runs a SQL query on the table and shows the results in the conversation. | 
| **Query in notebook** | Opens the table in a JupyterLab notebook in the project's space, so that you can query it yourself. | 

## Browse S3 buckets
<a name="sagemaker-ai-optimizer-catalog-s3"></a>

Use the **S3 buckets** tab to browse the Amazon S3 buckets that you can access in the account.
+ **SageMaker default bucket** – The bucket that SageMaker AI uses by default in this Region. Its name is `sagemaker-{{region}}-{{account-id}}`.
+ **Other buckets** – Every other bucket that you can list in the account.

Use **Find buckets** to search by name. Choose a bucket to browse its folders and objects. To use files from a bucket in the project, ask the agent.

## Browse base models
<a name="sagemaker-ai-optimizer-catalog-base-models"></a>

Use the **Base models** tab to find models from Amazon Bedrock and JumpStart that you can evaluate, customize, or deploy. Your own models, such as models that you registered or fine-tuned, are on the **Catalogs** tab.

## Use the agent
<a name="sagemaker-ai-optimizer-catalog-agent"></a>

You don't need to open the catalog first. Ask the agent in the project's conversation. The agent searches the catalog, proposes the assets to use, and asks you to approve each step. The agent can reach only the assets that the project's IAM role has permissions to access.