ff3e13c2aa
.Net: Add support for 3rd party thread storage and thread serialization ( #203 )
...
* Add thread storage and serialization POC
* Switch to using JsonElement and add unit tests
* Add additional unit tests.
* Exclude private debugger properties from CodeCoverage.
* Rename IChatMessagesStorable to IChatMessageStore
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Improve xml doc.
* Update the message storing thread to always use external store for both local and remote storage.
* Remove threadid from the IChatMessageStore interface, since the store should own the thread id itself, if it requires one.
* Switch GetMessages to IEnumerable
* Address pr comments.
* Make jsonserializer options default consistent on DeserializeThreadAsync
* Move message storing thread functionality into AgentThread and simplify AgentThread behavior.
* Remove embedding generation from VectorStore chat history sample.
* Remove unecessary code and fix formatting.
* Make GetNewThread and DeserializeThread virtual with default implementations.
Remove unsued json utilities.
* Fix formatting
* Remove problem test.
* Add more unit tests
* Remove unused using clause.
* Address pr feedback.
* Address PR comments.
* Make InMemory store internal
* Switch InMemoryChatMessageStore to implement IList instead of inheriting from List.
* Rename store deserialize param.
* Update serialization based on PR comments.
* Remove confusing comment.
* Address Deserialization PR comments in the same way as Serialization
* Add State to IChatMessageStore Serialize and Deserialize names.
Make Thread Deserialize internal.
Make AgentThread type switching fobidden.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
dotnet-0.0.1-nightly-250806.1
2025-08-05 17:24:25 +00:00
Dmytro Struk and GitHub
c1d306ec95
Python: Azure OpenAI Assistants Chat Client and Agent ( #300 )
...
* Initial version of assistant client
* More updates to assistant client
* Finished assistant chat client implementation
* Small fixes and basic example
* Added code interpreter example
* More examples
* Added chat client example
* Small fixes
* Added tests
* Enabled telemetry
* Small fix
* Removed files temporarily
* Revert "Removed files temporarily"
This reverts commit 5cdfa0d299 .
* Small fixes
* Addressed PR feedback
* Fixed tests
* Small update
* Added Azure assistants client and examples
* Added tests
* Small fix
2025-08-05 14:51:36 +00:00
Eric Zhu and GitHub
98cf962b72
Remove outdated design doc ( #320 )
2025-08-05 14:39:24 +00:00
9faa27b8eb
.NET: Clean / address some message warnings ( #291 )
...
* WIP
* Structured Output sample
* Update dotnet/samples/GettingStarted/Steps/Step06_ChatClientAgent_StructuredOutputs.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address xml and comment targeting the Structured Output context
* Update with proposed fix for Persistent ChatClient
* Address PR feedback
* Address minor warnings
* Address initialization
* Address initialization
* Address PR comments, update suggestions
* Revert changes to NullableAttributese.cs
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-08-05 12:55:44 +00:00
cbb05e210f
.NET: Fix error for ChatClientAgent DI ambiguity ( #299 )
...
* Fix error for ChatClientAgent DI ambiguity
* Using AIAgent abstraction for DI samples
* Update dotnet/samples/GettingStarted/Steps/Step04_ChatClientAgent_DependencyInjection.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Fix warnings
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-05 09:08:45 +00:00
Dmytro Struk and GitHub
544d2ba48f
Added author name logic to ChatClientAgent ( #313 )
dotnet-0.0.1-nightly-250805.1
2025-08-05 05:47:52 +00:00
Aditya Mandaleeka and GitHub
f5b35d8403
.NET: CosmosDB Actor State Storage ( #262 )
...
* Implement CosmosDB actor state storage.
* Fix.
* Minor fixes.
* Fixes.
* Make CosmosDB initialization be lazy.
* Remove unnecessary read from write path.
* Throw on empty writes.
* Add arg validation for read.
* Add CosmosIdSanitizer.
* Fix.
* Fix.
* Simplify doc IDs.
* Update comment.
* fb
* Make LazyCosmosContainer internal and add tests.
* Make test constants public and remove IVT.
* Use source generated JSON context for future nativeAOT support.
* Re-add dropped comments.
2025-08-05 00:11:49 +00:00
32f1132a5d
Bump danielpalme/ReportGenerator-GitHub-Action from 5.4.10 to 5.4.11 ( #309 )
...
Bumps [danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action ) from 5.4.10 to 5.4.11.
- [Release notes](https://github.com/danielpalme/reportgenerator-github-action/releases )
- [Commits](https://github.com/danielpalme/reportgenerator-github-action/compare/5.4.10...5.4.11 )
---
updated-dependencies:
- dependency-name: danielpalme/ReportGenerator-GitHub-Action
dependency-version: 5.4.11
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-04 08:55:37 +00:00
a5cc56dd76
Bump actions/cache from 3 to 4 ( #310 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-04 08:55:17 +00:00
Eduard van Valkenburg and GitHub
c39845d473
Python: small fixes in foundry ( #297 )
...
* small fixes in foundry
* other samples updated
* make it optional
* added instructions and response format to create agent
* mypy fix
* shortened main readme and improved python readme
2025-08-04 08:13:44 +00:00
30fc2b6e9b
Add FAQS ( #290 )
...
* Add FAQS
* Update docs/FAQS.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update docs/FAQS.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
dotnet-0.0.1-nightly-250804.1
dotnet-0.0.1-nightly-250803.1
dotnet-0.0.1-nightly-250802.1
2025-08-01 12:32:27 +00:00
Dmytro Struk and GitHub
75794b4687
Python: OpenAI Assistants Chat Client and Agent ( #288 )
...
* Initial version of assistant client
* More updates to assistant client
* Finished assistant chat client implementation
* Small fixes and basic example
* Added code interpreter example
* More examples
* Added chat client example
* Small fixes
* Added tests
* Enabled telemetry
* Small fix
* Removed files temporarily
* Revert "Removed files temporarily"
This reverts commit 5cdfa0d299 .
* Small fixes
* Addressed PR feedback
* Fixed tests
* Small update
2025-08-01 12:12:41 +00:00
624709e5d1
Add some OpenAI and Foundry extension methods ( #225 )
...
* Add some OpenAI specific extensions
* Update samples and extension methods
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add extension methods for creating agents using the Assistant API
* Add orchestration sample
* Add orchestration sample
* Sample for the Foundry alignment document
* Address code review feedback
* Rename provider samples
* Sample showing how to get an AI agent for Foundry SDK
* Add OpenAI chat completion based implementation of AIAgent
* Split OpenAI client extension methods by client type
* Remove OpenAIClient extension methods
* Rename AsRunnableAgent
* Fix XML comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
dotnet-0.0.1-nightly-250801.2
2025-07-31 18:08:17 +00:00
Eduard van Valkenburg and GitHub
42c7a59640
Python: updated doc generation setup and some slight api enhancements ( #267 )
...
* updated doc generation setup and some slight api enhancements
* small fix in index
2025-07-31 15:04:22 +00:00
139f033b05
.Net: Add Structured output ChatClientAgent samples ( #250 )
...
* WIP
* Structured Output sample
* Update dotnet/samples/GettingStarted/Steps/Step06_ChatClientAgent_StructuredOutputs.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Address xml and comment targeting the Structured Output context
* Update with proposed fix for Persistent ChatClient
* Address PR feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-07-31 11:35:29 +00:00
caee8bfa90
Python: add agent telemetry ( #283 )
...
* add agent telemetry
* updated comments
* update AgentRunResponseUpdate
* updated create_agent var
---------
Co-authored-by: Chris <66376200+crickman@users.noreply.github.com >
2025-07-31 10:29:38 +00:00
e877ffbca1
.NET: Move external MEAI classes to releasable packages ( #279 )
...
* Move external MEAI classes to releaseable packages
* Update dotnet/src/Microsoft.Extensions.AI.Agents.Abstractions/MEAI/NewHostedFileSearchTool.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Extensions.AI.Agents.Abstractions/MEAI/NewHostedCodeInterpreterTool.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/src/Microsoft.Extensions.AI.Agents.AzureAI/NewPersistentAgentsChatClient.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: westey <164392973+westey-m@users.noreply.github.com >
dotnet-0.0.1-nightly-250731.6
dotnet-0.0.1-nightly-250731.1
2025-07-30 14:40:04 +00:00
westey and GitHub
5f10bdaecd
Change RawRepresentation for AgentRunResponse/Update to ChatResponse/Update instead of RawRepresentation from that. ( #278 )
2025-07-30 10:12:04 +00:00
Eduard van Valkenburg and GitHub
1ed89d4db8
Python: updated API in sync with dotnet ( #269 )
...
* updated API in sync with dotnet
* fix test
* updated name and display_name
* fixed mypy setup
* add pre-commit cache
2025-07-30 08:50:22 +00:00
Reuben Bond and GitHub
dc993b4734
Fix capitalization of .NET PR label ( #270 )
...
s/.Net/.NET
2025-07-30 01:20:40 +00:00
Aditya Mandaleeka and GitHub
89de1c3c2f
Fix AgentRunResponse serialization. ( #273 )
2025-07-30 01:20:29 +00:00
02814a4fc0
.Net: FileSearch Tool Sample + API Proposal Updates for MEAI.Abstractions/Azure.AI.Agents ( #210 )
...
* Wip, bringing persistent chat client back
* Bring back code interpreter resource logic
* Add file search samples and proposal for new OpenAIAssistantChatClient and AgentPersistantChatCLient
* Update dotnet/samples/GettingStarted/External/MEAI.Abstractions/NewHostedFileSearchTool.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/Steps/Step04_ChatClientAgent_UsingFileSearchTools.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update dotnet/samples/GettingStarted/External/Azure.AI.Agents.Persistent/NewPersistentAgentsChatClient.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update MEAI abstractions to reflect latest discussions, updated underlying chatclients
* Remove unneeded comments
* Address PR feedback
* Address PR feedback
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-29 10:41:35 +00:00
Eduard van Valkenburg and GitHub
dff700e469
added telemetry decorators to other chat clients ( #255 )
2025-07-28 17:08:58 +00:00
Dmytro Struk and GitHub
c794892d79
Python: OpenAI Responses Agent - threads, code interpreter, bug fixes and examples ( #242 )
...
* Added basic example with small fix
* Added example with function tools
* Added example with thread management
* Small renaming
* Added example with code interpreter
2025-07-28 17:07:29 +00:00
Eduard van Valkenburg and GitHub
190035bb69
added PR permissions ( #259 )
2025-07-28 14:40:06 +02:00
Eduard van Valkenburg and GitHub
4f9e127e6d
revert update ( #258 )
2025-07-28 14:14:12 +02:00
Eduard van Valkenburg and GitHub
a9931480b7
updated permissions ( #257 )
2025-07-28 14:05:17 +02:00
Eduard van Valkenburg and GitHub
bf45d101a5
add PR logic to merge-test ( #256 )
2025-07-28 13:58:28 +02:00
Eduard van Valkenburg and GitHub
376e8d7bfc
foundry endpoint as secret ( #254 )
2025-07-28 13:28:59 +02:00
Eduard van Valkenburg and GitHub
1011b8bd2e
Python: Merge tests ( #253 )
...
* updated var and secret names
* updated ptyhon with conditional logic
2025-07-28 13:25:38 +02:00
Eduard van Valkenburg and GitHub
f36cc40080
different secret for python tests ( #248 )
2025-07-28 11:37:26 +02:00
62ea290066
Bump danielpalme/ReportGenerator-GitHub-Action from 5.4.9 to 5.4.10 ( #244 )
...
Bumps [danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action ) from 5.4.9 to 5.4.10.
- [Release notes](https://github.com/danielpalme/reportgenerator-github-action/releases )
- [Commits](https://github.com/danielpalme/reportgenerator-github-action/compare/5.4.9...5.4.10 )
---
updated-dependencies:
- dependency-name: danielpalme/ReportGenerator-GitHub-Action
dependency-version: 5.4.10
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-07-28 09:28:31 +00:00
Eduard van Valkenburg and GitHub
08a1b714b4
Python: updated python design and dev setup ( #171 )
...
* updated python design and dev setup
* updated dev setup
* updated dev setup
2025-07-28 11:28:58 +02:00
eafb333a3c
Bump actions/github-script from 6 to 7 ( #245 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-28 11:28:08 +02:00
Eduard van Valkenburg and GitHub
ba008cf4c0
Merge tests ( #247 )
...
* removed hardcoded model names from tests
* add debug line
2025-07-28 11:12:28 +02:00
Eduard van Valkenburg and GitHub
f47d0a1e0b
fixed permissions ( #246 )
2025-07-28 10:42:27 +02:00
92c6e26054
.Net: Bump Azure.AI.Agents.Persistent and 6 others ( #243 )
...
* Bump Azure.AI.Agents.Persistent and 6 others
Bumps Azure.AI.Agents.Persistent from 1.1.0-beta.4 to 1.1.0
Bumps Microsoft.Agents.CopilotStudio.Client from 1.1.125-beta to 1.1.151
Bumps Roslynator.Analyzers from 4.12.10 to 4.14.0
Bumps Roslynator.CodeAnalysis.Analyzers from 4.12.4 to 4.14.0
Bumps Roslynator.Formatting.Analyzers from 4.12.11 to 4.14.0
Bumps xunit from 2.9.2 to 2.9.3
Bumps xunit.runner.visualstudio from 3.0.2 to 3.1.3
---
updated-dependencies:
- dependency-name: Azure.AI.Agents.Persistent
dependency-version: 1.1.0
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: Microsoft.Agents.CopilotStudio.Client
dependency-version: 1.1.151
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: Roslynator.Analyzers
dependency-version: 4.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: Roslynator.CodeAnalysis.Analyzers
dependency-version: 4.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: Roslynator.Formatting.Analyzers
dependency-version: 4.14.0
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: xunit
dependency-version: 2.9.3
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: xunit.runner.visualstudio
dependency-version: 3.1.3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Missing extra bump
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com >
2025-07-28 08:37:36 +00:00
Eduard van Valkenburg and GitHub
0d465d3f3d
test with extra echo ( #226 )
2025-07-28 10:19:15 +02:00
Eduard van Valkenburg and GitHub
0ce8eb1e2f
Python telemetry ( #223 )
...
* initial work on telemetry
* moved tool operation const
* missing quotes
* working otel with samples
* updated readme and other assets
* added tests
* added tests
* small updates
* updated genaiattributes docs
* updated tests
* additional warning
* cleanup of tests
2025-07-28 07:33:42 +00:00
3ee9dddfa2
Python: OpenAI responses client ( #239 )
...
* Responses client WIP
* add responses class
* fix typing errors
* move test
* streaming responses, structured outputs
* tests
* Update python/packages/main/tests/openai/test_openai_responses_client.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* pr comments
* fix override import
* fix mypy
* add missing function override
* PR comments
* add docstrings
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-25 17:56:22 +00:00
Stephen Toub and GitHub
233c557173
Clean up handoff orchestration creation ( #235 )
...
- Remove Dictionary-derived types
- Add an optional name to orchestrations
- Make Handoffs based purely on AIAgent instances rather than separately provided names
2025-07-24 16:38:23 +00:00
Dmytro Struk and GitHub
a72245287f
Python: Added fixes and more examples for OpenAI and Azure chat client agents ( #232 )
...
* Added non-streaming and streaming examples
* Updated resource management
* Added examples with thread management
* Added function tools examples
* Small rename
* Added code interpreter example
* Updated example
* Addressed PR feedback
* Added more OpenAI and Azure chat completion examples
* File renaming
* Small fix in tests
* Small revert
* More renaming
* Small fix
2025-07-24 15:31:05 +00:00
Dmytro Struk and GitHub
14efb626ab
Python: Added fixes and more examples for Foundry agent ( #217 )
...
* Added non-streaming and streaming examples
* Updated resource management
* Added examples with thread management
* Added function tools examples
* Small rename
* Added code interpreter example
* Updated example
* Addressed PR feedback
* Addressed PR feedback
2025-07-24 14:47:45 +00:00
Roger Barreto and GitHub
62be887947
.Net: Add missing providers to tool samples ( #211 )
...
* Add missing providers to tool samples
* Add Options ctor and simplify samples a bit
* Remove basic
2025-07-24 09:31:24 +00:00
Eduard van Valkenburg and GitHub
517955ce66
updated builds and release pipeline setup (without pypi publish) ( #219 )
...
* updated builds and release pipeline setup (without pypi publish)
* add label prefix action
* updated uv versions
* final uv updates
* moved uv version semver into variable
2025-07-24 07:15:00 +00:00
Reuben Bond and GitHub
5e9b24e532
Clean up usage of JsonSerializerContext ( #229 )
...
* Clean up usage of JsonSerializerContext
* review feedback
2025-07-23 19:34:54 +00:00
Reuben Bond and GitHub
e6aeb9a5db
Fix and simplify build ( #218 )
2025-07-23 17:45:50 +00:00
Stephen Toub and GitHub
5472d6e996
Overhaul orchestration library with new approach ( #199 )
2025-07-23 16:29:37 +00:00
Eduard van Valkenburg and GitHub
27f7af2160
Python: moved prepare tools into class ( #215 )
...
* moved prepare tools into class
* moved test
* changed tool handling
* fix test
* second fix
2025-07-22 21:37:18 +00:00
Eduard van Valkenburg and GitHub
84e5ee97b9
fixed name in labeler ( #216 )
2025-07-22 22:07:13 +02:00