You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1a4faf9
Browse filesBrowse the repository at this point in the historyBrowse files
feat(agent-card): add metadata field and expose list filter
Adds an optional `metadata: dict[str, Any]` field to the SDK's
`AgentCard` model (defaulting to an empty dict) and threads the value
through `AgentCard.from_states` / `AgentCard.from_state_machine` so
callers can attach opt-in capability flags without subclassing.
Also plumbs the paired platform `agent_card_metadata` list filter
through the Stainless-generated `agents.list` surface so consumers can
enumerate agents whose card metadata contains a given JSON object with
exact key/value semantics.
The card continues to serialize through the existing
`registration_metadata.agent_card` path — no wire-shape or database
migration is required.
0 commit comments