AppLoader

interface AppLoader

The central interface for loading what the ADK web server serves: apps, agents and workflows, each as an App keyed by its app name. Supersedes AgentLoader. Implementations must be safe for concurrent calls.

Inheritors

Functions

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

The names of the available apps; each must be a valid app name. Empty if there are none.

Link copied to clipboard
abstract fun loadApp(appName: String): App?

The app served as appName, or null if there is none.