Commit Graph

538 Commits

  • .NET: Adding Delegating AIAgent (#708)
    * Delegating AIAgent impl
    
    * Warning fix
    
    * Fix duplicate
  • .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
  • .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
  • .NET Workflows - Add declarative action events (#679)
    * Updated
    
    * Typos
    
    * Update sample
    
    * Typo
    
    * Add parent and prior action ids to event
  • .NET: fix: MessageMerger crashes when there are no dangling messages (#660)
    * fix: MessageMerger crashes when there are no dangling messages
    
    * refactor: Better logic for AgentId in Workflow-as-Agent
    
    If the parent "agent" instance received an Id or Name when being instantiated, we should avoid stomping over it with the subagents' ids. But if there is no parent identifier, and only a single subagent yielded identified messages, pull that in.
  • .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>
  • .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
  • .NET: Remove AgentThread.GetMessagesAsync (#668)
    * Remove AgentThread.GetMessagesAsync
    
    * Remove unecessary using
  • .NET: Multiple fixes in Microsoft.Agents.Orchestration to make handoffs work end-to-end (#568)
    * Multiple fixes in Microsoft.Agents.Orchestration:
    - Enable multi-turn (via RunAsync) interactions for all orchestrating agents
    - Fix tool calling in HandoffOrchestration (multiple issues)
    - Fixes for chat history serialization involving tool calls
    
    * GHCP PR feedback
    
    * Fix issue with returning old responses
    
    ---------
    
    Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
  • .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>
  • .NET Workflows - Update structure of samples (#645)
    * Updated
    
    * Typos
    
    * Update readme fwiw
  • fix: Fix Checkpoint Restore when Rehydrating Run (#642)
    When checkpointing we did not persist the set of instantiated executors. This means, in turn, when we restore from a checkpoint when using Resume(Stream) rather than restoring a checkpoint in the context of an already existing (Streaming)Run, the executors never got reinstantiated and there were no executors to notify that a state should be loaded.
    
    The fix is to ensure we persist the list and reinstantiate the executors on rehydration.
    
    * Also adds a rehydration restore test
  • .NET: Improve DevEx for simple Executors (#626)
    * feat: Improve DevEx for simple Executors
    
    * Add abstract types for executors that will only handle one type of message
    * Add FunctionExecutor and configuration capability on delegates
    * Add support for late-instantiated Executors
    
    * refactor: Remove open-typed extension method
    
    * refactor: Switch to TaskFactory pattern for async--from-sync
    
    * docs: Update XML docs for publics and fix formatting
    
    * refactor: Better naming for ExecutorIsh configuration methods
    
    * docs: Fix typo in ExecutorIshConfigurationExtensions.ConfigureFactory
  • .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
  • .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>
  • .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>
  • .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>
  • .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>
  • .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>
  • .NET: Skipping non supported integration scenarios for OpenAI Responses (#586)
    * Skipping non supported integration scenarios for OpenAI Responses
    
    * Update dotnet/src/Microsoft.Extensions.AI.Agents.OpenAI/NewOpenAIResponsesChatClient.cs
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • .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>
  • .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>
  • .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
  • .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>
  • .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
  • .NET: fix: FanIn Edge does not work (#541)
    * fix: FanIn Edge does not work
    
    We were not creating the state for FanIn edge in EdgeMap correctly, leading to crashes. After fixing that, it turns out the logic in FanInEdgeRunner was only forwarding the last message, not all of them.
    
    * fix: Remove duplicate code and fix typo
  • fix: ChatMessage Aggregation in AIAgentHostExecutor (#530)
    The previous fix for the aggregation in AIAgentHostExecutor has a bug wherein we only include the first update from a ChatMessage in the outgoing "collected" message.
    
    The fix is to ensure we put the collected updates into the message before sending it out.
  • .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>
  • .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.
  • .NET: Fixes for agent abstractions to improve MEAI static analysis compliance (#498)
    * Fixes for agent abstractions to improve MEAI static analysis compliance
    
    * Fix build error
  • Aggregate ChatMessages from AgentRunUpdates before forwarding (#515)
    The current implementation of AIAgentHostExecutor unwraps every incoming AgentRunResponseUpdate into a separate ChatMessage, amplifying the number of ChatMessages are actually generated, and yielding multiple messages with the same MessageId.
    
    The fix is to aggregate by MesageId, with the expectation that agents do not interleave messages with differing ids, thus every new MessageId indicates a new ChatMessage and never an old one.
  • .NET: Implement browse/clear functionality for state (#513)
    * feat: Implement browse/clear functionality for state
    
    * fix: Assertion comments in StateManagerTests
  • .NET: Fixes for ChatClientAgent to improve MEAI static analysis compliance (#502)
    * Fixes for ChatClientAgent to improve MEAI static analysis compliance
    
    * Improve instruction handling and fix unit tests.
    
    * Address PR comments.
  • .NET: Make WorkflowBuilder more intuititve (#503)
    * feat: Make WorkflowBuilder more intutitve
    
    Right now Executorish binding has some unintutitive behaviour. When a user adds an eecutor with an id of an executor that already exists, we silently replace it, if the user provides it inside of add_edge. When a user introduces an executor via an unbound id, the user must bind it via BindExecutor, even though the registration is created implicitly when an edge id added.
    
    The change will remove the invisible update in favor of a "best efforts" check of type and instance equality.
    
    * Expand errors when rebinding to disallowed
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • .NET: feat: Implement Checkpointing API (#420)
    * feat: Implement Checkpointing API
    
    * refactor: Normalzie Namespaces and break out multi-class files
    
    * feat: Support checkpointing in AIAgentHostExecutor
    
    * test: Representation tests
    
    * feat: Add Step-level Tracing and WorkflowEvents
    
    * feat: Add Checkpointing Sample and Smoke Test
    
    * Fixes an issue where StateManager was not properly clearing the incoming queued updates.
    * Fixes order of checkpointing and in-step event publication
    * Adds import of RunContext state on LoadCheckpoint
    * Add re-firing of events for unserviced ExternalRequests on Checkpoint load
    
    * docs: Add documentation to publics
    
    * Also adds documentation to ICheckpointManager which may go public
    
    * refactor: Fix Union Aggregators and add Tests
    
    * fix: Fix issues raised in PR comments and remove dead code
  • .NET: API specification for Foundry SDK alignment (#359)
    * API specification for Foundry SDK alignment
    
    * Add descriptions to the samples
    
    * Add descriptions to the samples
    
    * Address some review feedback
    
    * Remove sample
    
    * Remove sample
    
    * Update docs/specs/001-foundry-sdk-alignment.md
    
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
    
    * Update docs/specs/001-foundry-sdk-alignment.md
    
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
    
    * Update docs/specs/001-foundry-sdk-alignment.md
    
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
    
    * Update docs/specs/001-foundry-sdk-alignment.md
    
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
    
    * Address code review feedback
    
    ---------
    
    Co-authored-by: westey <164392973+westey-m@users.noreply.github.com>
  • .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>
  • .NET: Add Approval capabilities to FunctionInvokingChatClient (#457)
    * Add Approval capabilities to FunctionInvokingChatClient
    
    * Address PR comments.
    
    * Address PR comments.
    
    * Address PR comments.
    
    * Address PR feedback, add sample, and fix bug plus unit test.
    
    * Address PR comments