Skip to content
DocsTry Aspire
DocsTry

SquadResource Properties

ClassProperties3 members
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.
AgentsSection titled AgentsIReadOnlyList<string>
Gets the list of agent names discovered from .squad/team.md.
public IReadOnlyList<string> Agents { get; }
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Describes the connection string format string used for this resource.
public ReferenceExpression ConnectionStringExpression { get; }
Format: squad://resource/{resourceName}?teamRoot={path}&agents={csv}&protocol=maf-1.0
Gets the absolute path to the directory that contains the .squad/ folder (i.e., the workspace root, not the .squad/ sub-directory itself).
public string TeamRoot { get; }