Skip to content

Commit 7ceb3a2

Browse files
authored
Merge pull request #49482 from MicrosoftDocs/NEW-agents-custom-tools
New agents custom tools
2 parents 74131e9 + aa1c917 commit 7ceb3a2

16 files changed

+441
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.build-agent-with-custom-tools.introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: "Introduction to building an agent with custom tools."
7+
ms.date: 3/11/2025
8+
author: ivorb
9+
ms.author: berryivor
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/1-introduction.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.build-agent-with-custom-tools.why-use-custom-tools
3+
title: Why use custom tools
4+
metadata:
5+
title: Why use custom tools
6+
description: "Understand the benefits of using custom tools with your agent."
7+
ms.date: 3/11/2025
8+
author: ivorb
9+
ms.author: berryivor
10+
ms.topic: unit
11+
durationInMinutes: 3
12+
content: |
13+
[!include[](includes/2-why-use-custom-tools.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.build-agent-with-custom-tools.custom-tool-options
3+
title: Options for implementing custom tools
4+
metadata:
5+
title: Options for implementing custom tools
6+
description: "Explore the options for implementing custom tools in your agent."
7+
ms.date: 3/11/2025
8+
author: ivorb
9+
ms.author: berryivor
10+
ms.topic: unit
11+
durationInMinutes: 6
12+
content: |
13+
[!include[](includes/3-custom-tool-options.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.build-agent-with-custom-tools.how-use-custom-tools
3+
title: How to integrate custom tools
4+
metadata:
5+
title: How to integrate custom tools
6+
description: "Learn how to integrate custom tools into your agent. This unit covers function calling, Azure Function integration, and OpenAPI specification integration."
7+
ms.date: 3/11/2025
8+
author: ivorb
9+
ms.author: berryivor
10+
ms.topic: unit
11+
durationInMinutes: 7
12+
content: |
13+
[!include[](includes/4-how-use-custom-tools.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.build-agent-with-custom-tools.exercise
3+
title: Exercise - Build an agent with custom tools
4+
metadata:
5+
title: Exercise - Build an agent with custom tools
6+
description: "Get interactive experience with building an agent with custom tools."
7+
ms.date: 3/11/2025
8+
author: ivorb
9+
ms.author: berryivor
10+
ms.topic: unit
11+
durationInMinutes: 30
12+
content: |
13+
[!include[](includes/5-exercise.md)]
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.build-agent-with-custom-tools.knowledge-check
3+
title: Knowledge check
4+
metadata:
5+
title: Knowledge check
6+
description: "Check your knowledge of building an agent with custom tools."
7+
ms.date: 3/11/2025
8+
author: ivorb
9+
ms.author: berryivor
10+
ms.topic: unit
11+
durationInMinutes: 3
12+
content: |
13+
quiz:
14+
questions:
15+
- content: "What is one of the primary benefits of using custom tools in Azure AI Agent Service?"
16+
choices:
17+
- content: "They eliminate the need for any coding knowledge."
18+
isCorrect: false
19+
explanation: "Incorrect. While custom tools simplify many processes, some level of coding knowledge may still be required for advanced configurations."
20+
- content: "They enhance productivity by automating repetitive tasks."
21+
isCorrect: true
22+
explanation: "Correct. Custom tools in Azure AI services can automate repetitive tasks, saving time and resources, which enhance productivity."
23+
- content: "They provide free access to all Azure AI services."
24+
isCorrect: false
25+
explanation: "Incorrect. While some Azure AI services offer a free tier, not all services are free, and custom tools don't inherently provide free access."
26+
- content: "A company wants to integrate its AI agents with existing patient management systems securely that they have a standard specification for already. Which tool should they use?"
27+
choices:
28+
- content: "Custom question answering"
29+
isCorrect: false
30+
explanation: "Incorrect. Custom question answering is designed for creating FAQ bots, not for integrating AI agents with existing systems."
31+
- content: "Azure AI Search tool"
32+
isCorrect: false
33+
explanation: "Incorrect. The Azure AI Search tool is used for performing searches on large datasets, not for system integration."
34+
- content: "OpenAPI specified tools"
35+
isCorrect: true
36+
explanation: "Correct. OpenAPI specified tools enable scalable interoperability with various applications, making them suitable for integrating AI agents with existing systems securely."
37+
- content: "What is a key advantage of using custom tools in Azure AI Agent Service?"
38+
choices:
39+
- content: "They provide standardized, automated, and scalable integrations."
40+
isCorrect: true
41+
explanation: "Correct. Custom tools in Azure AI services offer standardized, automated, and scalable integrations, improving the function calling experience and overall efficiency."
42+
- content: "They eliminate the need for any human intervention."
43+
isCorrect: false
44+
explanation: "Incorrect. While custom tools automate many processes, some level of human intervention may still be required for configuration and maintenance."
45+
- content: "They guarantee 100% accuracy in all predictions."
46+
isCorrect: false
47+
explanation: "Incorrect. No AI tool can guarantee 100% accuracy in all predictions; however, custom tools can significantly improve accuracy by fine-tuning models with specific data."
48+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
### YamlMime:ModuleUnit
2+
uid: learn.wwl.build-agent-with-custom-tools.summary
3+
title: Summary
4+
metadata:
5+
title: Summary
6+
description: "Review the key points of using custom tools with your agent."
7+
ms.date: 3/11/2025
8+
author: ivorb
9+
ms.author: berryivor
10+
ms.topic: unit
11+
durationInMinutes: 2
12+
content: |
13+
[!include[](includes/7-summary.md)]
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Azure AI Agent Service offers a seamless way to build an agent without needing extensive AI or machine learning expertise. Through the use of tools, you can provide your agent additional functionality to execute actions on your behalf.
2+
3+
The AI Agent Service provides built-in tools for gathering knowledge and interpreting code, which provide your agent with some powerful functionality. However, sometimes your agent needs to be able to complete specific tasks or actions that an AI model would struggle to handle on its own. To accomplish these actions, you can provide your agent a **custom tool**.
4+
5+
Imagine you're working in the retail industry, and your company is struggling with managing customer inquiries efficiently. The customer support team is overwhelmed with repetitive questions, leading to delays in response times and decreased customer satisfaction. By leveraging Azure AI Agent Service with custom tools, you can create a custom FAQ agent that handles common inquiries. This agent can be provided a set of custom tools to look up customer orders, freeing up your support team to focus on more complex issues.
6+
7+
In this module, you'll learn how to utilize custom tools in Azure AI Agent Service to enhance productivity, improve accuracy, and create tailored solutions for specific needs.
8+
9+
After completing this module, you’ll be able to:
10+
11+
- Describe the benefits of using custom tools in your agent.
12+
- Explore the different options for custom tools.
13+
- Build an agent with custom tools using the Azure AI Agent Service.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Azure AI Agent Service offers a powerful platform for integrating custom tools to enhance productivity and provide tailored solutions for specific business needs. By leveraging these custom tools, businesses can achieve greater efficiency and effectiveness in their operations.
2+
3+
## Benefits of using custom tools in Azure AI Agent Service
4+
5+
Custom tools in Azure AI services can significantly enhance productivity by automating repetitive tasks and streamlining workflows that are specific to your use case. These tools improve accuracy by providing precise and consistent outputs, reducing the likelihood of human error. Additionally, custom tools offer tailored solutions that address specific business needs, enabling organizations to optimize their processes and achieve better outcomes.
6+
7+
- **Enhanced productivity**: Automate repetitive tasks and streamline workflows.
8+
- **Improved accuracy**: Provide precise and consistent outputs, reducing human error.
9+
- **Tailored solutions**: Address specific business needs and optimize processes.
10+
11+
Adding tools to achieve custom functionality are available for the agent to decide to use, depending on how it decides to respond to the user prompt.
12+
13+
![Diagram showing the flow of logic through an agent using a custom tool.](../media/agent-tool-diagram.png)
14+
15+
The diagram shows the process of an agent choosing to use the provided tool:
16+
17+
1. A user asks an agent for a report, such as about recent snowfall in their local mountains.
18+
1. The agent determines the provided tool to retrieve snowfall for a specific location will be useful, and calls that tool.
19+
1. The agent may choose to use other tools to best accomplish the user's task, such as retrieve knowledge using a built-in tool.
20+
1. The agent then outputs the report and responds to the user.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Azure AI Agent Service offers a variety of custom tools that enhance the capabilities and efficiency of your AI agents. These tools allow for scalable interoperability with various applications, making it easier to integrate with existing infrastructure or web services.
2+
3+
## Custom tool options available in Azure AI services
4+
5+
Azure AI services provide several custom tool options, including OpenAPI specified tools, Azure Functions, and function calling. These tools enable seamless integration with external APIs, event-driven applications, and custom functions.
6+
7+
- **OpenAPI specified tools**: These tools allow you to connect your Azure AI Agent to an external API using an OpenAPI 3.0 specification. This provides standardized, automated, and scalable API integrations that enhance the capabilities of your agent. OpenAPI specifications describe HTTP APIs, enabling people to understand how an API works, generate client code, create tests, and apply design standards.
8+
- **Function calling**: Function calling allows you to describe the structure of functions to an agent and return the functions that need to be called along with their arguments. This feature is useful for integrating custom logic and workflows into your AI agents.
9+
- **Azure Functions**: Azure Functions enable you to create intelligent, event-driven applications with minimal overhead. They support triggers and bindings, which simplify how your AI Agents interact with external systems and services. Triggers determine when a function executes, while bindings facilitate streamlined connections to input or output data sources.
10+
11+
## Example use of custom tools with the Azure AI Agent Service
12+
13+
Custom tools within the Azure AI Agent Service enable users to extend the capabilities of AI agents, tailoring them to meet specific business needs. Some example use cases that illustrate the versatility and impact of custom tools include:
14+
15+
### Customer support automation
16+
17+
- **Scenario**: A retail company integrates a custom tool that connects the Azure AI Agent to their customer relationship management (CRM) system.
18+
- **Functionality**: The AI agent can retrieve customer order histories, process refunds, and provide real-time updates on shipping statuses.
19+
- **Outcome**: Faster resolution of customer queries, reduced workload for support teams, and improved customer satisfaction.
20+
21+
### Inventory management
22+
23+
- **Scenario**: A manufacturing company develops a custom tool to link the AI agent with their inventory management system.
24+
- **Functionality**: The AI agent can check stock levels, predict restocking needs using historical data, and place orders with suppliers automatically.
25+
- **Outcome**: Streamlined inventory processes and optimized supply chain operations.
26+
27+
### Healthcare appointment scheduling
28+
29+
- **Scenario**: A healthcare provider integrates a custom scheduling tool with the AI agent.
30+
- **Functionality**: The AI agent can access patient records, suggest available appointment slots, and send reminders to patients.
31+
- **Outcome**: Reduced administrative burden, improved patient experience, and better resource utilization.
32+
33+
### IT Helpdesk support
34+
35+
- **Scenario**: An IT department develops a custom tool to integrate the AI agent with their ticketing and knowledge base systems.
36+
- **Functionality**: The AI agent can troubleshoot common technical issues, escalate complex problems, and track ticket statuses.
37+
- **Outcome**: Faster issue resolution, reduced downtime, and improved employee productivity.
38+
39+
### E-learning and training
40+
41+
- **Scenario**: An educational institution creates a custom tool to connect the AI agent with their learning management system (LMS).
42+
- **Functionality**: The AI agent can recommend courses, track student progress, and answer questions about course content.
43+
- **Outcome**: Enhanced learning experiences, increased student engagement, and streamlined administrative tasks.
44+
45+
These examples demonstrate how custom tools within the Azure AI Agent Service can be used across industries to address unique challenges, drive efficiency, and deliver value.

0 commit comments

Comments
 (0)