Skip to content
LangChain

AgentFX for LangChain

io.github.agentfxhq/agentfx

Motion graphics and video effects your AI agent can script, lint, preview and render.

client:LangChain transport:stdio runtime:oci

Install AgentFX in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agentfx": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/agentfxhq/agentfx:0.1.1"],
        }
})

tools = await client.get_tools()

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

AgentFX in other clients