Skip to content
LangChain

Visual Regression & Screenshot Diff for AI Agents for LangChain

io.github.faithdrivencreator/visual-diff-gate

Compare two web pages on desktop and phone: percent changed, changed regions, diff image, PASS/FAIL.

client:LangChain transport:streamable-http

Install Visual Regression & Screenshot Diff for AI Agents in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "visual-diff-gate": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com/?tools=fluidfaith/visual-diff-gate",
        }
})

tools = await client.get_tools()

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

Visual Regression & Screenshot Diff for AI Agents in other clients