You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

installation.md 2.2 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Installation
  2. Install via `.NET cli`
  3. ```sh
  4. dotnet add package Microsoft.AutoGen.Contracts --version 0.4.0-dev.1
  5. dotnet add package Microsoft.AutoGen.Core --version 0.4.0-dev.1
  6. ```
  7. Or, install via `Package Manager`
  8. ```pwsh
  9. PM> NuGet\Install-Package Microsoft.AutoGen.Contracts -Version 0.4.0-dev.1
  10. PM> NuGet\Install-Package Microsoft.AutoGen.Core -Version 0.4.0-dev.1
  11. ```
  12. Or, add via `<PackageReference>`
  13. ```xml
  14. <PackageReference Include="Microsoft.AutoGen.Contracts" Version="0.4.0-dev.1" />
  15. <PackageReference Include="Microsoft.AutoGen.Core" Version="0.4.0-dev.1" />
  16. ```
  17. # Additional Packages
  18. The *Core* and *Contracts* packages will give you what you need for writing and running agents using the Core API within a single process.
  19. - *Microsoft.AutoGen.AgentChat* - An implementation of the AgentChat package for building chat-centric agent orchestration on top of the Core SDK
  20. - *Microsoft.AutoGen.Agents* - a package that has a small number of default agents you can use.
  21. - *Microsoft.AutoGen.Extensions* - Extensions to support closely related projects including Aspire, Microsoft.Extensions.AI, and Semantic Kernel
  22. ```sh
  23. dotnet add package Microsoft.AutoGen.AgentChat --version 0.4.0-dev-1
  24. dotnet add package Microsoft.AutoGen.Agents --version 0.4.0-dev-1
  25. dotnet add package Microsoft.AutoGen.Extensions --version 0.4.0-dev-1
  26. ```
  27. To enable running a system with agents in different processes that allows for x-language communication between python and .NET agents, there are additional packages:
  28. - *Microsoft.AutoGen.Core.Grpc* - the .NET client runtime for agents in a distributed system. It has the same API as *Microsoft.AutoGen.Core*.
  29. - *Microsoft.AutoGen.RuntimeGatewway.Grpc* - the .NET server side of the distributed system that allows you to run multiple gateways to manage fleets of agents and enables x-language interoperability.
  30. - *Microsoft.AutoGen.AgentHost* - A .NET Aspire project that hosts the Grpc Service
  31. ```sh
  32. dotnet add package Microsoft.AutoGen.Core.Grpc --version 0.4.0-dev-1
  33. dotnet add package Microsoft.AutoGen.RuntimeGateway.Grpc --version 0.4.0-dev-1
  34. dotnet add package Microsoft.AutoGen.AgentHost --version 0.4.0-dev-1
  35. ```