From nothing to a running pipeline.
You need a storage endpoint, a loader, and a recipe. The first command stands up your own S3 gateway — an AI assistant does the install, the account registration, and the credential provisioning. The rest is ordinary Python.
1 — stand up storage, by asking for it
claude mcp add relayer -- npx @xns-cloud/relayer-mcp@latest
Then ask it to “set up XNS storage.” It checks prerequisites, registers the account, installs and starts the gateway on your Docker host, provisions S3 credentials, and writes ~/.xns/credentials. If you would rather run the compose file yourself, relayer-quickstart does the same job with docker compose up -d.
2 — install the loader
pip install langchain-xns
3 — load a bucket into LangChain
# no endpoint, no keys — step 1 wrote the credentials file
from langchain_xns import XNSLoader
docs = XNSLoader("corporate-strategy", suffixes=(".md",)).load()
That is the whole setup. From here, every recipe below is a git clone and a python command away.