Skip to content
LangChain

agentic device for LangChain

io.github.pooriaarab/agentic-device

Control your own iPhones for posting via WebDriverAgent and ESP32 HID.

client:LangChain transport:stdio runtime:npm

Install agentic device in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agentic-device": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "agentic-device"],
        }
})

tools = await client.get_tools()

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

agentic device in other clients