73eb00b37b
.NET: API to manage AgentThreads in hosting scenarios ( #1520 )
...
* skeleton
* wip
* rename + fix tests
* implement workflow tests
* fix comments
* Update dotnet/src/Microsoft.Agents.AI.Hosting/HostApplicationBuilderWorkflowExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fixes
* proto
* fix worfklow build logic
* build it / no reflection / no generics / extensions on aiagent
* rollback + new overload on workflow builder
* address PR comments
* fix build
* take from main
* correct based on latest API
* apply suggestion
* address PR comments x1
* address PR comments 2
* renames
* *With*
* refactor api a bit
* refactor + merge main + apply suggestions
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-24 11:17:25 +00:00
Korolev Dmitry and GitHub
72c391bc08
.NET: Refactor A2A and AIAgent hosting extensions ( #1625 )
...
* a2a reformat
* and refactor extensions on serviceCollection
* units
* fix build
* add remark for agentcard overloads
2025-10-23 17:43:48 +00:00
103c7e7105
.NET: Improve fidelity of OpenAI Responses hosting ( #1550 )
...
* Improve conformance of OpenAI Responses API serving
* Update dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AgentRunResponseExtensions.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Update dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/Responses/AgentRunResponseExtensions.cs
Co-authored-by: Stephen Toub <stoub@microsoft.com >
* Sort packages
* Relax adherence where acceptable
* nit
* PromptCacheKey is not obsolete
* format
---------
Co-authored-by: Stephen Toub <stoub@microsoft.com >
2025-10-22 17:48:44 +00:00
Jacob Alber and GitHub
0ef4e739d5
refactor: [BREAKING] Remove generic Workflow<T> ( #1551 )
...
Remove input type checking in favour of explicit `.DescribeProtocolAsync()` flow. Also removes `.AsAgentAsync()` as the validation happens at workflow run time. This makes it easier to use Workflows with DI without resorting to async-over-sync.
2025-10-21 00:13:41 +00:00
0331331dbc
.NET [WIP]: introduce Hosting extensions for Workflows ( #1359 )
...
* skeleton
* wip
* rename + fix tests
* implement workflow tests
* fix comments
* Update dotnet/src/Microsoft.Agents.AI.Hosting/HostApplicationBuilderWorkflowExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fixes
* fix worfklow build logic
* rollback + new overload on workflow builder
* address PR comments
* :)
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-14 19:44:58 +00:00
Korolev Dmitry and GitHub
f42a3ee6b9
.NET: Enable access to hosted AIAgents via OpenAI Chat Completions ( #1302 )
...
* non-streaming chat completion
* support streaming
* simplify frontend clients + nit
* nit
* use baseaddress
* rm unnecessary
* refactor
* remove conversation id for chatcompletions agent client
* nits
2025-10-14 18:38:02 +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
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
fe6492ce60
.NET: rename A2A extension methods ( #915 )
...
* rename
* simplify via agentProxy
* Update dotnet/src/Microsoft.Extensions.AI.Agents.Hosting.A2A.AspNetCore/WebApplicationExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Extensions.AI.Agents.Hosting.A2A/Microsoft.Extensions.AI.Agents.Hosting.A2A.csproj
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-29 17:43:50 +00:00
Stephen Toub and GitHub
0d9f133e3b
[BREAKING] Delete Microsoft.Agents.Orchestration ( #949 )
...
Replaced by AgentWorkflowBuilder.
2025-09-28 18:54:52 +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
Stephen Toub and GitHub
5e5761b288
Enable more analyzers and various code tweaks/cleanup ( #738 )
2025-09-18 01:48:25 +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
e7441ee29e
.NET: Add agent hosting package and update sample ( #296 )
...
* Add agent hosting package and update sample
* Review feedback and cleanup
* Include the narrator
* wip
* wip
* Remove workaround for empty state writes.
* Handle changes to AgentThread.
* One more.
* Fix.
---------
Co-authored-by: Aditya Mandaleeka <adityam@microsoft.com >
2025-08-06 21:26:36 +00:00