AgentCatalog Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |