AgentLoader

interface AgentLoader

Deprecated

Use AppLoader instead. Scheduled for removal in 2.0.

Interface for loading agents to the ADK Web Server.

Users implement this interface to register their agents with ADK Web Server. New code implements AppLoader, which also serves apps and workflows.

Inheritors

Functions

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

Returns a list of available agent names.

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

Loads the BaseAgent instance for the specified agent name.