Skip to main content

Module agent_card

Module agent_card 

Source
Expand description

Agent card HTTP handlers (static, dynamic, and caching utilities).

Modules§

caching
HTTP caching utilities for agent card responses (spec §8.6).
dynamic_handler
Dynamic agent card handler with HTTP caching.
hot_reload
Hot-reload agent card handler.
lint
What is legal in an agent card but likely wrong: the SHOULD-level and deployment-level requirements a card can be checked against without knowing where it is deployed.
static_handler
Static agent card handler with HTTP caching.

Structs§

DynamicAgentCardHandler
Serves a dynamically generated AgentCard as a JSON HTTP response.
HotReloadAgentCardHandler
An agent card handler that supports hot-reloading.
StaticAgentCardHandler
Serves a pre-serialized AgentCard as a JSON HTTP response with caching.

Constants§

CORS_ALLOW_ALL
CORS Access-Control-Allow-Origin header value for public agent cards.

Traits§

AgentCardProducer
Trait for producing an AgentCard dynamically.
ExtendedCardProvider
Chooses the extended agent card GetExtendedAgentCard serves to the caller of one request (spec §13.3 MAY).

Functions§

card_credentials
The fields of card that carry a credential in a URL.
card_warnings
The problems card likely has, each a sentence naming the field and the requirement; empty when there are none.