Skip to content
LangChain

agent comm for LangChain

io.github.keshrath/agent-comm

Agent intercommunication - messaging, channels, shared state, and real-time events

client:LangChain transport:stdio runtime:npm

Install agent comm in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agent-comm": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "agent-comm"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

agent comm in other clients