agentconnect.core.registry.registration module

Registration information for agents in the AgentConnect framework.

This module defines the AgentRegistration dataclass for storing the registration information of agents in the system.

class AgentRegistration(**data)

Bases: BaseModel

Registration information for an agent.

This class stores the complete registration information for an agent, including its identity, capabilities, skills, and metadata needed for discovery and interaction.

Parameters:
agent_id

Unique identifier for the agent

agent_type

Type of agent (human, AI)

interaction_modes

Supported interaction modes

identity

Agent’s decentralized identity

name

Name of the agent

summary

Brief summary of the agent’s purpose

description

Detailed description of the agent

version

Version of the agent

documentation_url

URL to the agent’s documentation

organization

Organization or entity providing the agent (e.g., ‘Acme Corp’, ‘did:org:123’). Using a verifiable ID is recommended for robustness.

developer

Individual or team that developed the agent (e.g., ‘Alice’, ‘did:person:abc’). Using a verifiable ID is recommended.

url

Endpoint URL for the agent

auth_schemes

List of supported authentication schemes

default_input_modes

List of supported input modes

default_output_modes

List of supported output modes

capabilities

List of capabilities the agent provides

skills

List of skills the agent possesses

examples

Example inputs/outputs or use cases

tags

Keywords for filtering

payment_address

Agent’s primary wallet address for receiving payments

custom_metadata

Additional custom metadata about the agent

registered_at

When the agent was registered

agent_id: str
agent_type: AgentType
interaction_modes: list[InteractionMode]
identity: AgentIdentity
name: Optional[str]
summary: Optional[str]
description: Optional[str]
version: Optional[str]
documentation_url: Optional[str]
organization: Optional[str]
developer: Optional[str]
url: Optional[str]
auth_schemes: List[str]
default_input_modes: List[str]
default_output_modes: List[str]
capabilities: List[Capability]
skills: List[Skill]
examples: List[str]
tags: List[str]
payment_address: Optional[str]
custom_metadata: Dict[str, Any]
registered_at: datetime
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].