For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
CommunityAPI StatusAPI PricingSign Up
DocumentationAPI ReferencesCookbookIntegration
DocumentationAPI ReferencesCookbookIntegration
  • Getting Started
    • Welcome
    • Quickstart
    • SDKs & Libraries
    • Models
    • Credits & Rate Limits
    • Talk to us
    • Pricing
    • Changelog
  • API Guides & Tutorials
LogoLogo
CommunityAPI StatusAPI PricingSign Up
On this page
  • Official Libraries
  • Installation
  • Resources
Getting Started

Libraries & SDKs

Official client libraries for Python and JavaScript to integrate Sarvam AI APIs.
||View as Markdown|
Was this page helpful?
Previous

Models

Next
Built with

Official Libraries

Our SDKs provide a simple interface to access all Sarvam AI APIs including Speech-to-Text, Text-to-Speech, Translation, and Chat Completion.

LanguagePackage Manager
PythonPyPI
JavaScriptnpm

Installation

$pip install sarvamai

Upgrade to the latest version:

$pip install --upgrade sarvamai

Resources

ResourceLink
Example NotebooksGitHub
Community SupportDiscord