代理(Agent)Loader

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

函数

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

返回一个包含所有可用代理名称的列表。

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

加载指定代理名称对应的 BaseAgent 实例。