Prerequisites
Before installing the Agent Framework, ensure you have:- Python 3.10 or higher installed on your system
- pip package manager (included with Python)
- An Azure subscription (for Azure OpenAI integration)
The Agent Framework supports Windows, macOS, and Linux operating systems.
Install the Package
Install the Agent Framework using pip. We recommend two installation paths:Optional Packages
Install specific provider integrations as needed:Set Up Authentication
The Agent Framework uses Azure CLI for authentication with Azure OpenAI services.Install Azure CLI
If you haven’t already, install the Azure CLI.
Sign in to Azure
Authenticate with your Azure account:This command opens your browser to complete the sign-in process.
Configure Environment Variables
Create a.env file in your project root to store configuration values:
.env
You only need to configure the variables for the service you plan to use (Azure AI Foundry, Azure OpenAI, or OpenAI).
Install python-dotenv
To load environment variables from your.env file, install the python-dotenv package:
The
python-dotenv package is automatically included as a dependency of agent-framework-core.Verify Installation
Verify your installation by checking the package version:Next Steps
Quickstart
Create your first agent in minutes
First Agent
Build an agent with tools and function calling