explaingit

rajatsandeepsen/sarvam-adk

Analysis updated 2026-05-18

0TypeScriptAudience · developerComplexity · 2/5Setup · easy

TLDR

A plugin that lets developers use Sarvam AI's language models inside Google's ADK agent-building framework.

Mindmap

mindmap
  root((sarvam-adk))
    What it does
      Sarvam provider for ADK
      Connects models to agents
    Tech stack
      TypeScript
      Node.js
      npm
    Use cases
      Build agents with Sarvam models
      Swap model providers
    Audience
      ADK developers
    Setup
      Install two npm packages
      Add Sarvam API key

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Build an AI agent with Google's ADK framework that uses Sarvam's language models instead of Google's own.

USE CASE 2

Swap Sarvam models into an existing ADK agent setup with minimal code changes.

USE CASE 3

Prototype a chat assistant powered by Sarvam using the ADK command line tools.

What is it built with?

TypeScriptNode.jsnpm

How does it compare?

rajatsandeepsen/sarvam-adk0xradioac7iv/tempfsabboskhonov/hermium
Stars000
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasymoderatemoderate
Complexity2/53/54/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Requires a Sarvam API key from the Sarvam Dashboard.

In plain English

Sarvam ADK is a small TypeScript plugin that connects Sarvam's language models to Google's Agent Development Kit, known as ADK. ADK is a framework for building AI agents, and this project adds Sarvam as a model provider inside that framework, so developers who already use ADK can plug in Sarvam's models without switching tools. To use it, you install two packages with npm: sarvam-adk itself and Google's adk package. You also need an API key from the Sarvam Dashboard, which you save in a local .env file. From there, you create a simple agent file where you import the Sarvam class from this plugin along with the LlmAgent class from ADK. You define an agent with a name, tell it to use a Sarvam model such as sarvam-30b, and give it an instruction describing how it should behave, for example acting as a helpful assistant. Once the agent file is set up, you run it using the ADK command line tool, either through a web interface with npx adk web or directly from the terminal with npx adk run. This means no custom server code is needed to get a working agent talking to Sarvam's models. The README is short and focused entirely on installation and basic setup, pointing to Sarvam's own API documentation and ADK's TypeScript docs for anything beyond the basics. There is no description of specific use cases, limitations, or advanced configuration options, so this project should be understood as a thin connector piece rather than a full application. It is best suited for developers who are already building with Google's ADK framework and want an easy way to swap in Sarvam as their model of choice.

Copy-paste prompts

Prompt 1
Show me how to set up a basic ADK agent using the Sarvam provider from sarvam-adk.
Prompt 2
Help me write an agent.ts file that uses Sarvam's sarvam-30b model with ADK's LlmAgent.
Prompt 3
Explain how to get a Sarvam API key and configure it for use with sarvam-adk.
Prompt 4
Walk me through running an ADK agent locally with npx adk run using this plugin.

Frequently asked questions

What is sarvam-adk?

A plugin that lets developers use Sarvam AI's language models inside Google's ADK agent-building framework.

What language is sarvam-adk written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, npm.

How hard is sarvam-adk to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is sarvam-adk for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.