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/get-started-projects-vs-code.md
+49-4Lines changed: 49 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -298,7 +298,9 @@ Agents combine AI models with tools to access and interact with your data.
298
298
299
299
### Create and edit Azure AI Agents within the designer view
300
300
301
-
Follow these steps to create an Azure AI agent:
301
+
#### Create an Azure AI Agent
302
+
303
+
Follow these steps to create an Azure AI Agent:
302
304
303
305
1. First, finish the [Get Started](#get-started) section to sign in to your Azure resources and set your default project.
304
306
@@ -312,30 +314,73 @@ Follow these steps to create an Azure AI agent:
312
314
313
315
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/select-agent-plus.png" alt-text="Screenshot of the plus sign next to the Agents subsection." lightbox="../../media/how-to/get-started-projects-vs-code/select-agent-plus.png":::
314
316
315
-
1. Select a directory and enter a name for your new agent yaml file in the **Save As** dialog box.
317
+
1. In the **Save As** dialog box select a directory and enter a name for your new AI Agent .yaml file.
318
+
319
+
1. Select the **Save Agent File** button to save your AI Agent file.
316
320
317
321
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/enter-agent-name.png" alt-text="Screenshot of the VS Code Save As dialog to save the agent yaml file." lightbox="../../media/how-to/get-started-projects-vs-code/enter-agent-name.png":::
318
322
323
+
### Interact with your agent in the designer
324
+
319
325
1. The agent designer will open, where you can:
320
326
321
327
1. Enter a name for your agent in the prompt.
322
328
323
-
1. Select a model to power your agent from the dropdown menu.
329
+
1. Enter your deployed model name to power your agent from the dropdown menu.
330
+
331
+
> [!TIP]
332
+
> The deployed model name must be the exact name of the model you deployed in your Azure AI Foundry project.
324
333
325
334
1. Configure and test.
335
+
326
336
- Add a description for your agent
327
337
- Set system instructions
328
338
- Configure tools the agent can use
329
339
- Test your agent's responses
330
340
331
-
9. Click **Save** to store your agent configuration.
341
+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/agent-designer.png" alt-text="Screenshot of the Agent designer that enables you to edit and interact with your AI Agent." lightbox="../../media/how-to/get-started-projects-vs-code/agent-designer.png":::
342
+
343
+
1. Select the **Save locally** button in the bottom-center of the **Agent Preferences** screen to store your agent configuration.
332
344
333
345
### Show the Azure AI Agent YAML definition
334
346
347
+
Select the **Open Yaml File** on the top-right of the designer to open your AI Agent .yaml file. This file contains the details and setup information for your agent, similar to the following .yaml file example:
348
+
349
+
```yml
350
+
version: 1.0.0
351
+
352
+
type: foundry_agent
353
+
354
+
name: extension-agent
355
+
356
+
description: Description of the agent
357
+
358
+
id: ''
359
+
360
+
model:
361
+
362
+
id: ''
363
+
364
+
options:
365
+
366
+
temperature: 1
367
+
368
+
configuration:
369
+
370
+
type: aifoundry
371
+
372
+
instructions: Instructions for the agent
373
+
374
+
tools: []
375
+
```
376
+
377
+
335
378
### Deploy Azure AI Agents to the Azure AI Foundry Studio
0 commit comments