2.8 KiB
Frequently Asked Questions
How do I get access to nightly builds?
Nightly builds of the Agent Framework are available here.
To download nightly builds follow the following steps:
-
You will need a GitHub account to complete these steps.
-
Create a GitHub Personal Access Token with the
read:packagesscope using these instructions. -
If your account is part of the Microsoft organization then you must authorize the
Microsoftorganization as a single sign-on organization.- Click the "Configure SSO" next to the Personal Access Token you just created and then authorize
Microsoft.
- Click the "Configure SSO" next to the Personal Access Token you just created and then authorize
-
Use the following command to add the Microsoft GitHub Packages source to your NuGet configuration:
dotnet nuget add source --username GITHUBUSERNAME --password GITHUBPERSONALACCESSTOKEN --store-password-in-clear-text --name GitHubMicrosoft "https://nuget.pkg.github.com/microsoft/index.json" -
Or you can manually create a
NuGet.Configfile.<?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /> <add key="GitHubMicrosoft" value="https://nuget.pkg.github.com/microsoft/index.json" /> </packageSources> <packageSourceMapping> <packageSource key="nuget.org"> <package pattern="*" /> </packageSource> <packageSource key="GitHubMicrosoft"> <package pattern="*nightly"/> </packageSource> </packageSourceMapping> <packageSourceCredentials> <GitHubMicrosoft> <add key="Username" value="<Your GitHub Id>" /> <add key="ClearTextPassword" value="<Your Personal Access Token>" /> </GitHubMicrosoft> </packageSourceCredentials> </configuration>- If you place this file in your project folder make sure to have Git (or whatever source control you use) ignore it.
- For more information on where to store this file go here.
-
You can now add packages from the nightly build to your project.
- E.g. use this command
dotnet add package Microsoft.Agents.AI --version 0.0.1-nightly-250731.6-alpha
- E.g. use this command
-
And the latest package release can be referenced in the project like this:
<PackageReference Include="Microsoft.Agents.AI" Version="*-*" />
For more information see: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry