a2a/__init__.py

pocketpaw · src/pocketpaw/a2a/__init__.py · python · MIT
ai, tag:embed-classified

Re-exports A2A protocol types and registers server routes, enabling agent-to-agent communication.

# Source: https://github.com/pocketpaw/pocketpaw | License: MIT | Copyright 2026 PocketPaw Team
# Provided via justclaw.it.com; keep this notice with the code.
# Agent-to-Agent (A2A) Protocol support for PocketPaw.
#
# Phase 1 — A2A Server: exposes PocketPaw as a remote A2A-compatible agent.
# Phase 2 — A2A Client: allows PocketPaw to delegate tasks to external agents.
# Phase 3 — A2A Registry: multi-agent orchestration and dashboard UI.

from pocketpaw.a2a.errors import JSONRPCError
from pocketpaw.a2a.models import (
    A2AMessage,
    AgentCard,
    AgentSkill,
    Artifact,
    DataPart,
    FilePart,
    JSONRPCRequest,
    JSONRPCResponse,
    Part,
    Task,
    TaskArtifactUpdateEvent,
    TaskSendParams,
    TaskState,
    TaskStatus,
    TaskStatusUpdateEvent,
    TextPart,
)
fro

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key