Skip to content

.NET Agents New Feature: When Adding an agent as a plugin it is too verbose, I want to do it like in Python! #11439

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

Open
joslat opened this issue Apr 8, 2025 · 2 comments
Assignees
Labels
agents function_calling .NET Issue or Pull requests regarding .NET code

Comments

@joslat
Copy link
Contributor

joslat commented Apr 8, 2025


name: Feature request
about: Suggest an idea for this project


At the moment in c# we have to do this:

var agentPlugin = KernelPluginFactory.CreateFromFunctions("AgentPlugin",
            [
                AgentKernelFunctionFactory.CreateFromAgent(this.CreateSalesAssistant()),
                AgentKernelFunctionFactory.CreateFromAgent(this.CreateRefundAgent())
            ]);

While in Python it is just: plugins=[billing_agent, refund_agent],

Isn't it nicer?
With less cognitive overload...

Less is more... so... why not? :)

@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code python Pull requests for the Python Semantic Kernel triage labels Apr 8, 2025
@github-actions github-actions bot changed the title .NET Agents New Feature: When Adding an agent as a plugin it is too verbose, I want to do it like in Python! .Net Agents New Feature: When Adding an agent as a plugin it is too verbose, I want to do it like in Python! Apr 8, 2025
@github-actions github-actions bot changed the title .Net Agents New Feature: When Adding an agent as a plugin it is too verbose, I want to do it like in Python! Python: .NET Agents New Feature: When Adding an agent as a plugin it is too verbose, I want to do it like in Python! Apr 8, 2025
@crickman crickman removed the python Pull requests for the Python Semantic Kernel label Apr 8, 2025
@crickman
Copy link
Contributor

crickman commented Apr 8, 2025

@markwallace-microsoft, you are already looking at #11438 and this feels like it has more affinity to our function-calling patterns than agent functionality. I wonder if there's an efficiency for you to consider both suggestions?

@crickman
Copy link
Contributor

crickman commented Apr 8, 2025

@joslat - When will .NET support unions! 😃 (can't wait)

@moonbox3 moonbox3 changed the title Python: .NET Agents New Feature: When Adding an agent as a plugin it is too verbose, I want to do it like in Python! .NET Agents New Feature: When Adding an agent as a plugin it is too verbose, I want to do it like in Python! Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents function_calling .NET Issue or Pull requests regarding .NET code
Projects
Status: No status
Development

No branches or pull requests

4 participants