Table of Contents

Class NameBasedDelegationRouter

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

A simple delegation router that selects agents by exact name match.

This is the default router used when no custom routing logic is needed.

public sealed class NameBasedDelegationRouter : IDelegationRouter
Inheritance
NameBasedDelegationRouter
Implements
Inherited Members

Properties

Instance

Gets the singleton instance.

Methods

CanHandle(Agent, DelegationRequest)

Checks if the agent's name matches the request target.

SelectAgentAsync(DelegationRequest, AgentRegistry, CancellationToken)

Selects an agent by matching the target name in the request.