---
title: "Use items when running agents"
slug: "use-items-when-running-agents"
abstract: "Learn how to run agents on specific items within a space in in SitecoreAI."
---
# Use items when running agents

When [running agents](https://doc.sitecore.com/sai/en/users/sitecoreai/working-with-agentic-studio/understanding-agents/run-an-agent/run-an-agent.html "Run an agent"), you can provide two types of optional inputs. Understanding the difference helps you control both what the agent works on and how it generates results. The two types are:

- *Items*, which are the inputs the agent acts on. The agent processes each item and generates outputs for it. Use items when you want the agent to perform actions on specific content.
- *Context*, which is supporting information that guides how the agent generates results, without being directly processed. The agent generates responses grounded in this context. Use context to guide tone, style, or constraints.

To add items, in the [Chat interface](https://doc.sitecore.com/sai/en/users/sitecoreai/working-with-agentic-studio/understanding-chat/understanding-chat.html "Understanding chat"), click **Add items** :mdiNoteTextOutline:, then select one or more items from the drop-down, and click **Save**.

![Click Add items and select one or more items for the agent to act on to generate the output.](https://doc.sitecore.com/api/markdown-image/sai/en/users/sitecoreai/images/AgenticStd_Artifacts_run_more_agents_additem.png)

Each selected item is processed individually, and the agent generates corresponding outputs.

## Types of items

You can select different types of items depending on your workflow:

- **CMS** - content items from a SitecoreAI site or collection.

    Example: Translate multiple pages from a SitecoreAI site into different languages.

- **Artifacts** - artifacts previously generated by agents.

    Example: Use the content generated by one agent as input for another. See [Run additional agents](https://doc.sitecore.com/sai/en/users/sitecoreai/working-with-agentic-studio/understanding-spaces/run-additional-agents-within-a-space.html "Run additional agents within a space") for details.

- **Briefs** - [briefs](https://doc.sitecore.com/sai/en/users/sitecoreai/plan-campaign-strategy/managing-briefs/managing-briefs.html "Managing briefs") created in the Strategy app.

    Example: Use a smart brief to generate campaign content.

- **Other** - full or partial data imported from CSV file.

    Example: Use selected accounts from a CSV for account-based marketing (ABM).

## How items work with agents

When you run an agent with items:

- The agent processes each item individually
- Parameters (such as language or format) are applied to each item
- Outputs are generated per item and added to the space

This makes it possible to scale tasks across multiple inputs in a single run.