Share via


AgentCatalog Class

Definition

Provides a catalog of registered AI agents within the hosting environment.

public abstract class AgentCatalog
type AgentCatalog = class
Public MustInherit Class AgentCatalog
Inheritance
AgentCatalog

Remarks

The agent catalog allows enumeration of all registered agents in the dependency injection container. This is useful for scenarios where you need to discover and interact with multiple agents programmatically.

Constructors

AgentCatalog()

Initializes a new instance of the AgentCatalog class.

Methods

GetAgentsAsync(CancellationToken)

Asynchronously retrieves all registered AI agents from the catalog.

Applies to