Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

.NET: Declarative Agents#2476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@markwallace-microsoft
Copy link
Member

Motivation and Context

  • Update declarative agent samples
  • Add the Microsoft.Agents.AI.Declarative project

Description

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows theContribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

CopilotAI review requested due to automatic review settingsNovember 26, 2025 15:16
Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull request overview

This PR introduces declarative agent support to the .NET Agent Framework by adding theMicrosoft.Agents.AI.Declarative project and updating sample YAML configuration files.

Key changes:

  • Added newMicrosoft.Agents.AI.Declarative project with factory pattern for creating agents from YAML definitions
  • Implemented extension methods for converting between declarative object model types and runtime AI types
  • Fixed spelling errors in agent instruction texts across multiple YAML sample files

Reviewed changes

Copilot reviewed 28 out of 28 changed files in this pull request and generated 1 comment.

Show a summary per file
FileDescription
Microsoft.Agents.AI.Declarative.csprojNew project file defining dependencies and configuration for the declarative agents library
agent-framework-dotnet.slnxAdded the new declarative project to the solution
AgentFactory.csBase abstract factory class for creating AI agents from declarative definitions
AggregatorAgentFactory.csComposite factory that aggregates multiple agent factories
ChatClientAgentFactory.csConcrete factory implementation for creating ChatClient-based agents
AgentBotElementYaml.csHelper methods for deserializing YAML to agent definitions
YamlAgentFactoryExtensions.csExtension methods to create agents from YAML strings
PromptAgentExtensions.csExtensions for converting GptComponentMetadata to ChatOptions and tools
Extension files (RecordData*, PropertyInfo*, StringExpression*, ModelOptions*, Tool*)Type conversion extensions between declarative and runtime types
YAML sample filesUpdated instructions to fix grammar errors and standardized property names fromkind totype

@crickmancrickman added enhancementNew feature or request agentsIssues related to single agents labelsNov 26, 2025
@markwallace-microsoftmarkwallace-microsoft added this pull request to themerge queueDec 1, 2025
Merged via the queue intomicrosoft:main with commitb261089Dec 1, 2025
15 checks passed
This was referencedDec 5, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

@rogerbarretorogerbarretorogerbarreto approved these changes

@SergeyMenshykhSergeyMenshykhSergeyMenshykh approved these changes

Assignees

No one assigned

Labels

agentsIssues related to single agents.NET

Projects

Status: Done

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@markwallace-microsoft@rogerbarreto@SergeyMenshykh@crickman

[8]ページ先頭

©2009-2025 Movatter.jp