# SingleAgentLoader

class SingleAgentLoader(agent: BaseAgent) : AgentLoader

An AgentLoader implementation that loads a single agent.

## Constructors

SingleAgentLoader
Link copied to clipboard
constructor(agent: BaseAgent)

## Functions

listAgents
Link copied to clipboard
open override fun listAgents(): List<String>

Returns a list of available agent names.

loadAgent
Link copied to clipboard
open override fun loadAgent(agentName: String): BaseAgent?

Loads the BaseAgent instance for the specified agent name.