Tao Chen and GitHub
df5477921b
.NET: Add Orchestration SK->AF migration samples ( #1044 )
...
* Add Orchestration SK->AF migration samples
* fix samples
* clean up
* Add handoff
* Comments
* Address comments
* Fix build error
* Comments
2025-10-07 18:54:41 +00:00
d10b44d6bb
.NET: Enable access to hosted AIAgents via OpenAI Responses ( #947 )
...
* init
* wip
* wip wip wip
* wip wip
* open up API
* enable for multiple agents
* more wip
* make frontend respond.
* wip
* not sure if proper setup
* define type
* cleanup
* frontend streaming wip
* use System.Net.ServerSentEvents
* usings
* reformat via ichatclient
* merge main renaming + refactor
* fix main merge + fix sample (a2a change)
* fix sample
* some rebase (not working yet)
* make it at least build somehow
* make non-stream work without internal types
* Input without custom models
* implement streaming
* test frontend
* enable alerts and fix
* build fixes & rereview
* Update dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI.Responses/Microsoft.Agents.AI.Hosting.OpenAI.Responses.csproj
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI.Responses/Utils/ResponseItemJsonConverter.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix agent discovery
* rename
* rename project into Microsoft.Agents.AI.Hosting.OpenAI (no responses in name)
* PR address comments x1
* address PR comments x2
* correctly instantiate OpenAIResponse
* address PR comments x3
* reconfigure JSON serialization & handle AOT warnings
* fix build
* proper ref
* check update differently
* correct check
* exclude dotnet format diagnostics for IL2026 and IL3050
* space :)
* re-review
* add comments
* remove unnecessary using
* always take last openai response item
* set responseItem Id explicitly
* add agent.name validation for uri
* cleanup
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com >
2025-10-07 12:39:08 +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
6a4e759965
Add sample showing how to use any foundry model ( #1159 )
2025-10-03 15:34:16 +00:00
79def868b6
.NET: Add Prompt to support and improve AI Agent SK->AF Migration Results ( #1081 )
...
* Prompt progress
* Enriched prompt + Added to SLN visibility
* Set starting point for Copilot Migration
* Address prompt detail + prepare copilot migration to work with Agent nugets
* Address more prompt details
* Prompt update
* Improve description for migration
* Improve description for migration
* Improve description for migration
* Improve description for migration
* SLnx Upgrade Assistant use-case
* Extra tweaks to the migration prompt
* Update prompt
* Adding the migration guida as a visible reference to the project
* Improvements
* IMprovement
* Small improvements
* AI Guidance Overhaul.
* Update migration guide with better straightforward examples
* Update breaking glass instructions
* Namespace change + address feedback
* ChatComletionService considerations
* Add middleware guidance + public packages
* Removing + ignoring future generated files
* Potential gh bug?
* Prompt progress
* Enriched prompt + Added to SLN visibility
* Set starting point for Copilot Migration
* Address prompt detail + prepare copilot migration to work with Agent nugets
* Address more prompt details
* Prompt update
* Improve description for migration
* Improve description for migration
* Improve description for migration
* Improve description for migration
* SLnx Upgrade Assistant use-case
* Extra tweaks to the migration prompt
* Update prompt
* Adding the migration guida as a visible reference to the project
* Improvements
* IMprovement
* Small improvements
* AI Guidance Overhaul.
* Update migration guide with better straightforward examples
* Update breaking glass instructions
* Namespace change + address feedback
* ChatComletionService considerations
* Add middleware guidance + public packages
* Removing + ignoring future generated files
* Potential gh bug?
* Version bump
* Address observation
* Address observation
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-10-02 15:00:19 +00:00
a414461570
.NET: Re-enable ImplicitUsings in samples and clean up NoWarns ( #1060 )
...
* Re-enable ImplicitUsings in samples and clean up NoWarns
* Fix dotnet format
* More dotnet format
* More dotnet format
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-10-01 19:37:03 +00:00
2b4ff5f076
.NET: Sample for the MCP and Foundry Agents documentation ( #972 )
...
* Foundry Agent MCP
* Foundry Agent MCP
* Use Foundry SDK directly
* Use raw representation factory
* Fix typo
---------
Co-authored-by: Mark Wallace <markwallace@microsoft.com >
2025-10-01 07:37:12 +00:00
Tao Chen and GitHub
042099009f
.NET: Workflow observability ( #959 )
...
* Add basic Workflow telemetry
* Add sample
* Add source propagation for executor spans
* Fix tests and address comments
* Fix formatting
* Fix declarative unit tests
* Address comments
* Remove Microsoft.Extensions.AI.Agents.EnableTelemetry
* Formatting
* Formatting
* Formatting
* fix solution
* Address comments
* Add workflow json definition for serialization
* Formmating
* Address comments
2025-09-30 23:40:04 +00:00
77404d165c
.NET Workflows - Code Generation for Declarative Workflow ( #655 )
...
* Notes
* Readme typo
* Update readme
* Checkpoint
* Namespace fix
* Fix ID and namespace
* Checkpoint
* Verified
* Comments
* Isolate "Kit"
* Address note: static
* Checkpoint
* Checkpoint "Executor<>"
* Prefix and internal executors
* Test passing
* Cleanup
* Rename "session" concept
* Revert workflow debug
* Fix template base / pragma
* Tune system scope
* Update dotnet/src/Microsoft.Agents.Workflows.Declarative/CodeGen/ResetVariableTemplate.tt
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix empty template
* Add validation for codegen ut
* Fix test
* Codegen baselines
* Constant
* Prep
* Mark TODO
* Fix
* Namespace
* One more
* Update baselines
* Checkpoint
* Checkpoint
* Checkpoint
* fme
* Checkpoint
* Another step
* Fixed up
* Roslyn
* Fix
* More cleaning
* Async
* Fix
* Enum checkpoint
* Refine enum
* Checkpoint
* Sync templates
* Checkpoint
* Streamline
* Pre-merge analyzer updates
* Foreach
* Placeholders
* Checkpoint
* Clean-up
* Sample path resolution
* Checkpoint
* Checkpoint - Workflow Code Building
* Validation
* Test cleanup
* Update test basline
* Update test baseline
* Fix DefaultTemplate usage
* Validation checkpoint
* Fix break/continue edges
* Verify generated code builds
* Fix merge
* Fix build validation
* Update template handling of literal string values.
* Test for metadata case
* Update baselines
* Fix merge
* Checkpoint
* Checkpoint: Conditions
* Invoke Agent Checkpoint
* Namespace
* Address code-analysis issues
* Cross platform test support
* Invoke agent checkpoint
* Clean sample
* Checkpoint: Agent Invoke Input Messages
* Checkpoint - Passing
* Checkpoint
* Regenerate all template + port conversation fix
* Checkpoint: Tests good
* Fix test for unbuntu
* Fix build command
* Checkpoint - E2E
* Test fix
* Update integration tests
* Fix merge
* Update
* Checkpoint !!!
* Baby steps
* Checkpoint
* Checkpoint E2E !!!
* So close...
* Integrate test validation
* Fix merge
* Rebase tests
* Namespace
* Namespace
* Test cleanup
* Sample comment cleanup
* Checkpoint: List conversion
* Include these
* CheckPoint: ParseValue
* Namespace
* Fix sampel
* More namspace
* Comments
* Test updates
* Test fix
* Better build
* Shared code
* Sort solution
* Fix build
* Prune solution
* One more
* Conversion matrix
* Final table conversion
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-30 21:56:14 +00:00
Ben Thomas and GitHub
df3e12b2ed
.Net: Visualizing dotnet workflows ( #882 )
...
* Adding more test for workflow vizualization.
* Improving README for sample.
* More cleanup.
* Removing rendering of workflow visualization and adding basic support for mermaid format.
* Adding basic mermaid tests.
* Improving sample. Switching to another branch.
* About to merge from main.
* Formatting.
* More fromatting.
* Removng uneeded call to ToUpper.
* Adding README.
* Moving samples under workflow to workflows.
* Removing uneeded README for map-reduce sample.
2025-09-30 16:29:19 +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
7967983755
Python: .NET: [BREAKING] Remove Actor-based runtime ( #977 )
...
* Remove Actor-based runtime
* Fix formatting
* Remove cosmos db vestigials
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
Co-authored-by: Stephen Toub <stoub@microsoft.com >
2025-09-30 14:09:32 +00:00
Ben Thomas and GitHub
647db9635a
.NET: Rename workflows projects ( #975 )
...
* Renaming Microsoft.Agent.Workflows to Microsoft.Agents.AI.Workflows
* Removing local settings.
* Removing remining old files from merge.
2025-09-29 18:30:45 +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
Stephen Toub and GitHub
0d9f133e3b
[BREAKING] Delete Microsoft.Agents.Orchestration ( #949 )
...
Replaced by AgentWorkflowBuilder.
2025-09-28 18:54:52 +00:00
westey and GitHub
499838565e
.NET: Fix samples, improve readme language and add readme to sln. ( #942 )
...
* Fix samples, improve readme language and add readme to sln.
* Fix threading in openai samples too.
2025-09-27 06:48:26 +00:00
Aditya Mandaleeka and GitHub
28ad256931
.NET: Change Runtime namespaces to Microsoft.Agents.AI.Runtime ( #957 )
...
* Rename MEAI.Runtime to MAAI.Runtime.
* Missed.
2025-09-27 06:10:14 +00:00
Aditya Mandaleeka and GitHub
6222a2cd18
.NET: Change Hosting namespaces to Microsoft.Agents.AI.Hosting ( #953 )
...
* Rename MEAI.Hosting to MAAI.Hosting.
* dotnet format.
2025-09-26 22:32:53 +00:00
32e054f1fe
Rename AI Agent packages to use Microsoft.Agents.AI ( #913 )
...
* Rename AI Agent packages to use Microsoft.Agents.AI
* Fix for build
* Fix formatting
* Fix formatting
* Ignore in VSTHRD200 in migration samples
* Ignore in VSTHRD200 in migration samples
* Add some missing projects and run format
* Fix build errors
* Address code review feedback
* Fix merge issues
---------
Co-authored-by: Mark Wallace <markwallace@microsoft.com >
2025-09-25 19:31:25 +00:00
SergeyMenshykh and GitHub
7c70c33157
.NET: Use observability term ( #889 )
...
* use observability term instead of telemetry
* rename telemetry folder to observability
* rolledback changed sample description
2025-09-24 15:27:00 +00:00
Stephen Toub and GitHub
09bdd64dcb
Add a sample using multiple services ( #851 )
2025-09-23 01:07:51 +00:00
Stephen Toub and GitHub
52790b9f6a
Add AgentWorkflowBuilder with Sequential, Concurrent, Handoff ( #792 )
2025-09-19 19:16:07 +00:00
7cd45e313b
.NET Workflows - Rename folder containing sample workflows ( #836 )
...
* coolio
* Update dotnet/samples/GettingStarted/Workflows/Declarative/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-19 17:40:51 +00:00
daee44d583
.NET: Add provider sample for OpenAI Assistants ( #812 )
...
* Add provider sample for OpenAI Assistants
* Suggestions from pr
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add deprecation warnings for OpenAI Assistants
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-18 15:22:06 +00: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
74879489a4
.NET Workflow - Integrated updated CPS Object Model ( #681 )
...
* Checkpoint
* Update workflows/DeepResearch.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Comment
* Fix comment
* Update package version
* Fix nuget haxx
* Checkpoint
* Code complete
* Testing
* Message content workaround
* Add sequential flow
* Checkpoint
* Integration test project
* Checkpoint
* Checkpoint cleanup
* Complete
* Update package
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-15 20:41:07 +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
Tao Chen and GitHub
89c8418705
.NET: Workflow getting started samples in .Net (Second batch) ( #650 )
...
* Add loop and agents in workflows samples
* Add foundry agent and workflow as agent samples
* Checkpoint sample WIP
* Checkpoint sample 1 Done
* Add HIL samples
* Fix formatting
* Force folder name change step 1
* Force folder name change step 2
* Fix formatting
* Fix formatting
* Add checkpoint and rehydrate sample
* _Foundational
* Fix formatting
2025-09-10 18:47:13 +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
7786e2f405
.NET: Add getting started samples that show how to call MCP tools ( #635 )
...
* Add getting started samples that show how to call MCP tools
* Add getting started samples that show how to call MCP tools
* Update dotnet/samples/GettingStarted/ModelContextProtocol/Agent_MCP_Server_Auth/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix README
* Address code review feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-10 05:52:30 +00:00
Mark Wallace and GitHub
745a05d43c
.NET: Add an A2A client server sample ( #633 )
...
* Add an A2A client server sample
* Address code review feedback
* Start to fix code review feedback
* Start to fix code review feedback
* Start to fix code review feedback
2025-09-09 17:03:10 +00:00
b2a6b64d72
.NET: Add Ollama and custom agent samples, plus ONNX improvements ( #639 )
...
* Add ollama and custom agent samples, plus onnx improvements
* Update dotnet/samples/GettingStarted/AgentProviders/Agent_With_CustomImplementation/Program.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR comments.
* Address pr comments.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-09 11:04:31 +00:00
Chris and GitHub
240edb00cd
.NET Workflows - Update structure of samples ( #645 )
...
* Updated
* Typos
* Update readme fwiw
2025-09-08 23:16:29 +00:00
Tao Chen and GitHub
cd0587c5f6
.NET: Workflow getting started samples in .Net (First batch) ( #554 )
...
* First batch of workflow getting started samples in .Net
* Add Switch Case Edge group
* Add multi selection group
* Add comments
* Add readme
* Fix formatting
* clean project file
* WIP: Revise sample structures
* Update readme
* Update readme
* Fix file encoding
* Update sample format
* Address comments
* Fix formatting
* Remove unwanted file
* Fix unit tests
* Remove unwanted file
2025-09-05 19:10:00 +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
d54edf20c9
.NET: Getting started samples which use OpenAI exchange types ( #598 )
...
* Getting started samples which use OpenAI exchange types
* Update dotnet/src/Microsoft.Extensions.AI.Agents.OpenAI/Extensions/AgentRunResponseUpdateExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Extensions.AI.Agents.OpenAI/Extensions/AgentRunResponseUpdateExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Extensions.AI.Agents.OpenAI/ChatCompletion/StreamingUpdatePipelineResponse.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/AgentWithOpenAI/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix pipeline response
* Update dotnet/samples/GettingStarted/AgentWithOpenAI/README.md
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
* Update comment to reflect OpenAI backend usage
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-09-03 16:42:08 +00:00
24ad03af6f
.NET: Add Declarative Workflow Interpreter ( #401 )
...
* test: Add Reflection/Invocation tests
* fix: Terminate on Completion event
* refactor: Update public API surface
* feat: Add support for external requests
* feat: Support hosting AIAgent instances in Workflows
* fix: Fix routing to go through Executor.ExecuteAsync
* test: Update samples for "must SendMessage" semantics
* Add invoking samples to unit tests to avoid future breaks
* fix: ExternalRequest should block Workflow completion
* feat: Normalize API surface against Python
* Also adds xmldoc to all public APIs
* refactor: Normalize UnitTest and Sample namespaces
* fix: Formatting
* refactor: Normalize project/folder names
* feat: Remove DynamicCodeExecution from ValueTaskTypeErasure
* fix: Fix ILTrim warnings
* docs: Add missing docs and fix typos
* feat: Hosted Agents should report Run events
* fix: Fix type propagation for ILTrim changes
* refactor: Simplify DynamicallyAccessedMembers annotations
* sample: Use static-Type construction of InputPort
* feat: Support non-Streaming Run Mode
* test: Add test for non-streaming execution
* Conversion checkpoint
* Fix namespace error
* Restructure
* Completion
* Executor checkpoint
* Conditional checkpoint
* Cleanup
* Exception cleanup
* Sample cleanup
* Updates
* feat: Define Workflow and Executor APIs
* feat: Define IExecutionContext and Events
* feat: Simple Workflow Demos
* refactor: Move Workflows classes to separate assembly
* feat: Move FanOut/In to LowLevel API with new semantics
* feat: Implement Local Execution
* refactor: Assembly name .Workflow => .Workflows
* feat: Enable Default Message Handling
* also lifts Bind in MessageHandlerInfo to better be able to direclty invoke handlers (for AOT, later)
* feat: Implement StreamingHandle APIs
This allows the user to respond to WorkflowEvents with external messages, enabling HIL.
* feat: Add checks for duplicate edges and chain cycles
* feat: Add built-in WorkflowEvents
* refactor: Pull classes into own files
* refactor: Simplify Disposal pattern in Executor
* refactor: Break EdgeRunner file into per-type files
* refactor: Use Throw.IfNull()
* refactor: Remove AddLoop()
Per https://github.com/microsoft/agent-framework/pull/272#discussion_r2241739079 we decided this was not very useful.
* refactor: Normalize use of ValueTask
* fix: Build Break from removing .AddLoop
* refactor: Explicit routing and RouteBuilder
Split out reflection from MessageRouter implemention into build phase, enabling AOT compilation to drive RouteBuilding without reflection.
* test: Add Reflection/Invocation tests
* fix: Terminate on Completion event
* refactor: Update public API surface
* feat: Add support for external requests
* feat: Support hosting AIAgent instances in Workflows
* fix: Fix routing to go through Executor.ExecuteAsync
* test: Update samples for "must SendMessage" semantics
* Add invoking samples to unit tests to avoid future breaks
* fix: ExternalRequest should block Workflow completion
* feat: Normalize API surface against Python
* Also adds xmldoc to all public APIs
* refactor: Normalize UnitTest and Sample namespaces
* fix: Formatting
* refactor: Normalize project/folder names
* feat: Remove DynamicCodeExecution from ValueTaskTypeErasure
* fix: Fix ILTrim warnings
* docs: Add missing docs and fix typos
* feat: Hosted Agents should report Run events
* fix: Fix type propagation for ILTrim changes
* refactor: Simplify DynamicallyAccessedMembers annotations
* sample: Use static-Type construction of InputPort
* feat: Support non-Streaming Run Mode
* test: Add test for non-streaming execution
* refactor: Remove unused types
* refactor: Simplify Event and EdgeData type hierarchies
* feat: Add Switch (=Conditional Edge Group) control flow
* Fix unit-tests
* Add sample
* Comment cleanup
* Fix debug output
* Formating helpers
* feat: Define Workflow and Executor APIs
* feat: Define IExecutionContext and Events
* feat: Simple Workflow Demos
* refactor: Move Workflows classes to separate assembly
* feat: Move FanOut/In to LowLevel API with new semantics
* feat: Implement Local Execution
* refactor: Assembly name .Workflow => .Workflows
* feat: Enable Default Message Handling
* also lifts Bind in MessageHandlerInfo to better be able to direclty invoke handlers (for AOT, later)
* feat: Implement StreamingHandle APIs
This allows the user to respond to WorkflowEvents with external messages, enabling HIL.
* feat: Add checks for duplicate edges and chain cycles
* feat: Add built-in WorkflowEvents
* refactor: Pull classes into own files
* refactor: Simplify Disposal pattern in Executor
* refactor: Break EdgeRunner file into per-type files
* refactor: Use Throw.IfNull()
* refactor: Remove AddLoop()
Per https://github.com/microsoft/agent-framework/pull/272#discussion_r2241739079 we decided this was not very useful.
* refactor: Normalize use of ValueTask
* fix: Build Break from removing .AddLoop
* refactor: Explicit routing and RouteBuilder
Split out reflection from MessageRouter implemention into build phase, enabling AOT compilation to drive RouteBuilding without reflection.
* test: Add Reflection/Invocation tests
* fix: Terminate on Completion event
* refactor: Update public API surface
* feat: Add support for external requests
* feat: Support hosting AIAgent instances in Workflows
* fix: Fix routing to go through Executor.ExecuteAsync
* test: Update samples for "must SendMessage" semantics
* Add invoking samples to unit tests to avoid future breaks
* fix: ExternalRequest should block Workflow completion
* feat: Normalize API surface against Python
* Also adds xmldoc to all public APIs
* refactor: Normalize UnitTest and Sample namespaces
* fix: Formatting
* refactor: Normalize project/folder names
* feat: Remove DynamicCodeExecution from ValueTaskTypeErasure
* fix: Fix ILTrim warnings
* docs: Add missing docs and fix typos
* feat: Hosted Agents should report Run events
* fix: Fix type propagation for ILTrim changes
* refactor: Simplify DynamicallyAccessedMembers annotations
* sample: Use static-Type construction of InputPort
* feat: Support non-Streaming Run Mode
* test: Add test for non-streaming execution
* refactor: Remove unused types
* refactor: Simplify Event and EdgeData type hierarchies
* feat: Add Switch (=Conditional Edge Group) control flow
* feat: Make .NET AutoSend the MessageHandler result
* feat: Implement State APIs
* Add tests
* Fix merge from main
* Test coverage
* Message event
* Comments and clean-up
* Format
* Cleanup
* Test checkpoint
* Clean-up - comments / test
* Test baseline - 100%
* More clean-up
* Comments
* Streaming...sort've...
* Fix build / test
* Stable
* Checkpoint
* Checkpoint
* Stable
* Update sample after merge
* Add "Question" workflow
* State clean-up checkpoint
* State clean-up
* Sample updated
* Expression bug fix
* Sample formatting
* Add unit test
* Comments
* Scope cleanup
* Refine cleanup
* Fill gaps
* fcs
* Finalize data-types
* Add unit-test
* Debug cleanup
* Bug fixes
* Demo progress
* Sample clean-up
* Update samples
* Sample updates
* Sync demo workflows
* Sample formatting
* Sample formatting
* Demo complete
* Workflow formatting
* Demo formatting #2
* Readme + Sample clean-up
* Scope update
* Update diagnostics
* Variable initiaization
* Rollback
* Tune research summary
* State management
* Fix merge
* Fix merge - demo
* Add readme
* Overload for workflow builder
* Fault tolerance - scope equivalency
* Fix feed
* Update sample
* Add default for "Bot"
* Nuget.config patchwork
* Scope assignment check
* Rollback nuget.config haxx
* Sample format
* Namespace
* Namespace
* Agent-Provider
* Clean-up extra files
* Renaming
* Update sample
* Prune junk files
* Clean-up
* Use transform
* agent provider fix
* Typo
* Null check fix
* Fix merge
* Checkpoint
* Cleanup
* Exception cleanup
* Exception message
* Clean-up
* Sample config update
* Update handling of "Env" scope
* Sample agent templates
* Add readme
* Event cleanup
* Rename event
* Update workflows/README.md
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
---------
Co-authored-by: Jacob Alber <jaalber@microsoft.com >
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com >
2025-09-03 16:32:15 +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
9b61c72e18
.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 >
2025-09-02 08:45:54 +00:00
Roger Barreto and GitHub
cf0e779638
.NET: Add missing Azure OpenAI Migration Sample code ( #559 )
...
* Add missing Azure OpenAI Migration Sample code
* Add Azure OpenAI Assistants Samples
* Address miner README typos
* Remove leftover
2025-09-01 12:04:26 +00:00
1d2f833122
.NET: A2A agent ( #520 )
...
* add a2a agent
* Update dotnet/src/Microsoft.Extensions.AI.Agents.A2A/A2AAgent.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* address pr review feedback
* move unit tests for extension methods to the extensions folder
* address pr review comments
* address pr review comments
* address pr review feedback
* move a2a agent sample to console app
* remove unnecessary Ids set for new projects in the solution file
* remove unnecessary configuration
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-01 08:30:30 +00:00
Roger Barreto and GitHub
dac17a8f48
.NET: Adding Semantic Kernel - Migration Samples ( #499 )
...
* Guidance
* Guidance
* WIP Migration Preps
* Move to single file projects
* Update guidance code and final adjustments to ensure all feature compatibility
* Move from demos to samples
* Address format
* Address chat client pipeline order
* Update project naming
* Revisition on README
* Remove unused ctor
* Address feedback
* Address feedback
* Address merge conflict fix
* Address SK versioning
* Address folder naming
* Address feedback
2025-08-29 14:29:03 +00:00
fe1941d25f
.NET: Add samples to show how to create an AIAgent for each provider. ( #525 )
...
* Add samples to show how to create an AIAgent for each provider.
* Update dotnet/samples/HowToCreateAnAIAgentByProvider/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address PR comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-28 14:25:19 +00:00
westey and GitHub
bbea3c00f8
.NET: Add more console based getting started samples ( #507 )
...
* Add more console based getting started samples
* Simplify function calling and approavls samples and some minor renaming based on PR feedback.
* Cover streaming with comments for aprovals sample.
* Remove extra line break.
* Update getting started samples list in readme.
* Address PR comments
* Address PR comments.
2025-08-28 14:14:25 +00:00
westey and GitHub
435fd14da5
Add proposed stucture for samples and user documentation ( #484 )
2025-08-25 17:11:09 +00:00
6ec21859cf
.NET: feat: Microsoft.Extensions.AI.Agents.Hosting.A2A package ( #390 )
...
* add timeout handling for message send
* prepare a2a proj
* fix it finally
* add a holder for selected protocol
* init types ;
* see discoveredAgentCardJson
* prettify json
* correct usage
* client setup for card
* setp?
* message:send
* init task based communication
* try call it via the agent thread
* okay i got back the message wooooow!
* nit
* fix duplicates
* yea matey!
* fix knights-knaves for A2A-Task-based communication
* fix a2a agents csproj
* AI feedback
* a2a does not support netstandard / netfx
* try fix build + refactor
* bump a2a for net9 only
* rollback System.Net.ServerSentEvents & Microsoft.Bcl.AsyncInterfaces version upgrade; override in-place and retarget to net9;net8 for A2A
* address PR comments x1
* refactor a2a interfaces
* address PR comments x2
* fix cancel usage
* separate project for A2A.AspNetCore
* simplify
* cleanup
* cleanup dependencies
* generate convertor tests / fix namespaces etc
* setup actor client!
* fix build
* backoff conversations
* fix duplicate message streaming
* address PR comments x1
* remove internalsvisibleto
* dont implement agent card query on my own: give it to the user
* nit
* rename and move projects
* fix dotnet-format
* address PR comments x1
* remove unreferenced project
* rollback
* rename
* nit
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-08-25 11:14:55 +00:00
westey and GitHub
71a0bf22eb
.NET: Enhance console samples while preserving copyability ( #475 )
...
* Enhance console samples while preserving copyability
* Add readme for minimal console demo
* Suppress pre-release version warning
* Address PR comments
* Change showing settings to opt-in
* Update comment
2025-08-22 14:58:10 +00:00
Korolev Dmitry and GitHub
25291de8cb
.NET: chore: support retries on Cosmos storage creation ( #402 )
...
* support retries
* tests + registration options
* fix ordering ..
* HK + update packages
* fix paths
* Update dotnet/tests/CosmosDB.IntegrationTests/Microsoft.Extensions.AI.Agents.Runtime.Storage.CosmosDB.Tests/CosmosTestFixture.cs
* re create project and fix some pk usage
* fix all tests
* try workflow?
* wip 1
* fix definition
* try with cosmos_use_emulator env?
* try ignore SSL errors?
* other cert verifications
* hardcode to 8081?
* proper valuation of ENV
* logging
* ensure db exsists for CI
* bump
* cleanup
* fix usage
* nit comment
* try only release for stability?
* try skip some flaky tests
* merge fixes + rollback container
* reimplement with iasyncdisposable pattern
* remove example doc struct
2025-08-21 18:37:12 +00:00
Roger Barreto and GitHub
531132057b
.NET: Update OpenTelemetry Agent - Added Demo, AIAgentMetadata and Agent.GetService() ( #356 )
...
* OTEL Demo
* updating telemetry sample
* OTEL updates
* WIP
* Adding GetService and Agent Metadata for Telemetry
* WIP
* Add UT for OTEL System behavior
* Address Unicode problem
* Add logging
* Adjust for new extensions
* Change Logger to LoggerFactory for the extension method
* Address AI Feedback
* Simplify script and readme just for Azure OpenAI
* Increase code converage
* Address merge conflict
* Another slnx fix
* Address PR comments
* Address PR feedback + Add UT
* Added Hosting UT to the solution
* Address PR comments
* Address missing sensitivity tests
* Remove unecessary override
* Address PR comments
2025-08-15 15:41:21 +00:00
32711cfa95
.Net: WIP: feat: Define Workflow and Executor APIs ( #261 )
...
* feat: Define Workflow and Executor APIs
* feat: Define IExecutionContext and Events
* feat: Simple Workflow Demos
* refactor: Move Workflows classes to separate assembly
* feat: Move FanOut/In to LowLevel API with new semantics
* feat: Implement Local Execution
* refactor: Assembly name .Workflow => .Workflows
* feat: Enable Default Message Handling
* also lifts Bind in MessageHandlerInfo to better be able to direclty invoke handlers (for AOT, later)
* feat: Implement StreamingHandle APIs
This allows the user to respond to WorkflowEvents with external messages, enabling HIL.
* feat: Add checks for duplicate edges and chain cycles
* feat: Add built-in WorkflowEvents
* refactor: Pull classes into own files
* refactor: Simplify Disposal pattern in Executor
* refactor: Break EdgeRunner file into per-type files
* refactor: Use Throw.IfNull()
* refactor: Remove AddLoop()
Per https://github.com/microsoft/agent-framework/pull/272#discussion_r2241739079 we decided this was not very useful.
* refactor: Normalize use of ValueTask
* fix: Build Break from removing .AddLoop
* refactor: Explicit routing and RouteBuilder
Split out reflection from MessageRouter implemention into build phase, enabling AOT compilation to drive RouteBuilding without reflection.
* test: Add Reflection/Invocation tests
* fix: Terminate on Completion event
* refactor: Update public API surface
* feat: Add support for external requests
* feat: Support hosting AIAgent instances in Workflows
* fix: Fix routing to go through Executor.ExecuteAsync
* test: Update samples for "must SendMessage" semantics
* Add invoking samples to unit tests to avoid future breaks
* fix: ExternalRequest should block Workflow completion
* feat: Normalize API surface against Python
* Also adds xmldoc to all public APIs
* refactor: Normalize UnitTest and Sample namespaces
* fix: Formatting
* refactor: Normalize project/folder names
* feat: Remove DynamicCodeExecution from ValueTaskTypeErasure
* fix: Fix ILTrim warnings
* docs: Add missing docs and fix typos
* feat: Hosted Agents should report Run events
* fix: Fix type propagation for ILTrim changes
* refactor: Simplify DynamicallyAccessedMembers annotations
* sample: Use static-Type construction of InputPort
* feat: Support non-Streaming Run Mode
* test: Add test for non-streaming execution
* refactor: Remove unused types
* refactor: Simplify Event and EdgeData type hierarchies
* feat: Add Switch (=Conditional Edge Group) control flow
* feat: Make .NET AutoSend the MessageHandler result
* feat: Implement State APIs
* refactor: Simplify public namespaces and code organization
* refactor: Reconcile .NET and Python names
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-08-13 22:34:39 +00:00