microsoft / semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps
https://aka.ms/semantic-kernel
MIT License
22.16k stars 3.31k forks source link

.Net: Add support for agents loading from declarative agent manifests #9848

Open baywet opened 4 days ago

baywet commented 4 days ago

Similar to #9436

From looking at this example

https://github.com/microsoft/Agents-for-net/blob/main/src/samples/SemanticKernel/WeatherBot/Agents/WeatherForecastAgent.cs

We'll want to be able to load an agent from a declarative agent manifest.

Parsing capability is located in this file from Microsoft.Plugins.Manifest library.

https://github.com/microsoft/Microsoft.Plugins.Manifest/blob/main/src/PluginsManifest/DcSchema/DcManifestDocument.cs

I'm happy to do this work, you can go ahead and assign it to me.

baywet commented 4 days ago

Here are a set of DAs samples https://github.com/pnp/copilot-pro-dev-samples/blob/main/samples/ https://github.com/gim-home/declarative-agent-samples/tree/main/samples (internal)

Some additional notes: capabilities should NOT be imported at this time, as they rely on first party infrastructure. We should automatically import the associated CAPs if we can find the target path.

crickman commented 1 day ago

@baywet - Thank you for identifying this improvement and sharing the broader context.