This project is designed to explore and experiment with the integration of AI capabilities, using AutoGen into .NET MAUI applications. It serves as a sandbox to test and create solutions that leverage cutting-edge AI tools. Provides developers with a hands-on resource to learn about combining AutoGen with mobile and desktop app development.
The sample use multiple AI agents to generate a mobile app from a simple prompt.
Clone the repository:
git clone https://github.com/jsuarezruiz/autogen-maui-playground.git
cd autogen-maui-playground
Install dependencies: Ensure you have all the required NuGet packages installed. Use the following command:
dotnet restore
Configure Azure OpenAI:
- Update the necessary configuration files to include your Azure OpenAI endpoint and API key.
Build and run the project:
dotnet build
dotnet run
- The user provides a prompt describing an application.
- AI agents, such as the SpecCreatorAgent and CodeCreatorAgent, process the input generating a detailed Spec and an App navigation diagram.
- Another AI agent generate a consolidated, well-structured, and formatted document based on the previous ones.
- An AI agent uses the generated Spec to generate the .NET MAUI App code.
- Middleware orchestrates the 5B60 interactions between agents, resulting in structured specifications, designs, and generated code.
- Output is displayed in the .NET MAUI app interface further exploration.
Contributions are welcome! If you'd like to contribute:
- Fork the repository.
- Create a new branch for your changes.
- Submit a pull request with a clear description of the enhancements or fixes.
This project is licensed under the MIT License.