Skip to content

Descriptors

Source code in docs_src/capo_agent_registry/types/descriptors.py
class Descriptors(TypedDict, closed=True):
    mcp_server: NotRequired[
        "capo_agent_registry.types.mcp_server_descriptor.McpServerDescriptor"
    ]
    """<p> The MCP server descriptor, populated when the record type is MCP.</p>"""
    a2a_agent_card: NotRequired[
        "capo_agent_registry.types.a2a_agent_card_descriptor.A2aAgentCardDescriptor"
    ]
    """<p> The A2A agent card descriptor, populated when the record type is AGENT.</p>"""
    agent_skills_definition: NotRequired[
        "capo_agent_registry.types.agent_skills_definition_descriptor.AgentSkillsDefinitionDescriptor"
    ]
    """<p> The agent skills definition descriptor, populated when the record type is SKILL.</p>"""
    custom: NotRequired["capo_agent_registry.types.custom_descriptor.CustomDescriptor"]
    """<p> The custom descriptor, populated when the record type is CUSTOM.</p>"""
    http: NotRequired["capo_agent_registry.types.http_descriptor.HttpDescriptor"]
    """<p> The HTTP descriptor, populated when the record exposes an HTTP endpoint.</p>"""
    agui: NotRequired["capo_agent_registry.types.ag_ui_descriptor.AgUiDescriptor"]
    """<p> The AG-UI descriptor, populated when the record exposes an AG-UI protocol endpoint.</p>"""

a2a_agent_card instance-attribute

a2a_agent_card: NotRequired[A2aAgentCardDescriptor]

The A2A agent card descriptor, populated when the record type is AGENT.

agent_skills_definition instance-attribute

agent_skills_definition: NotRequired[AgentSkillsDefinitionDescriptor]

The agent skills definition descriptor, populated when the record type is SKILL.

agui instance-attribute

agui: NotRequired[AgUiDescriptor]

The AG-UI descriptor, populated when the record exposes an AG-UI protocol endpoint.

custom instance-attribute

custom: NotRequired[CustomDescriptor]

The custom descriptor, populated when the record type is CUSTOM.

http instance-attribute

http: NotRequired[HttpDescriptor]

The HTTP descriptor, populated when the record exposes an HTTP endpoint.

mcp_server instance-attribute

mcp_server: NotRequired[McpServerDescriptor]

The MCP server descriptor, populated when the record type is MCP.