Skip to content
LangChain

ONCE — Exactly-Once Reliability for AI Agent Actions for LangChain

io.github.gsterlingpress/once

Prevent duplicate AI-agent side effects with idempotency, verification, and durable receipts.

client:LangChain transport:streamable-http

Install ONCE — Exactly-Once Reliability for AI Agent Actions in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "once": {
            "transport": "streamable_http",
            "url": "https://optimistic-compassion-production.up.railway.app/mcp",
        }
})

tools = await client.get_tools()

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

ONCE — Exactly-Once Reliability for AI Agent Actions in other clients