SDKs and APIs
Four surfaces reach the same tools: the Python and TypeScript SDKs, the Wexa MCP server and the REST API. Each has a short setup page. The pages around them cover identifiers, sign-in and discovery. Start with the surface you use.
- Python SDK: Install
wexaand call tools. - TypeScript SDK: Install
@wexa-fabric/sdkand call tools. - MCP clients: Connect Claude Desktop, Cursor or ChatGPT.
- REST: Call any tool with HTTP.
- Launcher and editor extension: Start Wexa from your editor.
- How every tool call works: Names, return shape, lifecycle, errors.
- Identifiers: Which id goes in which argument.
- OAuth 2.1: The authorization server endpoints.
- Identity: Read what your credential resolved to.
- Discovery: Health and connection information.
- Chat completions: An OpenAI-compatible agent endpoint.
- login: Start an SDK session.
- logout: End an SDK session.
- refresh-session: Trade a refresh token for a new pair.