Skip to main content

Module server

Module server 

Source
Available on crate feature server only.
Expand description

HTTP server (REST + A2A).

Deploy agents as web services:

  • REST API for chat interactions
  • A2A (Agent-to-Agent) protocol support
  • Web UI integration

Available with feature: server

Modules§

a2a
auth_bridge
Auth middleware bridge for flowing authenticated identity into agent execution.
config
rest
ui_protocol
UI protocol constants, capability specs, and normalization.
ui_types
MCP Apps render-option types and validation.
web_ui

Structs§

A2aClient
A2A client for communicating with remote A2A agents
A2aController
Controller for A2A protocol endpoints
Executor
ExecutorConfig
RemoteA2aAgent
An agent that communicates with a remote A2A agent
RemoteA2aAgentBuilder
Builder for RemoteA2aAgent
RemoteA2aConfig
Configuration for a remote A2A agent
RequestContext
Identity and authorization context extracted from an HTTP request.
RuntimeController
SecurityConfig
Security configuration for the ADK server.
ServerConfig
Configuration for the ADK server.
SessionController

Enums§

RequestContextError
Errors that can occur during request context extraction.

Traits§

RequestContextExtractor
Extracts authenticated identity from HTTP request headers.

Functions§

build_agent_card
build_agent_skills
create_app
Create the server application with optional A2A support
create_app_with_a2a
Create the server application with A2A support at the specified base URL
shutdown_signal
Wait for a process shutdown signal.