Refactor docs and projects; add .NET AI agent samples & workflows#31
Open
elbruno wants to merge 10 commits intomicrosoft:mainfrom
Open
Refactor docs and projects; add .NET AI agent samples & workflows#31elbruno wants to merge 10 commits intomicrosoft:mainfrom
elbruno wants to merge 10 commits intomicrosoft:mainfrom
Conversation
…d, and SUPPORT.md to docs/ directory; add GitHub Copilot instructions and .NET modernization plan
- Updated project references to use PackageReference format in GHModel.dotNET.AI.Workflow.DevUI and GHModel.dotNET.AI.Workflow.AGUI.Client. - Removed DotNetEnv dependency and associated environment loading code from Program.cs files in various projects. - Updated Microsoft.Extensions.AI.OpenAI package version to 10.3.0 in multiple projects. - Changed agent thread management to use session management in Program.cs files for improved clarity and functionality. - Updated workflow execution methods in WorkflowRunner.cs for consistency with new API changes. - Created a new solution file to organize various sample projects for easier navigation and access.
- Introduced travel agent sample demonstrating AI agent creation and tool usage. - Added basic agent framework samples showcasing autonomous agent behavior and design patterns. - Implemented multi-turn conversation handling with stateful agents using AgentSession. - Created retrieval-augmented generation (RAG) samples using Azure AI Foundry for file search and document grounding. - Developed multi-agent workflows demonstrating collaboration between agents in various scenarios. - Added tools for vision analysis, code interpretation, and Bing grounding to enhance agent capabilities. - Implemented AGUI protocol client and server for interactive agent communication. - Added OpenTelemetry tracing for monitoring agent workflows. - Introduced YAML-based declarative workflow creation for Azure AI Foundry. - Suppressed experimental API warnings and set up .NET SDK versioning in project configuration.
…ub Models, Azure AI Foundry, and Foundry Local - Implemented .NET sample for GitHub Models using OpenAIClient and AIAgent. - Created .NET sample for Azure AI Foundry with AIProjectClient and agent creation. - Developed .NET sample for Foundry Local demonstrating local agent execution. - Added Python notebooks for Azure OpenAI, GitHub Models, Azure AI Foundry, and Foundry Local showcasing agent capabilities and integration patterns. - Included README files for each sample to guide setup and usage.
…r-secrets guidance
- Implement basic workflow with GitHub model in `01.dotnet-agent-framework-workflow-ghmodel-basic/app.cs` - Create sequential workflow for furniture pricing and quoting in `02.dotnet-agent-framework-workflow-ghmodel-sequential/app.cs` - Develop concurrent workflow for travel planning in `03.dotnet-agent-framework-workflow-ghmodel-concurrent/app.cs` - Add conditional workflow sample with MSFoundry in `04.dotnet-agent-framework-workflow-msfoundry-condition/app.cs` - Integrate OpenTelemetry for monitoring in AI workflows in `GHModel.dotNET.AI.Workflow.OpenTelemetry/app.cs` - Create YAML-based workflow execution in `CreateWorkflowWithYAML/app.cs`
… workflow in .NET - Added a comprehensive RAG sample in `06.RAGs/code_samples/dotNET/dotnet-agent-framework-msfoundry-file-search/app.cs` demonstrating document upload, indexing, agent creation, and multi-turn querying. - Developed a conditional workflow example in `07.Workflow/code_samples/dotNET/04.dotnet-agent-framework-workflow-msfoundry-condition/Program.cs` showcasing agent interactions based on review outcomes. - Updated README files to reflect new features and provide clearer instructions on the conditional workflow. - Created foundational agent example in `01.AgentFoundation/code_samples/dotNET/dotnet-agent-foundation/` illustrating the core building blocks of a Microsoft Agent Framework agent. - Added project files and configurations for the new agent foundation sample.
…d tracing documentation
Contributor
|
okay thanks @elbruno |
Contributor
|
@elbruno can you rebase to fix the conflicts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configuration modernization:
.envfile loading withdotnet user-secretsand environment variable configuration in all sample projects, usingMicrosoft.Extensions.Configurationfor secure and flexible settings management (Program.csandapp.csfiles across samples). [1] [2] [3]UserSecretsIdproperty to.csprojfiles and includedMicrosoft.Extensions.Configuration.UserSecretsandMicrosoft.Extensions.Configuration.EnvironmentVariablespackage references for secret management. [1] [2]Dependency and project structure updates:
Microsoft.Extensions.AI10.3.0,Microsoft.Agents.AI1.0.0-rc1) and switched from local project references to NuGet packages for easier setup and cleaner project files. [1] [2].csprojfiles and code samples that relied on outdated configuration methods. [1] [2]Documentation and repository layout improvements:
README.mdfiles for each sample, explaining prerequisites, configuration, and run instructions, including support for file-based execution (dotnet run app.cs). [1] [2].github/copilot-instructions.mdto define repository layout rules, ensuring documentation, planning, and policy files are organized in thedocs/folder and clarifying allowed files at the repo root and in sample folders.Sample enhancements:
app.csfiles for file-based execution in tool use and RAG samples, demonstrating modern agent session management and retrieval-augmented generation with Azure AI Foundry. [1] [2]These changes collectively make the samples easier to set up, more secure, and better documented for new users.