Python and dotnet agents interoperability sample Guide
This sample demonstrates how to create a Python agent that interacts with a .NET agent. To run the sample, check out the autogen repository. Then do the following: 1. Navigate to autogen/dotnet/samples/Hello/Hello.AppHost 2. Run dotnet run to start the .NET Aspire app host, which runs three projects: - Backend (the .NET Agent Runtime) - HelloAgent (the .NET Agent) - this Python agent - hello_python_agent.py 3. The AppHost will start the Aspire dashboard on https://localhost:15887. The Python agent will interact with the .NET agent by sending a message to the .NET runtime, which will relay the message to the .NET agent.
When to use Python and dotnet agents interoperability sample
This sample demonstrates how to create a Python agent that interacts with a .NET agent. To run the sample, check out the autogen repository. Then do the following: 1. Navigate to autogen/dotnet/samples/Hello/Hello.AppHost 2. Run dotnet run to start the .NET Aspire app host, which runs three projects: - Backend (the .NET Agent Runtime) - HelloAgent (the .NET Agent) - this Python agent - hello_python_agent.py 3. The AppHost will start the Aspire dashboard on https://localhost:15887. The Python agent will interact with the .NET agent by sending a message to the .NET runtime, which will relay the message to the .NET agent.
How to use Python and dotnet agents interoperability sample
Python and dotnet agents interoperability sample is a single agent agent built on the AutoGen framework. Set it up from the source repository, configure your model credentials, and invoke it for tasks that match its description. Review the safety profile below before running it against production data or systems.
Safety profile
Autonomy
Semi-autonomous
Sandbox-aware
Yes
Network access
Unspecified
Filesystem access
Unspecified