SDKs & Libraries

Official SDKs and libraries for integrating INK into your applications.

Official SDKs

We maintain official SDKs for popular programming languages:

| Language | Package | Status | |----------|---------|--------| | JavaScript/TypeScript | @inkai/sdk | Stable | | Python | inkai | Stable | | PHP | inkai/sdk | Beta | | Go | github.com/inkai/go-sdk | Coming Soon |

Quick Links

Choosing an SDK

JavaScript SDK

Best for:

  • Next.js, React, Vue applications
  • Node.js backend services
  • Serverless functions
  • Browser-based integrations

Python SDK

Best for:

  • Data science and ML pipelines
  • Django and Flask applications
  • Automation scripts
  • Jupyter notebooks

REST API

Best for:

  • Languages without an official SDK
  • Custom implementations
  • Low-level control
  • Learning the API

SDK Features

All official SDKs include:

  • Full API coverage
  • TypeScript/type hints support
  • Automatic retries with exponential backoff
  • Request/response logging
  • Error handling utilities
  • Streaming support

Installation

JavaScript

npm install @inkai/sdk

Python

pip install inkai

Next Steps