Skip to content

Overview

The Exnest AI SDK provides a unified interface for interacting with various AI models and the Exnest Brain Core. It simplifies the process of integrating AI capabilities into your applications, offering consistent APIs for chat, text generation, and advanced decision-making features.

  • Unified API: Access multiple AI providers (OpenAI, Google Gemini, Anthropic Claude, etc.) through a single API.
  • Full TypeScript Support: Complete TypeScript definitions included.
  • Flexible Authentication: Support for both API key in request body and Authorization header.
  • Built-in Retry Logic: Automatic retry mechanism with exponential backoff.
  • Comprehensive Error Handling: Standardized error responses and handling.
  • Streaming Support: Real-time response streaming capabilities.
  • Model Management: List and retrieve information about available models.
  • Configuration Options: Customizable timeout, retries, and other options.
  • n8n Compatible: Works seamlessly with n8n and other tools using Bearer token authentication.
  • Universal Connector: Works with both Exnest API keys and official provider API keys.
  • Exnest Brain Core (EBC): Access advanced features like Deep Think, Structured Decision, and Delegation.

The Node.js SDK (@exnest-dev/ai) is perfect for building server-side applications, serverless functions, and CLI tools.