Skip to content

Commit 7a4d2ad

Browse files
authored
Merge pull request #9004 from microsoft/ntrogh/ai-toolkit
Copilot Tools edit pass
2 parents d57dbba + d63d264 commit 7a4d2ad

File tree

3 files changed

+47
-30
lines changed

3 files changed

+47
-30
lines changed

build/sitemap.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,6 +1864,16 @@
18641864
<changefreq>weekly</changefreq>
18651865
<priority>0.8</priority>
18661866
</url>
1867+
<url>
1868+
<loc>https://code.visualstudio.com/docs/intelligentapps/gettingstarted</loc>
1869+
<changefreq>weekly</changefreq>
1870+
<priority>0.8</priority>
1871+
</url>
1872+
<url>
1873+
<loc>https://code.visualstudio.com/docs/intelligentapps/copilot-tools</loc>
1874+
<changefreq>weekly</changefreq>
1875+
<priority>0.8</priority>
1876+
</url>
18671877
<url>
18681878
<loc>https://code.visualstudio.com/docs/intelligentapps/models</loc>
18691879
<changefreq>weekly</changefreq>

docs/intelligentapps/copilot-tools.md

Lines changed: 35 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
ContentId: fb94d678-70e5-49e9-9192-a1294a2bc14d
33
DateApproved: 10/28/2025
4-
MetaDescription: Get Started using the AI Toolkit Copilot tools to streamline and enhance the development of AI Agent Applications.
4+
MetaDescription: Get started using the AI Toolkit Copilot tools to streamline and enhance the development of AI agent applications.
55
---
66
# Use AI Toolkit Copilot tools for AI agent development
77

8-
The AI Toolkit Copilot tools help you build AI Agent applications faster. These tools give you ready-made features, templates, and best practices. You can create smart applications that use AI more quickly.
8+
The AI Toolkit Copilot tools help you build AI agent applications faster. These tools give you ready-made features, templates, and best practices. You can create smart applications that use AI more quickly.
99

1010
> [!NOTE]
11-
> The AI Toolkit Copilot tools use the VS Code [Language Model Tool API](https://code.visualstudio.com/api/extension-guides/ai/tools). These tools extend a large language model (LLM) with domain-specific features in chat. In agent mode, VS Code can automatically use these tools to handle user prompts and perform tasks.
11+
> The AI Toolkit Copilot tools use the VS Code [Language Model Tool API](/api/extension-guides/ai/tools.md). These tools extend a large language model (LLM) with domain-specific features in chat. In agent mode, VS Code can automatically use these tools to handle user prompts and perform tasks.
1212
1313
The AI Toolkit Copilot tools include four main tools:
1414

@@ -19,47 +19,49 @@ The AI Toolkit Copilot tools include four main tools:
1919

2020
## Prerequisites
2121

22-
1. [Visual Studio Code](https://code.visualstudio.com/) - Latest version to support MCP Server development.
22+
1. [Visual Studio Code](/download) - Latest version to support MCP Server development.
2323
1. [GitHub Copilot](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot) Visual Studio Code extension
2424
1. [GitHub Copilot Chat](https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat) Visual Studio Code extension
2525
1. [AI Toolkit](https://marketplace.visualstudio.com/items?itemName=ms-ai.vscode-ai-toolkit) Visual Studio Code extension
2626

2727
## Using Copilot tools in AI Toolkit
2828

29-
After installing the prerequisites, you can use the tools AI Toolkit provides in agent mode:
29+
After installing the prerequisites, you can use the tools AI Toolkit provides when using agents in chat:
3030

31-
1. Open the Chat view (`Ctrl+Alt+I`), and select Agent mode from the dropdown.
31+
1. Open the Chat view `kb(workbench.action.chat.open)`, and select **Agent** from the dropdown.
3232

3333
1. Select the **Tools** button to view the list of available tools.
34+
3435
Optionally, select or deselect the tools you want to use. You can search tools by typing in the search box.
36+
3537
![Screenshot showing the Chat view in Visual Studio Code with Agent mode selected. The Tools button is highlighted, displaying a list of available tools including Agent Code Gen, AI Model Guide, Evaluation Code Gen, and Tracing Code Gen.](./images/copilottools/select-tools.png)
3638

3739
## Agent Code Gen tool
3840

39-
The **Agent Code Gen** tool helps developers create agent code more easily. Use this tool to quickly make code snippets and templates that work well for AI agents. This approach makes development faster and ensures your code follows best practices for AI agent development.
41+
The Agent Code Gen tool helps developers create agent code more easily. Use this tool to quickly make code snippets and templates that work well for AI agents. This approach makes development faster and ensures your code follows best practices for AI agent development.
4042

41-
### Key Features of Agent Code Gen tool
43+
### Key features of Agent Code Gen tool
4244

43-
The **Agent Code Gen** tool has several important features:
45+
The Agent Code Gen tool has several important features:
4446

45-
- **Intelligent Agent Code Generation:** The tool creates agent code based on what you need.
46-
- **Default Framework Selection:** If you don't choose a framework, the tool picks Microsoft Agent Framework SDK for you.
47+
- **Intelligent agent code generation:** The tool creates agent code based on what you need.
48+
- **Default framework selection:** If you don't choose a framework, the tool picks Microsoft Agent Framework SDK for you.
4749

4850
Example requirement:
4951

5052
```text
5153
Create an AI app that helps me to manage travel queries.
5254
```
5355
54-
- **Integrated Model Guidance:** The tool uses the **AI Model Guide** to give you model details while building agents. It picks **gpt4.1** as the default model unless you choose another.
56+
- **Integrated model guidance:** The tool uses the **AI Model Guide** to give you model details while building agents. It picks **GPT4.1** as the default model unless you choose another.
5557
5658
Example requirement:
5759
5860
```text
5961
Create an AI app to manage travel queries, use Azure AI Foundry models.
6062
```
6163
62-
- **Various Agent Framework functionality support:** The tool supports many features like function calling, MCP, and streaming responses.
64+
- **Various agent framework functionality support:** The tool supports many features like function calling, MCP, and streaming responses.
6365
6466
Example requirement:
6567
@@ -78,21 +80,21 @@ The **Agent Code Gen** tool has several important features:
7880
- "Email Assistant": drafts responses for legitimate emails (if not spam).
7981
```
8082
81-
## AI Model Guide Tool
83+
## AI Model Guide tool
8284
8385
The AI Model Guide tool helps developers pick the best AI models for their apps. It recommends Azure AI Foundry and GitHub models, including the latest and most popular ones. The tool provides details like input types, context length, cost, and metrics (quality, speed, safety). It also explains how to connect to models, such as GitHub endpoints and tokens.
8486
8587
This tool supports:
8688
87-
-Basic model recommendation:
89+
- Basic model recommendation:
8890
8991
Example information prompt:
9092
9193
```text
9294
Which models are specifically designed for reasoning or math tasks?
9395
```
9496
95-
For this example, Copilot gathers model information from this tool and recommends o-series models for reasoning/math tasks.
97+
For this example, Copilot gathers model information from this tool and recommends o-series models for reasoning or math tasks.
9698
9799
- Working together with the Code Gen tool to provide model selection during agent code generation:
98100
@@ -102,7 +104,7 @@ This tool supports:
102104
Create a quick demo AI Chat app
103105
```
104106
105-
For this example, Copilot selects a model like the free GitHub gpt-4.1 for the chat app.
107+
For this example, Copilot selects a model like the free GitHub GPT-4.1 for the chat app.
106108
107109
- Model selection based on specific requirements:
108110
@@ -112,37 +114,40 @@ This tool supports:
112114
Create an AI app to manage travel queries using a cheap and fast azure model.
113115
```
114116
115-
For this example, Copilot selects a model like Azure AI Foundry gpt-4.1-mini model.
117+
For this example, Copilot selects a model like Azure AI Foundry GPT-4.1-mini model.
116118
117-
## Evaluation Code Gen Tool
119+
## Evaluation Code Gen tool
118120
119-
The Evaluation Code Gen Tool helps you add evaluation to your AI apps or agents. It uses a Plan tool to gather details and prepare assets before generating code.
121+
The Evaluation Code Gen tool helps you add evaluation to your AI apps or agents. It uses a Plan tool to gather details and prepare assets before generating code.
120122
121-
### Key Features of the Evaluation Code Gen Tool
123+
### Key features of the Evaluation Code Gen tool
122124
123-
The Evaluation Code Gen Tool has four main features:
125+
The Evaluation Code Gen tool has four main features:
124126
125-
- **Analysis and Metric Suggestion:** This feature reviews your AI app and suggests the best tests.
126-
- **Synthetic Query Generation:** This feature creates test questions based on your testing goals.
127-
- **Batch Application Execution:** This feature runs your app multiple times with test questions and collects results.
128-
- **Evaluation Code Generation:** This feature generates test code using the Azure AI Eval SDK.
127+
- **Analysis and metric suggestion:** Reviews your AI app and suggests the best tests.
128+
- **Synthetic query generation:** Creates test questions based on your testing goals.
129+
- **Batch application execution:** Runs your app multiple times with test questions and collects results.
130+
- **Evaluation code generation:** Generates test code using the Azure AI Eval SDK.
129131
130-
These tools are helpful for everyone. New developers get guidance on tests and tools. Experienced developers save time. The Plan Tool finds your test files or asks where they are, making it easy to add testing to your app.
132+
These tools are helpful regardless of your skill level. New developers get guidance on tests and tools, and experienced developers can save time. The Plan tool finds your test files or asks where they are, making it easy to add testing to your app.
131133
132134
Example requirement prompts:
133135
134136
- Example 1:
137+
135138
```text
136139
Create an evaluation for my AI travel assistant application that assesses response accuracy and user satisfaction.
137140
```
141+
138142
- Example 2:
143+
139144
```text
140145
Measure the tool call accuracy of the agent.
141146
```
142147
143-
## Tracing Code Gen Tool
148+
## Tracing Code Gen tool
144149
145-
The **Tracing Code Gen** tool shares best practices for adding tracing to AI apps. It helps developers monitor and debug AI agents and workflows with ease.
150+
The Tracing Code Gen tool shares best practices for adding tracing to AI apps. It helps developers monitor and debug AI agents and workflows with ease.
146151
This tool supports local tracing for these languages and SDKs:
147152
148153
- (**Python**) agent-framework, azure-ai-inference, azure-ai-agents, azure-ai-projects, openai, openai-agents, langchain, google-genai, anthropic
@@ -157,6 +162,7 @@ Enable tracing for my AI travel assistant application built with the agent-frame
157162
## What you learned
158163

159164
In this article, you learned how to:
165+
160166
- Use AI tools to speed up app development.
161167
- Add tracing to monitor and debug your AI apps.
162168
- Pick the best AI models for your tasks.

docs/toc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@
369369
"area": "intelligentapps",
370370
"topics": [
371371
["AI Toolkit Overview", "/docs/intelligentapps/overview"],
372-
["Getting Started", "/docs/intelligentapps/gettingstarted"], ["AI Toolkit Copilot tools", "/docs/intelligentapps/copilot-tools"],
372+
["Getting Started", "/docs/intelligentapps/gettingstarted"],
373+
["AI Toolkit Copilot tools", "/docs/intelligentapps/copilot-tools"],
373374
["Models", "/docs/intelligentapps/models"],
374375
["Playground", "/docs/intelligentapps/playground"],
375376
["Agent Builder", "/docs/intelligentapps/agentbuilder"],

0 commit comments

Comments
 (0)