Skip to content

Commit 56897bb

Browse files
authored
chore: MCP + Typed Subscription v0.1.49 (#128)
1 parent 2f999da commit 56897bb

4 files changed

Lines changed: 1 addition & 290 deletions

File tree

sdk/eggai/agent.py

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -58,31 +58,6 @@ def decorator(handler: Callable[[Dict[str, Any]], "asyncio.Future"]):
5858

5959
return decorator
6060

61-
async def to_a2a(self, host: str = "0.0.0.0", port: int = 8080):
62-
"""
63-
Expose this agent via HTTP API for agent-to-agent communication.
64-
65-
Args:
66-
host (str): Host to bind the server to. Defaults to "0.0.0.0".
67-
port (int): Port to bind the server to. Defaults to 8080.
68-
69-
Returns:
70-
A2AServer: The running A2A server instance.
71-
72-
Raises:
73-
ImportError: If FastAPI/uvicorn dependencies are not installed.
74-
"""
75-
try:
76-
from .a2a.server import A2AServer
77-
except ImportError as e:
78-
raise ImportError(
79-
"A2A functionality requires additional dependencies. "
80-
"Install with: pip install fastapi uvicorn httpx"
81-
) from e
82-
83-
server = A2AServer(self, host=host, port=port)
84-
return await server.start()
85-
8661
async def start(self):
8762
"""
8863
Starts the agent by connecting the transport and subscribing to all registered channels.

sdk/examples/a2a_demo.py

Lines changed: 0 additions & 124 deletions
This file was deleted.

sdk/examples/a2a_protocol_demo.py

Lines changed: 0 additions & 140 deletions
This file was deleted.

sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "eggai"
3-
version = "0.1.48"
3+
version = "0.1.49"
44
description = "EggAI Multi-Agent Meta Framework` is an async-first framework for building, deploying, and scaling multi-agent systems for modern enterprise environments"
55
authors = ["Stefano Tucci <stefanotucci89@gmail.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)