You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-foundry/how-to/develop/vs-code-agents.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.service: azure-ai-foundry
7
7
content_well_notification:
8
8
- AI-contribution
9
9
ms.topic: how-to
10
-
ms.date: 04/28/2025
10
+
ms.date: 04/29/2025
11
11
ms.reviewer: erichen
12
12
ms.author: johalexander
13
13
author: ms-johnalex
@@ -179,25 +179,27 @@ Selecting the deployed agent opens the **Agent Preferences** page in a view only
179
179
180
180
Open the **Agents Playground** using the following steps:
181
181
182
-
1. Right-click on your deployed agent and select the **Open Playground** option This action starts a thread with your agent and let you send messages.
182
+
1. Right-click on your deployed agent and select the **Open Playground** option This action starts a thread with your agent and let you send messages.
183
+
184
+
1. Alternatively, select the **Agent Playground** link in the **Tools** subsection, and select your agent from the top-center list.
183
185
184
186
1. The **Playground** page is displayed.
185
187
186
188
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/agent-display-playground.png" alt-text="Screenshot of the **Agents Playground** page in VS Code." lightbox="../../media/how-to/get-started-projects-vs-code/agent-display-playground.png":::
187
189
188
-
1. Type your prompt and see the outputs.
190
+
1. Type your prompt and see the outputs. The **Grounding with Bing search** tool is used to search the web for information. The agent uses the model and tools you configured in the agent designer. The source of the information is displayed in the **Agent Annotations** section, highlighted in the following image.
191
+
192
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/agent-playground-run.png" alt-text="Screenshot of the Agents Playground page with agent annotations highlighted in VS Code." lightbox="../../media/how-to/get-started-projects-vs-code/agent-playground-run.png":::
189
193
190
194
## Explore Threads
191
195
192
196
The **Threads** subsection displays the threads created during a run with your agent. In the Azure Resources Extension view, select the **caret** icon in front of the **Threads** subsection to view the list of threads.
193
197
194
198
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/thread-list.png" alt-text="Screenshot of the threads in the Threads subsection." lightbox="../../media/how-to/get-started-projects-vs-code/thread-list.png":::
195
199
196
-
197
-
198
200
### View thread details
199
201
200
-
Select a thread to view its details. The **Thread Details** page is displayed.
202
+
Select a thread to see the **Thread Details** page.
201
203
202
204
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/thread-view.png" alt-text="Screenshot of the thread details view." lightbox="../../media/how-to/get-started-projects-vs-code/thread-view.png":::
203
205
@@ -207,6 +209,11 @@ Select a thread to view its details. The **Thread Details** page is displayed.
207
209
208
210
- A **Run** is a single execution of an agent. Each run can have multiple threads, and each thread can have multiple messages. The agent uses its configuration and Thread’s Messages to perform tasks by calling models and tools. As part of a Run, the agent appends Messages to the Thread.
209
211
212
+
### View run details
213
+
214
+
Select the **View run info** button in the **Thread Details** page to see the run information in a JSON file.
215
+
216
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/run-file.png" alt-text="Screenshot of the run details .json file." lightbox="../../media/how-to/get-started-projects-vs-code/run-file.png":::
210
217
211
218
## Cleanup resources
212
219
@@ -216,15 +223,15 @@ The Azure resources that you created in this article are billed to your Azure su
216
223
217
224
Delete the deployed agent in the [online AI Foundry portal](https://ai.azure.com). Select **Agents** from the navigation menu on the left, select your agent, then select the **Delete** button.
218
225
219
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/delete-agent.png" alt-text="Screenshot of the AI Foundry portal with 'Agents' from the navigation menu on the left and the **Delete** button highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/delete-agent.png":::
226
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/delete-agent.png" alt-text="Screenshot of the AI Foundry portal with Agents from the navigation menu on the left and the Delete button highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/delete-agent.png":::
220
227
221
228
### Delete your models
222
229
223
230
1. In the VS Code navbar, refresh the **Azure Resources** view. Expand the **Models** subsection to display the list of deployed models.
224
231
225
232
1. Right-click on your deployed model to delete and select the **Delete** option.
226
233
227
-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/delete-model.png" alt-text="Screenshot of the model context menu with the 'Delete' option highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/delete-model.png":::
234
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/delete-model.png" alt-text="Screenshot of the model context menu with the Delete option highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/delete-model.png":::
228
235
229
236
### Delete your tools
230
237
@@ -236,4 +243,4 @@ Delete the connected tool with the following steps:
236
243
237
244
## Next steps
238
245
239
-
- Learn about the tools you can use with Azure AI Agents, such as [file search](/azure/ai-services/agents/how-to/tools/file-search?tabs=python&pivots=overview), or [code interpreter](/azure/ai-services/agents/how-to/tools/code-interpreter?tabs=python&pivots=overview).
246
+
- Learn about the tools you can use with Azure AI Agents, such as [file search](/azure/ai-services/agents/how-to/tools/file-search?tabs=python&pivots=overview), or [code interpreter](/azure/ai-services/agents/how-to/tools/code-interpreter?tabs=python&pivots=overview).
0 commit comments