DEON ORINA NYABWENGI's picture

DEON ORINA NYABWENGI

chinesemusk
·

AI & ML interests

Deep learning, Reinforcement learning, Natural language processing

Recent Activity

Organizations

Hugging Face Discord Community's profile picture

chinesemusk's activity

reacted to daavoo's post with 👍 1 day ago
view post
Post
1985
Another day, another release in
⭐https://github.com/mozilla-ai/any-agent ⭐

You can now use MCP (Model Context Protocol) tools via SSE (Server-Sent Events):

from any_agent import AgentConfig, AnyAgent
from any_agent.config import MCPSseParams

agent = AnyAgent.create(
    "smolagents",
    AgentConfig(
        model_id="gpt-4o-mini",
        tools=[
            MCPSseParams(
                url="http://localhost:8000/sse"
            ),
        ]
    )
)
agent.run("What do MCP and SSE mean?")


See SuperGateway for an easy way to turn a Stdio server into an SSE server.