ai consensus for LangChain
io.github.thestevenjohnstone/ai-consensus
Standing review layer for coding agents: Claude, GPT and Gemini debate, return consensus + dissent.
client:LangChain
transport:stdio
runtime:npm
Install ai consensus in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"ai-consensus": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "ai-consensus-connector"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs