Table of Contents

Property Names

Namespace
LMKit.Agents
Assembly
LM-Kit.NET.dll

Names

Gets a read-only collection of all registered agent names.

public IReadOnlyCollection<string> Names { get; }

Property Value

IReadOnlyCollection<string>

A collection containing the names of all registered agents.

Examples

Example: Displaying available agents

using LMKit.Agents;

var registry = new AgentRegistry(); // ... agents registered ...

Console.WriteLine("Available specialists:"); foreach (string name in registry.Names) { Console.WriteLine($" [{name}]"); }

Remarks

The returned collection reflects the current state of the registry. Names are case-sensitive and unique within the registry.

This property is useful for displaying available agents to users or for programmatically selecting agents based on naming conventions.

Share