Skip to content

Commit 3941e42

Browse files
committed
updated agents
1 parent 3c842c3 commit 3941e42

File tree

7 files changed

+36
-3
lines changed

7 files changed

+36
-3
lines changed

articles/ai-foundry/how-to/develop/vs-code-agents.md

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,44 @@ Create your agent directly on Azure AI Foundry with the following steps:
177177

178178
Selecting the deployed agent opens the **Agent Preferences** page in a view only mode.
179179

180-
- Select the **Open Yaml File** to view the yaml definition of the agent.
181-
180+
- Select the **Edit Agent** button to view the Agent designer and yaml definition of the agent for editing.
181+
- Select the **Open Code File** button to create a sample code file that uses the agent.
182182
- Select the **Open Playground** button to open the **Agent Playground**.
183183

184-
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/deployed-agent-view.png" alt-text="Screenshot of the Agent Preferences page with the 'Open Yaml File' and 'Open Playground' buttons highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/deployed-agent-view.png":::
184+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/deployed-agent-view.png" alt-text="Screenshot of the Agent Preferences page with the 'Edit Agent', 'Open Code File', and 'Open Playground' buttons highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/deployed-agent-view.png":::
185+
186+
### Edit and update the deployed AI Agent
187+
188+
To edit the deployed agent, select the **Edit Agent** button in the **Agent Preferences** page. The agent designer opens with the agent .yaml file.
189+
Edit the agent's configuration, such as the model, tools, and instructions. After you finish editing, select the **Update on Azure AI Foundry** button in the lower left corner to save your changes.
190+
191+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/update-agent.png" alt-text="Screenshot of the Agent Preferences page with the 'Update on Azure AI Foundry' button highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/update-agent.png":::
192+
193+
### Explore the agent sample code
194+
195+
Create a sample code file using the following steps.
196+
197+
1. Right-click on your deployed agent and select the **Open Code File** option or select the **Open Code File** button in the **Agent Preferences** page.
198+
199+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/open-agent-code-file.png" alt-text="Screenshot of the agent context menu with the Open Code file option highlighted." lightbox="../../media/how-to/get-started-projects-vs-code/open-agent-code-file.png":::
200+
201+
1. In the top center, select your preferred SDK to use in the **Choose preferred SDK** dropdown and press Enter.
202+
203+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/choose-agent-preferred-sdk.png" alt-text="Screenshot of the Choose preferred SDK dropdown for agent code file selection." lightbox="../../media/how-to/get-started-projects-vs-code/choose-agent-preferred-sdk.png":::
204+
205+
1. In the top center, select your preferred language to use in the **Choose language** dropdown and press Enter.
206+
207+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/choose-agent-language.png" alt-text="Screenshot of the Choose language dropdown for agent code file selection." lightbox="../../media/how-to/get-started-projects-vs-code/choose-agent-language.png":::
208+
209+
1. In the top center, select your preferred authentication method to use in the **Choose authentication method** dropdown and press Enter.
210+
211+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/choose-agent-auth-method.png" alt-text="Screenshot of the Choose authentication method dropdown for agent code file selection." lightbox="../../media/how-to/get-started-projects-vs-code/choose-agent-auth-method.png":::
212+
213+
#### Explore the sample code file
214+
215+
This Python sample code file that demonstrates a basic call to interact with the agent through the AI Foundry projects API:
216+
217+
:::image type="content" source="../../media/how-to/get-started-projects-vs-code/sample-agent-code-file.png" alt-text="Screenshot of generated agent sample code file." lightbox="../../media/how-to/get-started-projects-vs-code/sample-agent-code-file.png":::
185218

186219

187220
### Interact with Agents using agents playground
6.31 KB
Loading
6.93 KB
Loading
7.77 KB
Loading
6.67 KB
Loading
193 KB
Loading
140 KB
Loading

0 commit comments

Comments
 (0)