* tweaks to agents and sample
* updated clients and agents
* single line run and print
* improved tool handling
* added note on setting max iterations
* fixed streaming param name
* updated tools test
* made kwargs alphabetical
* added params to run methods
* tweak to ensure right overload
Eduard van Valkenburg
·
2025-07-15 14:01:21 +00:00
* Basic agent invocation sample
* Simplify sample further.
* Add additional comment.
* Address code review comments.
* Suppress CA2000 and remove using from most basic sample, since the IChatClient instances involved do not do any disposal.
* Fix handoff function names
Handoffs are including the agent name in the function name. But the agent name can include characters that are invalid for a function name, which results in errors. Replace them.
* Update dotnet/src/Microsoft.Agents.Orchestration/Handoff/HandoffActor.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Added ChatClientAgentThread
* Initial version of ChatClientAgent
* Completed ChatClientAgent
* Small fixes and unit tests
* Fixes based on pre-commit
* Small fixes
* Small renaming
* Small improvement
* Small fixes
* Addressed PR feedback
* Small fix
* Added method for AgentRunResponse from streaming conversion
* Addressed PR feedback
* Addressed PR feedback
* Addressed PR feedback
* Small fix
* More fixes
* Removed instructions property from Agent
* Added AgentRunResponse and AgentRunResponseUpdate types
* Added unit tests for agent response types
* Small fix
* Addressed PR feedback
* Small improvement
* Small fix
- Moved InProcessRuntime type into abstractions package and deleted InProcess package.
- Moved several members of IAgentRuntime to be extension methods instead, e.g. multiple GetActorAsync overloads.
- Added synchronous RegisterMessageHandler overloads and used them to avoid unnecessary async usage at call sites.
- Removed unnecessary surface area from InProcessRuntime, e.g. StopAsync, RunUntilIdleAsync, etc.
- Fixed spin loop in InProcessRuntime that would consume an entire core for the duration of the orchestration's operation.
- Removed a bunch of allocation from InProcessRuntime.
- Made a runtime optional for orchestrations, defaulting to using a temporary InProcessRuntime if none is provided.
- Removed custom delegate types from orchestrations.
- Consolidated namespaces.
- Used records to simplify message classes.
- Tweaked naming on AgentActor to make purpose of protected methods more clear.
- Removed invocation in AgentActor.InvokeAsync of empty update / isFinal parameter.
- Changed OrchestrationHandoffs to avoid needing to pass in agents duplicatively.
- Made various extension methods, such as those on OrchestrationHandoffsExtensions, into instance methods.
* DI WIP
* Update dependency injection examples and Agent Creation update
* Rollback override for GettingStarted as Azure.AI.OpenAI package currentl does not support OpenAI 2.2.0 GA version
* Dropping ct
* Update dotnet/samples/GettingStarted/AgentSample.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add ADR for different run response options
* Add another option to the list.
* Update agno non-streaming with further clarification
* Add another option
* Adding optional includeUpdates option
* Adding Pros/Cons for each option
* Make pros/cons a list
* Add some thoughts on structured outputs and custom AIContent types
* Update design doc to clarify primary and secondary better and split out custom response types with it's own options
* Add structured outputs competitive comparison and suggestion
* Address PR comments.
* Remove AgentRunFinishReason until we can find a good use case for it.
* Add finish reason to list of excluded properties.
* Add custom agent run response types.
Usage to follow.
* Update Agent run response types
* Add additional code coverage
* Remove onIntermediateMessage since it is unecessary with the new response approach.
* Add AgentId to response.
* Rename ParseAsStructuredOutput to Deserialize
* Update decision doc.
* Fix formatting.
* Update CopilotStudio to return new response types
* Address PR comment
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
---------
Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
* Add project and skeleton files.
* Add CopilotStudioAgent implementation
* Add CopilotStudio integration tests
* Fix typos and PR feedback.
* Fix .net framework build errors.
* Address PR comments
* Remove temp test.
* Add rawresponse for streaming updates and more comments.
* Add TODO to review streaming updates
* Address PR comments and fix some issues with streaming messages.
* Map additional properties to agent reponses
* Update CopilotStudio integration tests to match new approach.
* Update copilot studio namespaces/project names to match new naming
* Add todo's for AIContent types.
* Remove files from PR.
* Fix up sln file.
* Update .gitignore.
* Remove duplicate package version items.
* Added ADR templates and README
* First version
* Added remaining sections and commonalities across different providers
* Small formatting update
* Small formatting fix
* Updates for code interpreter tool
* Small update
---------
Co-authored-by: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com>
* Remove instructions from base agent type, and ensure description is only required where necessary.
* Fix code issue.
* Remove unused import.
* Remove typo
* Make the description parameter optional
* Also use name for handoffs if no description is provided.
* added ChatClientBase with function calling
* streaming update
* fixed typing
* test setup
* small update
* src setup
* removed src, updated test naming
* fixed test command
* alolow args
* updated test run
* added unit test folder to azure
* added init and unit test to azure
* added other cross tests
* restructured
* reset test run
* fix name
* removed always
* updated test
* extend pytest.xml locations
* run surface always
* added decorators for FC and marked tests
* fixed mypy settings and added tests
* fix override import
* removed import
Eduard van Valkenburg
·
2025-07-10 09:18:15 +00:00
* Enable running dotnet-build-and-test for push operations
* Enable integration tests for all runs
* Enable integration tests for all runs
* Enable integration tests
* Added Agent and AgentThread classes
* Addressed PR feedback
* Converted Agent to protocol
* Removed thread deletion logic
* Small update
* Small updates to the Agent protocol
* feat: ModelClient and content types
* refactor: Pythonify ChatResponseFormat and ChatRole
* feat: Add guardrail interfaces
* refactor: Remove CancellationToken
* feat: Solidify the Usage APIs
* Adds well-known keys for additional_counts, and guidance for how to avoid collisions between providers
* Implement sum-aggregation for usage
* refactor: Move AITool out of model_client
* refactor: Copy editing
* fix: CI checks (pyupgrade, ruff, etc.)
* ci: Fix pre-commit to use pyright in uv venv
The existing pyright precommit hook inside of python-pyright is no longer being maintained by the owner (see https://github.com/RobertCraigie/pyright-python/issues/265)
The fix is to define the hook ourselves, relying on `uv run` to drive it. In order for that to work right we need to use the "system" language to break out of the sandbox.
* fix: Pyright error fixes
* docs: Update models and types design docs
* Python: Refinement of content types and model client (#112)
* refinement of structure and buildup
with ports from semantigen
* refined the data and uri contents
* refined chat response and updates
* moved things and added tests
* moved out of src folder
* fixed imports and tests
* small tweaks
* missing build system
* upgrade
* add mypy
* fixed typing for types
* fix tests
* fixed tool
* disable json checks on vscode
* remove print
---------
Co-authored-by: Eduard van Valkenburg <eavanvalkenburg@users.noreply.github.com>
Co-authored-by: eavanvalkenburg <github@vanvalkenburg.eu>
* initial draft of python package design
* typo
* revision
* further updates
* refinement
* refinement
* refinment
* added open q
* small edits
* type checking update
* refinement
* extended the logging section
* updates based on review
* added note on Otel
* restructured for even less verbosity
Eduard van Valkenburg
·
2025-07-02 09:38:50 +00:00
* Added code interpreter abstraction updates for OpenAI Assistants
* Updated Persistent Agents implementation based on latest changes in SDK
* Added code interpreter abstraction updates for Azure AI Persistent Agents
* Small note for OpenAI responses code interpreter
* Small update
* Fixes after merge
* Addressed PR feedback
* Small update
* Small fix
* Fix after merge
* Rename the folders
* Rename the .csproj files
* Some build file updates
* Update namespaces
* Fix order of imports
* Fix order of imports
* Fix order of imports
- Id should return a stable ID, not a different value per access
- The RunAsync virtuals needn't be virtuals... a derived type can/should override just the main worker abstract method
- The protected methods should do argument validation
* Remove additional instructions from AgentRunOptions since it is not well supported outside of ChatClientAgents
* Fix typos and remove unused test.
* Make further namespace fixes and update AzureAIAgent with new tests.
* Expand tests to increase code coverage