Mark Wallace and GitHub
b26108975d
.NET: Declarative Agents ( #2476 )
...
* Update the declarative agent samples
* Add the Microsoft.Agents.AI.Declarative project
* Make the package non packable
* Use the RecalcEngine when creating the ChatOptions
* Ignore VSTHRD200
* Add geting started samples
* Address code review feedback
2025-12-01 15:15:18 +00:00
Stephen Toub and GitHub
dc2b109b50
.NET: Upgrade to .NET 10 ( #2128 )
...
* Upgrade to .NET 10
- Require .NET 10 SDK
- Include net10.0 assets in all assemblies
- Move net9.0-only targets to net10.0
- Update LangVersion to latest
- Remove complicated distinctions between debug target TFMs and release target TFMs
- Remove unnecessary package dependencies when built into netcoreapp
- Clean up some ifdefs
- Clean up some analyzer warnings
* Fix CI
2025-11-22 04:14:15 +00:00
SergeyMenshykh and GitHub
caf3c4b92d
.NET: Move deep research sample ( #2094 )
...
* move catalog samples to the HostedAgents folder
* move the catalog samples' projects to the HostedAgents folder
* move deep research sample out of the HostedAgents folder
2025-11-12 09:22:11 +00:00
westey and GitHub
c0c12df851
.NET: Separate all memory and rag samples into their own folders ( #2000 )
...
* Separate all memory and rag samples into their own folders
* Fix broken link.
2025-11-10 15:34:20 +00:00
01f3a3d881
.NET: Remove moved OpenAPI sample and point to SK one. ( #1997 )
...
* Remove moved OpenAPI sample and point to SK one.
* Update dotnet/samples/GettingStarted/Agents/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-10 12:29:26 +00:00
westey and GitHub
6e205445be
.NET: Add tool calling sample with OpenAPI ( #1968 )
...
* Add tool calling sample with OpenAPI
* Address PR comments.
* Rename folders and moved literal to inline.
* Fix broken link.
2025-11-06 14:34:27 +00:00
a5db641ce3
.NET: Background responses sample ( #1831 )
...
* add samples that demonstrate background responses with function calling and agent state persistence
* update readme
* update sample description
* rename sample project
* remove unnecessary namespace and ysed task delay instead thread sleep generated by ai
* change names
* Update dotnet/samples/GettingStarted/Agents/Agent_Step20_BackgroundResponsesWithToolsAndPersistence/AgentStateStore.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* simplify sample and address pr review comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-31 17:13:43 +00:00
westey and GitHub
36532e929e
.NET: Add a Mem0 usage sample ( #1779 )
...
* Add a Mem0 usage sample
* Change charset
* Add variable types
2025-10-30 09:31:29 +00:00
westey and GitHub
8a3cab38ee
.NET: Add a sample that shows how to do RAG with the TextSearchProvider ( #1757 )
...
* Add a sample that shows how to do RAG with the TextSearchProvider
* Update file encoding.
2025-10-29 14:34:00 +00:00
1bf520a7c2
.NET: Add support for background responses ( #1501 )
...
* add support for background responses
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunResponseUpdate.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix broken link
* fix xml comments and background responses properties override funcitonity
* change ai model provider
* use Run{Streaming}Async overloads that don't require messages
* stop using m: prefix in cref attribute of <see/> element.
* reject input messages provided with continuation token + don't extract messages from message store and context provide if continuation token is provided
* use agent thread for background-responses sample
* require agent thread for background responses
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI/ChatClient/ChatClientAgent.cs
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* remove CA1200
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunOptions.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunResponse.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/AgentRunResponse.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
* address pr review comments
* Update dotnet/samples/GettingStarted/Agents/Agent_Step17_BackgroundResponses/Program.cs
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: westey <164392973+westey-m@users.noreply.github.com >
2025-10-22 17:43:57 +00:00
7506046f43
.NET: Add sample to show ChatReducer usage ( #1221 )
...
* Add sample to show ChatReducer usage
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-07 08:17:31 +00:00
westey and GitHub
364188c44f
.NET: Add link inspector ( #1062 )
...
* Add link inspector
* Comment out excludedirs while it's empty
* Fix broken links
* More links fixes
* Push further fixes
* Fix more links
2025-10-01 16:43:17 +00:00
bd167ee476
.NET: AI Agent with plugin ( #1009 )
...
* add sample to demonstrate plugins for ai agent
* Update dotnet/samples/GettingStarted/Agents/Agent_Step15_Plugins/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Agents/Agent_Step15_Plugins/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Agents/Agent_Step15_Plugins/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* remove lang version property
* address review comments
* rename functionInvocationServices to services
* restore the solution file corrupted during the merge with lates main
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-30 15:10:03 +00:00
7a8b456294
.NET: Add Agent Filtering Middleware ( #478 )
...
* WIP
* Wip
* Updated ADR
* Updated ADR
* Update files
* Address copilot comments
* Update filters from Task<T> to Task only
* Project endpoint
* Add agent ctor filter
* Other Agent Framework investigation
* Remove SK Java, no support
* Update LlamaIndex info
* Removing unrelated files
* Implementation with specialization
* Remove the specialization option as extra unecessary complexity
* Move middleware responsibility to a decorator
* Update readme
* Function invocation wip
* Add Agent Builder
* Adding comparison samples
* Reorganize Samples and Processor vs Decorator
* Remove merge files
* Address formating warnigs
* Update ADR
* Step13 README's update
* Address PR feedback
* Address PR feedback
* Remove configure await from ADR samples
* Update variables
* Address feedback
* Address Agent level tool invocation with Options.ToolsTransformer strategy
* Removing the Processor approach
* Proposal design for Middleware in CreateAIAgent extensions
* Examples clean up and consolitation
* Update middlewares to work with ApprovalREquiredFunction
* Clean-up sample
* Update override function call sample
* Drop configuration from the extensions, looks overkill
* Builder interface ..
* Revert IAIBuilder interface approach
* Cleanup sample
* Adding unit tests
* Fix UT
* Cleanup sample
* Remove unneeded dependency
* Address PR comment + Readme Samples
* Add missing comments for Program.cs Middleware
* Address mor PR comments + add client factory for OpenAI extensions
* Add OpenAI UnitTests for extensions
* Add AzureAI PersistentChatClient UT
* Addess feedback
* Add function invoking UT
* Add builder extension UT
* Address feedback + Rearange abstractions + UT fixes
* Drop context based middleware for full decorating impl
* Update unit tests
* Update UT coverage
* Removing Middelware namespace
* Add missing UT
* Remove internal ToolTransformation Property
* Adjust xmldoc
* Remove transient file
* Address merge conflict
* Add xmldoc remark for clarity
* Address comment
* Address feedback
* Update UT
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-09-29 17:58:04 +00:00
Mark Wallace and GitHub
3e5d398bf8
Fix step number for memory usage sample ( #803 )
...
Updated the link for the 'Using memory with an agent' sample to reflect the new step number.
2025-09-18 15:04:29 +01:00
westey and GitHub
66fe1c957c
.NET: Add AIContextProvider support ( #691 )
...
* Add AIContextProvider support
* Address feedback.
* Address PR comments.
* Switch to valuetask and remove parallel calls for AIContextProvider
* Remove Model from ModelInvokingAsync method name
* Remove agent thread id again and remove it from context provider interface
* Add AIContextProvider serialization support to AgentThread and update sample to show this feature
* Address PR comments
* Improve memory sample
* Update sample comment.
* Remove AggregateAIContextProvider for now since it makes too many assumptions. We can include it later as a sample if needed.
* Update AIContextProviders to have an Invoked method instead of MessagesAddingAsync.
* Remove unused using.
* Address PR comments.
* Address PR comment.
* Update comment.
* Update comment
* Address PR comments.
2025-09-16 09:54:18 +00:00
636e3acf37
.NET: [BREAKING] Change implementation to use AsFunctionTool extension method to create a function from an agent ( #686 )
...
* Change implementation to use AsFunctionTool extension method to create a function from an agent
* Update dotnet/tests/Microsoft.Extensions.AI.Agents.UnitTests/AgentExtensionsTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address code review feedback and add a new sample
* Address some code review feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-15 08:39:38 +00:00
Roger Barreto and GitHub
2393351a03
.NET: Adding Image Multi Modality Sample ( #688 )
...
* Adding Multi Modal Sample
* Address typos
* Update sample to Azure OpenAI
* Update readme
* Update readme
* Update readme
* Use thread
2025-09-10 18:34:08 +00:00
dbc961c869
.NET: AI agent as an MCP tool ( #612 )
...
* add sample demostrating how to expose ai-agent as an mcp tool
* Update dotnet/samples/GettingStarted/Agents/Agent_Step10_AsMcpTool/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Agents/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* remove threadId parameter
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-05 09:57:30 +00:00
8f68a697fc
.NET: Add info on how to deploy Azure OpenAI models with Azure AI Foundry ( #588 )
...
* Include details on required role
* Update dotnet/samples/GettingStarted/Agents/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Agents/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add info on how to deploy Azure OpenAI models with Azure AI Foundry
* Update dotnet/samples/GettingStarted/Agents/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-03 10:52:33 +00:00
eb92239ae5
.NET: Include details on required role ( #587 )
...
* Include details on required role
* Update dotnet/samples/GettingStarted/Agents/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Agents/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-02 14:40:54 +00:00
Mark Wallace and GitHub
81f8fb8001
Fix broken links ( #583 )
2025-09-02 12:18:12 +00:00
7dee184ae4
.NET: Organize the .Net samples ( #578 )
...
* Organize the .Net samples
* Organize the .Net samples
* Merge latest from main
* Update sample to also include function calling telemetry (#577 )
* Move package installation instructions to user-guide (#572 )
* Move package installation instructions to user-guide
* Update user-documentation-dotnet/getting-started/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/docs-templates/getting-started/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .NET: Add SK-AF Migration Samples for Responses API. (#575 )
* Responses wip
* Adding OpenAI Responses Migration samples
* Address all samples and code for Azure and OpenAI Responses Migration code
* Update dotnet/samples/SemanticKernelMigration/OpenAIResponses/Step02_ReasoningModel/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Organize the .Net samples
* Organize the .Net samples
* Merge latest from main
* Use Agent rather than AIAgent
* Rename agents getting started samples
* Use singular Agent
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-02 10:52:07 +00:00