"""ALP — Agent Language Protocol.

Peer-to-peer agent discovery and skill exchange for Alive.
"""

from alive.network.identity import get_or_create_identity, get_agent_card, set_alias
from alive.network.discovery import (
    PeerRegistry,
    get_peer_registry,
    start_discovery,
    connect_to_peer,
)
from alive.network.server import start_server
from alive.network.exchange import pull_skill, adapt_skill, describe_mutations
from alive.network.security import scan_for_risks
from alive.network.conversation_log import log_event, read_log

__all__ = [
    "get_or_create_identity",
    "get_agent_card",
    "set_alias",
    "PeerRegistry",
    "get_peer_registry",
    "start_discovery",
    "connect_to_peer",
    "start_server",
    "pull_skill",
    "adapt_skill",
    "describe_mutations",
    "scan_for_risks",
    "log_event",
    "read_log",
]
