Skip to content
Docs Try Aspire
Docs Try

AgentEntityInfo Constructors

Record Constructors 1 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)
{
// ...
}
}
Id string The unique identifier for the agent, typically matching the name passed to AddAIAgent.
Description string? optional A 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.