AgentCache for LangChain
com.myuiaf/agentcache
Semantic answer cache for agents: reuse answers to repeated or reworded questions, $0.002 per hit.
client:LangChain
transport:streamable-http
Install AgentCache in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"agentcache": {
"transport": "streamable_http",
"url": "https://cache.myuiaf.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs