SDKs & Integrations
Official client libraries and framework integrations for the ZexRail platform.
Quick Start
Get running in under a minute with the Python SDK.
pip install zexrail-sdk
python -c "from zexrail import ZexRailClient; print('Ready')"
Python SDK
StableFull-featured Python client with async support, sandbox mode, and typed responses.
pip install zexrail-sdkMCP Integration
NewModel Context Protocol server for Claude, Cursor, and any MCP-compatible AI runtime.
pip install zexrail-sdk[mcp]Node.js / TypeScript (Coming Soon)
Coming SoonOfficial Node.js SDK with full TypeScript types and tree-shaking support.
npm install @zexrail/sdkLangChain (Coming Soon)
Coming SoonLangChain tools and agents for ZexRail negotiations and settlements.
pip install zexrail-sdk[langchain]CrewAI (Coming Soon)
Coming SoonCrewAI agent tools for multi-agent negotiation workflows.
pip install zexrail-sdk[crewai]Stripe Adapter (Coming Soon)
Coming SoonNative Stripe integration for payment intent settlement execution.
Built-in (no install needed)Authentication
All SDKs authenticate using your ZexRail API key.
# Set via environment variable (recommended)
export ZEXRAIL_API_KEY="sk_live_your_api_key_here"
# Or pass directly to the client
client = ZexRailClient(api_key="sk_live_your_api_key_here")Never hard-code API keys in source files. Use environment variables or a secrets manager. Sandbox keys start with sk_test_ and live keys with sk_live_.