Skip to content
DocsTry Aspire
DocsTry

SquadResource

Classsealednet10.0
📦 CommunityToolkit.Aspire.Hosting.Squad v13.4.1-beta.706
Represents a Squad AI-agent team as a first-class Aspire resource. Implements ApplicationModel.IResourceWithConnectionString so that downstream services can reference the team with .WithReference(squad) and receive a custom squad:// descriptor that encodes the resource name, team root, and agent roster. The resource is a logical Aspire resource; it does not start a listener by itself.
namespace Aspire.Hosting.ApplicationModel;
public sealed class SquadResource
: Aspire.Hosting.ApplicationModel.Resource,
Aspire.Hosting.ApplicationModel.IExpressionValue,
Aspire.Hosting.ApplicationModel.IManifestExpressionProvider,
Aspire.Hosting.ApplicationModel.IResource,
Aspire.Hosting.ApplicationModel.IResourceWithConnectionString,
Aspire.Hosting.ApplicationModel.IValueProvider,
Aspire.Hosting.ApplicationModel.IValueWithReferences
{
// ...
}
ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences