Sprint 4: protocols package init
Browse files
purpose_agent/protocols/__init__.py
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Purpose Agent Protocols — Interoperability layer for v3.0.
|
| 3 |
+
|
| 4 |
+
Bridges Purpose Agent with external ecosystems:
|
| 5 |
+
- MCP: Model Context Protocol (agent ↔ tools)
|
| 6 |
+
- A2A: Agent-to-Agent protocol (agent ↔ agent)
|
| 7 |
+
- AG-UI: Agent-to-Frontend streaming protocol
|
| 8 |
+
- AGENTS.md: Repo-local agent instruction standard
|
| 9 |
+
- ANP: Agent Network Protocol (optional discovery)
|
| 10 |
+
|
| 11 |
+
All protocols are optional extras — no mandatory dependencies added.
|
| 12 |
+
"""
|
| 13 |
+
from purpose_agent.protocols.mcp_bridge import MCPToolBridge
|
| 14 |
+
from purpose_agent.protocols.a2a import AgentCard, A2AClient
|
| 15 |
+
from purpose_agent.protocols.agui import AGUIAdapter
|
| 16 |
+
from purpose_agent.protocols.agents_md import AgentsConfig, parse_agents_md
|
| 17 |
+
|
| 18 |
+
__all__ = [
|
| 19 |
+
"MCPToolBridge",
|
| 20 |
+
"AgentCard", "A2AClient",
|
| 21 |
+
"AGUIAdapter",
|
| 22 |
+
"AgentsConfig", "parse_agents_md",
|
| 23 |
+
]
|