Skip to content
DocsTry Aspire
DocsTry

AgentEntityInfo Constructors

RecordConstructors1 member
Describes an AI agent exposed by an agent service backend, used for entity discovery in DevUI.
Describes an AI agent exposed by an agent service backend, used for entity discovery in DevUI.
public record AgentEntityInfo
{
public AgentEntityInfo(
string Id,
string? Description = null)
{
// ...
}
}
IdstringThe unique identifier for the agent, typically matching the name passed to AddAIAgent.
Descriptionstring?optionalA short description of the agent's capabilities.

When added via AgentFrameworkBuilderExtensions.WithAgentService, agent metadata is declared at the AppHost level so that the DevUI aggregator can build the entity listing without querying each backend's /v1/entities endpoint.

Agent services only need to expose the standard OpenAI Responses and Conversations API endpoints ( MapOpenAIResponses and MapOpenAIConversations), not a custom discovery endpoint.