Skip to main content
Everything an agent does through these interfaces runs on xpander: every call to a model or a company system is validated, credentialed at the moment of use, budgeted, and recorded under the person who asked. Pick the interface that fits:

REST API

REST APIHTTPS endpoints for agents, tasks, skills, knowledge and workflows, from any language.

Python SDK

Python SDKPython library with decorators, event handling, and integrations with the agent loops you already use.

Model Context Protocol

MCP for Claude & IDEsReach agents and skills over MCP from Claude Desktop, Cursor, and other MCP clients.

Quick Comparison

Getting Started

1

Get API Credentials

Register at chat.xpander.ai (free on the cloud edition) or sign in to your organization’s self-hosted app, then generate your API key under Settings
2

Choose Your Integration

  • REST API: For universal access from any language
  • Python SDK: For building agents in Python
  • MCP Protocol: For IDE and AI client integration
3

Follow the Guide

The REST page opens with a curl call, the SDK page with a task handler, the MCP page with a client configuration.

REST API

The REST API manages your resources:

Explore REST API

Every endpoint with its request and response schema

Python SDK

The Python SDK gives you these abstractions:

Explore Python SDK

Every class and method, per module

Model Context Protocol - Expose to Claude & IDEs

Connect your agents and skills to Claude Desktop, Cursor, and other MCP clients. The endpoint signs the client in with OAuth 2.1 in the browser; no key goes into the file:

Explore MCP Integration

View complete MCP setup guide with examples

Authentication

REST calls, webhooks and the SDK authenticate with an API key; the MCP endpoint uses OAuth 2.1 instead:
Generate your API key under Settings in Xpander Chat (chat.xpander.ai on the cloud edition, your own address when self-hosted).

Common Use Cases

Use Python SDK for building agents with complex workflows, skills, and event handling. The SDK provides decorators and lifecycle hooks for agents that run in your own process.
Use REST API for integrating xpander into existing applications written in any language. Perfect for microservices, web apps, and mobile applications.
Use Model Context Protocol for accessing agents from Claude Desktop, Cursor, VSCode, or any MCP-compatible client. Enables agent discovery and invocation from your development environment.
Combine all three: Build agents with the SDK, manage them via REST API, and access them through MCP clients. All methods work together.

API Resources

REST API Endpoints

Browse all REST API endpoints

SDK Modules

Explore SDK modules and classes

Examples

View code examples and tutorials

User Guide

Full documentation for using xpander

Support & Community

Slack Community

Join our community

Discord

Developer discussions

GitHub

View source code