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§
- Dynamic
Agent Card Handler - Serves a dynamically generated
AgentCardas a JSON HTTP response. - HotReload
Agent Card Handler - An agent card handler that supports hot-reloading.
- Static
Agent Card Handler - Serves a pre-serialized
AgentCardas a JSON HTTP response with caching.
Constants§
- CORS_
ALLOW_ ALL - CORS
Access-Control-Allow-Originheader value for public agent cards.
Traits§
- Agent
Card Producer - Trait for producing an
AgentCarddynamically. - Extended
Card Provider - Chooses the extended agent card
GetExtendedAgentCardserves to the caller of one request (spec §13.3 MAY).
Functions§
- card_
credentials - The fields of
cardthat carry a credential in a URL. - card_
warnings - The problems
cardlikely has, each a sentence naming the field and the requirement; empty when there are none.