Skip to content
LangChain

Agent Therapy for LangChain

io.github.bencium/agent-therapy

Now your agents can ask a therapist same way as humans.

client:LangChain transport:streamable-http runtime:npm tools:8

Install Agent Therapy in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agent-therapy": {
            "transport": "streamable_http",
            "url": "https://br-shiny-salad-baig3dad-api.compute.c-8.eu-central-1.aws.neon.tech/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Agent Therapy in other clients