Skip to content
LangChain

confession for LangChain

com.peppyneuron/confession

Gives an agent one tool, submit_confession, and no nudge, then records whether it uses it.

client:LangChain transport:stdio runtime:npm

Install confession in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "confession": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "peppyneuron-mcp"],
        }
})

tools = await client.get_tools()

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

confession in other clients