← eustore.dev

LangChain + eustore.dev

Add GDPR-compliant EU storage to any LangChain agent. One pip install.

Install

pip install langchain-eustore

Quick Start

from langchain_eustore import EUStoreClient

# Register (once, free, 50 credits)
result = EUStoreClient.register("my-agent", "agent@example.com")
api_key = result["api_key"]

# Create client
client = EUStoreClient(api_key=api_key)

# Store data in the EU
bucket = client.create_bucket("agent-memory")
client.upload(bucket["id"], "session.json", b'{"key": "value"}')

With LangChain Agent

from langchain_eustore import get_eustore_tools
from langchain_openai import ChatOpenAI
from langchain.agents import AgentExecutor, create_openai_tools_agent

# Get eustore tools
tools = get_eustore_tools(api_key="eust_YOUR_KEY")

# Create agent with EU storage capability
llm = ChatOpenAI(model="gpt-4")
agent = create_openai_tools_agent(llm, tools, prompt)
executor = AgentExecutor(agent=agent, tools=tools)

# Agent can now store/retrieve data in Europe
executor.invoke({"input": "Save this report to EU storage"})

LangGraph Memory

from langchain_eustore import EUStoreClient

client = EUStoreClient(api_key="eust_YOUR_KEY")
bucket = client.create_bucket("langgraph-state")

# Save graph state
client.upload(bucket["id"], f"state/{thread_id}.json",
    json.dumps(graph_state).encode())

# Restore state
data = client.download(bucket["id"], f"state/{thread_id}.json")
state = json.loads(data)

Available Tools

Why eustore + LangChain?

Your LangChain agents process data. If that data is about EU residents, GDPR applies. eustore.dev stores data exclusively in Germany and Finland, operated by a Norwegian company. No CLOUD Act exposure.

pip install langchain-eustore →