Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: Phase 1 of the declarative agent schema for review #10260

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

markwallace-microsoft
Copy link
Member

@markwallace-microsoft markwallace-microsoft commented Jan 22, 2025

Motivation and Context

Related #10224

Includes following

  • Model classes for the Agent Definition
  • An Agent Factory abstraction which is used to create an Agent instance from it's serialised form
  • Agent Factory implementations for Chat Completion, OpenAI Assistant and AzureAI Agent implementations

Description

Contribution Checklist

@markwallace-microsoft markwallace-microsoft force-pushed the users/markwallace/adr_declarative_agents branch from c624bbd to e800600 Compare January 28, 2025 09:19
@joslat
Copy link
Contributor

joslat commented Feb 5, 2025

Hi @markwallace-microsoft,
here is some feedback, hope it helps... I think it is great to support Declarative formats, maybe I'd make some base support for YAML and JSON as "base declarative formats" and implement custom plugins on top that support the existing declarative formats supported and the proposed Microsoft 365 copilot. this could make it easier to implement and add any new declarative format.

Maybe support:

  • Copilot Studio Agents? (I thnink a format json-yaml is generated below the hood to drive behavior...)
  • Azure AI Foundry Agents / Azure AI Agents (I believe this is code but with declarative style, though haven't explored it yet... still need to check Chris bits added some days ago - essentially I don't know what I am talking about and making an hypothesis)
  • AutoGen (in the studio there is a yaml/json definition that is used to persist an agent, so that could, might be a thing)
  • Other: unsure other frameworks like langgraph, langchain, crew ai, swarm, amazon bedrock or google services have a declarative format...

Unsure this helps, pretty much high level.

@markwallace-microsoft
Copy link
Member Author

Hi @markwallace-microsoft, here is some feedback, hope it helps... I think it is great to support Declarative formats, maybe I'd make some base support for YAML and JSON as "base declarative formats" and implement custom plugins on top that support the existing declarative formats supported and the proposed Microsoft 365 copilot. this could make it easier to implement and add any new declarative format.

Maybe support:

  • Copilot Studio Agents? (I thnink a format json-yaml is generated below the hood to drive behavior...)
  • Azure AI Foundry Agents / Azure AI Agents (I believe this is code but with declarative style, though haven't explored it yet... still need to check Chris bits added some days ago - essentially I don't know what I am talking about and making an hypothesis)
  • AutoGen (in the studio there is a yaml/json definition that is used to persist an agent, so that could, might be a thing)
  • Other: unsure other frameworks like langgraph, langchain, crew ai, swarm, amazon bedrock or google services have a declarative format...

Unsure this helps, pretty much high level.

Thanks for the feedback @joslat

  • I'm using YAML in the document for my samples nut JSON would also be supported
  • The goal is to have a format which is Agent Service agnostic and will support Azure AI Agents, OpenAI Assistants, Chat Completion Agents, AutoGen, etc.
  • Another goal to be able able to convert from other formats to this one.

@markwallace-microsoft markwallace-microsoft requested a review from a team as a code owner February 19, 2025 14:00
@markwallace-microsoft markwallace-microsoft changed the base branch from main to feature-declarative-agents February 20, 2025 14:57
@markwallace-microsoft markwallace-microsoft changed the title Initial draft of the declarative agent schema for review Phase 1 of the declarative agent schema for review Feb 20, 2025
@markwallace-microsoft markwallace-microsoft changed the base branch from feature-declarative-agents to main February 20, 2025 18:04
@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label Feb 21, 2025
@markwallace-microsoft markwallace-microsoft changed the title Phase 1 of the declarative agent schema for review .NET: Phase 1 of the declarative agent schema for review Feb 21, 2025
@github-actions github-actions bot changed the title .NET: Phase 1 of the declarative agent schema for review .Net: Phase 1 of the declarative agent schema for review Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants