aegis protocol for LangChain
io.github.im-sham/aegis-protocol
Trustless escrow for AI agent-to-agent transactions on Base L2 with ERC-8004 identity and USDC.
client:LangChain
transport:stdio
runtime:npm
Install aegis protocol in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"aegis-protocol": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@aegis-protocol/mcp-server"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs