Skip to content
Docs Try Aspire
Docs Try

AgentEntityInfo

Record net10.0
📦 Aspire.Hosting.AgentFramework.DevUI v1.8.0-preview.260528.1
Describes an AI agent exposed by an agent service backend, used for entity discovery in DevUI.
namespace Aspire.Hosting.AgentFramework;
public record AgentEntityInfo
: System.IEquatable<Aspire.Hosting.AgentFramework.AgentEntityInfo>
{
// ...
}
IEquatable<AgentEntityInfo>

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.