Package-level declarations
Types
Link copied to clipboard
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.
Link copied to clipboard
class AdkWebServer(port: Int = AdkServerConfig.DEFAULT_PORT, sessionService: SessionService, artifactService: ArtifactService, agentLoader: AgentLoader, apiServerSpanExporter: ApiServerSpanExporter, captureMessageContent: Boolean = false, plugins: List<Plugin> = emptyList())
Embedded Ktor server exposing the ADK dev/web API.
Link copied to clipboard
Kept so callers of the previous package keep compiling; use the dev package instead.
Functions
Link copied to clipboard
Installs the ADK agent runtime contract: health, version, app discovery, sessions, artifacts and the run endpoints.
Link copied to clipboard
fun Application.adkModule(sessionService: SessionService, artifactService: ArtifactService, agentLoader: AgentLoader, apiServerSpanExporter: ApiServerSpanExporter, captureMessageContent: Boolean = false, plugins: List<Plugin> = emptyList())
Installs the full development surface. Equivalent to adkDevModule.