Skip to main content

Module lint

Module lint 

Source
Expand description

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.

AgentCard::validate refuses what the specification forbids; these are reported instead, because each has a legitimate exception (a card for a local test, a gRPC host:port, a scheme registered after this list was read). RequestHandlerBuilder::build logs each as a warning; call card_warnings to act on them yourself.

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.