Skip to content
LangChain

Chenji Affect for LangChain

io.github.zhiyu-dev/chenji-affect-mcp

Affect analysis, 3D avatar params, empathy hints and somatic emotion decode.

client:LangChain transport:streamable-http tools:4

Install Chenji Affect in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "chenji-affect-mcp": {
            "transport": "streamable_http",
            "url": "https://taichusjs.cn/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

Chenji Affect in other clients