Table of Contents

Interface IDelegationRouter

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

Defines a contract for routing delegation requests to appropriate agents.

Implementations can provide custom logic for selecting which agent should handle a delegation request based on task content, agent capabilities, or other criteria.

public interface IDelegationRouter

Methods

CanHandle(Agent, DelegationRequest)

Determines if the given agent can handle the specified request.

SelectAgentAsync(DelegationRequest, AgentRegistry, CancellationToken)

Selects the most appropriate agent to handle the given request.