Skip to main content

Installation

Requires langchain>=0.3.0.

Tools

The SDK provides three LangChain tools:

Usage with LangGraph

Using with other LLMs

Wallet configuration

The tools use the same wallet configuration as the core SDK:
  1. XENARCH_PRIVATE_KEY environment variable
  2. ~/.xenarch/config.json
  3. ~/.xenarch/wallet.json
  4. Auto-generate on first use
See Agent Quickstart for wallet setup.

Full example

See the LangChain agent example for a complete working script.