Author: benperk

Azure AI Agents: When to Use azure.ai.projects vs. agent_framework

As Azure AI Foundry adoption grows, developers are increasingly faced with an important architectural decision: The answer depends on where your agent lives and how you want to manage it.  Although both SDKs are part of the Azure AI ecosystem, they solve different problems. Understanding the distinction can save significant development effort and help you […]

Read More →

How to fine tune an AI model

There are numerous ways to optimize model performance.  Retrieval Augmented Generation (RAG) and Prompt Engineering are 2 relevant strategies, but also consider fine-tuning a model.  Fine-tuning influences the model with additional examples that reflect specific requirements.  These examples adjust the pretrained internal weights so that it produces responses consistent with patterns in the training data. […]

Read More →

Develop generative AI apps that use tools

Artificial Intelligence (AI) is more than OpenAI or Anthropic who have created some very awesome LLMs that can do amazing things, especially with Natural Language Processing (NLP).  AI can also extract information from documents, convert text-to-speech and speech-to-text, provide metadata and summaries of images and videos, of course AI Agents.  All of the AI capabilities […]

Read More →

Orchestrate a multi-agent solution using the Microsoft Agent Framework

The Microsoft Agent Framework is an open-sourced SDK which combines the Semantic Kernel and AutoGen into a single, highly innovative set of AI capabilities into a single library.  AI features like: Unified model connectivity and chat clients for OpenAI, Azure OpenAI, Anthropic, Ollama, and other leading LLM providers. Multi-agent orchestration, allowing specialized AI agents to […]

Read More →

Develop an AI agent with Microsoft Agent Framework

You may have noticed that in my previous articles I used Azure AI Projects client library for Python – version 2.5.0 library.  Those articles illustrate how to build AI Agents, MCP Tools, and infer instructions using an LLM. Integrate custom tools into an AI Agent Integrate MCP Tools with AI Agents – Remote MCP server […]

Read More →

Build knowledge-enhanced AI agents with Foundry IQ – RAG

I have built a Retrieval Augmented Generation (RAG) solution using the Azure AI Search SDK and Azure OpenAI SDK. There is a lot to know about not only coding, configuring, and managing those components, but how they must be tuned, fed, and optimized are aspects which we are still in a state of learning and […]

Read More →

Integrate MCP Tools with AI Agents – Local MCP server

I recently wrote this article Integrate custom tools into an AI Agent which illustrates how to configure tools and an AI Agent to call those tools.  In that article there was no Model Context Protocol (MCP) capability utilized.  MCP provides the following benefits when compared to integrating custom tools directly from code. Dynamic tool discovery […]

Read More →

Integrate MCP Tools with AI Agents – Remote MCP server

I recently wrote this article Integrate custom tools into an AI Agent which illustrates how to configure tools and an AI Agent to call those tools.  In that article there was no Model Context Protocol (MCP) capability utilized.  MCP provides the following benefits when compared to integrating custom tools directly from code. Dynamic tool discovery […]

Read More →

Integrate custom tools into an AI Agent

Before learning what I discovered while integrating tools into an AI Agent, I was a bit perplexed regarding how the LLM was able to determine which tool to use and even which tools are available for use.  Well, how it works is not a mystery, it is clearly described in the code.  In this post […]

Read More →