skillfed

langchain-sambanova

An integration package connecting SambaNova and LangChain

langchain-sambanova v1.1.1 174.1K downloads/30d#10,288 on PyPI3
Permissive license MIT Active released

What it is and what it does

langchain-sambanova is a LangChain integration that exposes SambaNova's language models and embeddings through a unified Python interface. It abstracts away the details of connecting to either SambaCloud (managed cloud service) or SambaStack (self-hosted), letting you instantiate chat models like ChatSambaNova and embeddings like SambaNovaEmbeddings with minimal configuration—just set an API key and base URL as environment variables.

The package is built on top of langchain-core and the sambanova SDK, making it a thin adapter layer for developers who already work within the LangChain ecosystem and want to swap in SambaNova as their model provider. It supports modern Python versions (3.10 through 3.14) and has low install friction, with no compiled dependencies or heavy transitive chains.

Use it for:

  • Build a chatbot using SambaNova models within a LangChain application without writing custom API client code.
  • Embed documents and queries using SambaNova embeddings for retrieval-augmented generation (RAG) workflows.
  • Switch between SambaCloud and SambaStack deployments by changing environment variables without code changes.
  • Integrate SambaNova language models into multi-step LangChain agent pipelines.
  • Prototype LLM applications with SambaNova models before deploying to production infrastructure.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Connects LangChain applications to SambaNova's language models and embeddings through a unified interface supporting both SambaCloud and SambaStack deployments.

Yes, if you are already using LangChain and want to use SambaNova models. The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known vulnerabilities. It is a straightforward adapter with minimal dependencies. Install it if SambaNova is your chosen model provider; skip it if you use a different LLM backend.

Install

langchain-sambanova on PyPI

pip

pip install langchain-sambanova

uv

uv add langchain-sambanova

poetry

poetry add langchain-sambanova

Installing langchain-sambanova

Before you install

Low friction install with a pure Python wheel and only three runtime dependencies. Active maintenance with a recent commit on 2026-07-28 and releases within the past year.

License in practice

MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install langchain-sambanova

from langchain_sambanova import ChatSambaNova

llm = ChatSambaNova(model="Llama-4-Maverick-17B-128E-Instruct")
llm.invoke("Tell me a joke about artificial intelligence.")

Requires SAMBANOVA_API_KEY environment variable (and optionally SAMBANOVA_API_BASE for SambaStack users); Python 3.10 or later.

Verify before relying

  • Whether the package handles rate limiting or retry logic for SambaNova API calls.
  • Support for streaming responses or only synchronous invoke patterns.
  • Whether SambaCloud API key is freely available or requires account approval beyond signup.

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.10.0)
Install friction low — pure-Python wheel
Runtime dependencies 3 — langchain-core, sambanova, types-requests
Maintenance actively maintained — 57 days since the last release
Last repo commit
First released
Downloads 174,146/month — #10,288 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: langchain_sambanova-1.1.1-py3-none-any.whl

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

langchain sambanova integrationsambanova llm api wrapperchat models with sambanovaembeddings from sambanovalangchain ai model providersambanova language model connectorllm integration framework
llm-integrationlangchain-pluginembeddings

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

langchain-baseten

Integrates Baseten's chat models and embeddings…

permissive · top 15,000 on PyPI

langchain-together

Connects LangChain applications to Together…

permissive · top 15,000 on PyPI

langchain-oci

Integrates LangChain with Oracle Cloud…

unclear · top 15,000 on PyPI

langchain-cohere

Connects LangChain applications to Cohere's…

permissive · top 5,000 on PyPI

langchain-nvidia-ai-endpoints

Integrates NVIDIA AI Foundation Models and chat…

permissive · top 5,000 on PyPI

langchain-google-genai

Integrates Google's Gemini AI models (chat,…

permissive · top 5,000 on PyPI

langchain-ollama

Connects LangChain applications to Ollama,…

permissive · top 5,000 on PyPI

llama-index-embeddings-langchain

Integrates Langchain embedding models with…

permissive · top 15,000 on PyPI

langchain-google-vertexai

Connects LangChain applications to Google…

permissive · top 1,000 on PyPI

langchain-aws

Connects LangChain applications to AWS services…

permissive · top 5,000 on PyPI