Get the number of registered experts.
Check if the registry is empty.
StaticgetGet the singleton instance.
StaticresetReset the singleton instance (for testing).
Register an expert in the registry.
Expert to register
Optionaloptions: ExpertRegisterOptionsRegistration options
Result with void or RegistryError
Register multiple experts.
Experts to register
Optionaloptions: ExpertRegisterOptionsRegistration options
Result with void or first RegistryError
Unregister an expert by ID.
Expert ID to unregister
Result with the removed Expert or RegistryError
Get an expert by ID.
Expert ID to retrieve
Result with Expert or RegistryError
Check if an expert is registered.
Expert ID to check
True if expert is registered
Get experts by capability.
Returns all experts that have the specified capability.
Capability to search for
Array of matching experts
Get experts by role.
Role to search for
Array of matching experts
Query experts with multiple criteria. Domain-specific query with structured options.
Query options
Array of matching experts
Get all registered experts. IRegistry interface method.
Array of all registered experts
Get all registered expert IDs. IRegistry interface method.
Array of all registered expert IDs
Search experts by text query. IRegistry interface method.
Searches expert ID, name, role, and capabilities.
Search term to match
Array of matching experts
Clear all registered experts.
Get statistics about the registry. Returns IRegistryStats-compatible stats with domain-specific extensions.
Find the best expert for a set of required capabilities.
Returns the expert that matches the most capabilities.
Capabilities needed
Result with best Expert or RegistryError if none found
Singleton registry for managing expert agents.
Provides thread-safe registration and lookup of experts. Supports querying by ID, role, and capabilities.
Implements IRegistry<Expert, RegistryError> for unified registry API.