File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -921,6 +921,20 @@ class UnsupportedOperationError(BaseModel):
921921 """
922922
923923
924+ class WellKnownUris (BaseModel ):
925+ """
926+ Well-known URIs used in the A2A protocol.
927+ https://datatracker.ietf.org/doc/html/rfc8615
928+ """
929+
930+ AGENT_CARD_WELL_KNOWN_URI : Literal ['/.well-known/agent.json' ] = (
931+ '/.well-known/agent.json'
932+ )
933+ """
934+ The well-known URI at which an AgentCard should be hosted.
935+ """
936+
937+
924938class A2AError (
925939 RootModel [
926940 JSONParseError
@@ -1568,6 +1582,9 @@ class AgentCard(BaseModel):
15681582 - Skills: A set of capabilities the agent can perform
15691583 - Default modalities/content types supported by the agent.
15701584 - Authentication requirements
1585+
1586+ The AgentCard SHOULD be hosted at the well-known URI specified by the
1587+ `WellKnownUris.AGENT_CARD_WELL_KNOWN_URI` constant ("/.well-known/agent.json").
15711588 """
15721589
15731590 additionalInterfaces : list [AgentInterface ] | None = None
You can’t perform that action at this time.
0 commit comments