Package-level declarations

Types

Link copied to clipboard
open class AdkApiServer(config: AdkServerConfig)

Serves the ADK agent runtime contract, so it can be deployed headlessly; the Development UI stays unmounted unless AdkServerConfig.webUiEnabled or the adk.web.ui.enabled property asks for it.

Link copied to clipboard
data class AdkServerConfig(val agentLoader: AgentLoader, val sessionService: SessionService, val artifactService: ArtifactService, val port: Int = DEFAULT_PORT, val host: String = DEFAULT_HOST, val apiServerSpanExporter: ApiServerSpanExporter = ApiServerSpanExporter(), val captureMessageContent: Boolean = false, val plugins: List<Plugin> = emptyList(), val webUiEnabled: Boolean? = null)

What an AdkApiServer or AdkDevServer needs to serve a set of agents over HTTP.

Functions

Link copied to clipboard
fun Application.adkApiModule(config: AdkServerConfig)

Installs the ADK agent runtime contract: health, version, app discovery, sessions, artifacts and the run endpoints.