adk-ui 2.1.0

Dynamic UI generation for ADK-Rust agents - render forms, cards, tables, charts and more
Documentation
mod adapter;
pub mod ag_ui;
#[cfg(feature = "awp")]
pub mod awp;
pub mod mcp_apps;
pub mod surface;

pub use adapter::{A2uiAdapter, AgUiAdapter, McpAppsAdapter, UiProtocolAdapter};
pub use ag_ui::{
    ADK_UI_SURFACE_EVENT_NAME, AgUiActivityDeltaEvent, AgUiActivitySnapshotEvent,
    AgUiAgentCapabilities, AgUiCustomEvent, AgUiErrorEvent, AgUiEvent, AgUiEventType,
    AgUiExecutionCapabilities, AgUiHumanInTheLoopCapabilities, AgUiIdentityCapabilities,
    AgUiInterrupt, AgUiMessagesSnapshotEvent, AgUiMultiAgentCapabilities,
    AgUiMultimodalCapabilities, AgUiMultimodalInputCapabilities, AgUiMultimodalOutputCapabilities,
    AgUiOutputCapabilities, AgUiRawEvent, AgUiReasoningCapabilities,
    AgUiReasoningEncryptedValueEvent, AgUiReasoningEndEvent, AgUiReasoningMessageChunkEvent,
    AgUiReasoningMessageContentEvent, AgUiReasoningMessageEndEvent, AgUiReasoningMessageStartEvent,
    AgUiReasoningStartEvent, AgUiResumeEntry, AgUiResumeStatus, AgUiRunAgentInput,
    AgUiRunErrorEvent, AgUiRunFinishedEvent, AgUiRunFinishedOutcome, AgUiRunStartedEvent,
    AgUiStateCapabilities, AgUiStateDeltaEvent, AgUiStateSnapshotEvent, AgUiStepEvent,
    AgUiSubAgentInfo, AgUiTextMessageChunkEvent, AgUiTextMessageDeltaEvent,
    AgUiTextMessageEndEvent, AgUiTextMessageStartEvent, AgUiToolCallArgsEvent,
    AgUiToolCallChunkEvent, AgUiToolCallEndEvent, AgUiToolCallResultEvent, AgUiToolCallStartEvent,
    AgUiToolsCapabilities, AgUiTransportCapabilities, activity_delta_event,
    activity_snapshot_event, default_ag_ui_agent_capabilities, error_event,
    messages_snapshot_event, raw_event, reasoning_message_chunk_event, reasoning_message_events,
    run_error_event, run_finished_event, run_interrupted_event, run_started_event,
    state_delta_event, state_snapshot_event, step_finished_event, step_started_event,
    surface_to_event_stream, text_message_chunk_event, text_message_events, tool_call_chunk_event,
    tool_call_events,
};
#[cfg(feature = "awp")]
pub use awp::AwpAdapter;
pub use mcp_apps::{
    MCP_APPS_EXTENSION_ID, MCP_APPS_HOST_CONTEXT_CHANGED_METHOD, MCP_APPS_HTML_MIME_TYPE,
    MCP_APPS_INITIALIZE_METHOD, MCP_APPS_INITIALIZED_METHOD, MCP_APPS_PROTOCOL_VERSION,
    MCP_APPS_REQUEST_DISPLAY_MODE_METHOD, MCP_APPS_RESOURCE_TEARDOWN_METHOD, MCP_APPS_SEP_STATUS,
    MCP_APPS_SIZE_CHANGED_METHOD, MCP_APPS_TOOL_CANCELLED_METHOD, MCP_APPS_TOOL_INPUT_METHOD,
    MCP_APPS_TOOL_INPUT_PARTIAL_METHOD, MCP_APPS_TOOL_RESULT_METHOD, McpAppsAppCapabilities,
    McpAppsBridgeMetadata, McpAppsExtensionSettings, McpAppsHostContextChangedNotification,
    McpAppsInitializeRequest, McpAppsInitializeRequestParams, McpAppsInitializeResult,
    McpAppsPartyInfo, McpAppsRenderOptions, McpAppsResourceTeardownRequest,
    McpAppsSizeChangedNotification, McpAppsSizeChangedParams, McpAppsSurfacePayload,
    McpAppsToolCancelledNotification, McpAppsToolCancelledParams, McpAppsToolInputNotification,
    McpAppsToolInputParams, McpAppsToolResultNotification, McpToolVisibility,
    build_default_mcp_apps_initialize_result, default_mcp_apps_extension_capabilities,
    default_mcp_apps_host_capabilities, default_mcp_apps_host_context, default_mcp_apps_host_info,
    mcp_apps_host_context_changed_notification, mcp_apps_resource_teardown_request,
    mcp_apps_size_changed_notification, mcp_apps_tool_cancelled_notification,
    mcp_apps_tool_input_notification, mcp_apps_tool_input_partial_notification,
    mcp_apps_tool_result_notification, surface_to_mcp_apps_payload,
    validate_mcp_apps_render_options,
};
pub use surface::{UiProtocol, UiSurface};