Skip to content
DocsTry Aspire
DocsTry

AgentServiceAnnotation

Classnet10.0
📦 Aspire.Hosting.AgentFramework.DevUI v1.8.0-preview.260528.1
An annotation that tracks an agent service backend referenced by a DevUI resource.
namespace Aspire.Hosting.ApplicationModel;
public class AgentServiceAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}
IResourceAnnotation
This annotation is used to configure DevUI to aggregate entities from multiple agent service backends. Each annotation represents one backend that DevUI should connect to for entity discovery and request routing.