Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

databricks-langchain

0.23.0ActivePythie’s Index: 84

Support for Databricks AI support in LangChain

Actively maintained. Last release 11 days ago. A safe choice.

LLMs & Generative AICloud SDKs & Services
$pip install databricks-langchain
PyPI

🦜🔗 Databricks LangChain Integration

The databricks-langchain package provides seamless integration of Databricks AI features into LangChain applications. This repository is now the central hub for all Databricks-related LangChain components, consolidating previous packages such as langchain-databricks and langchain-community.

Installation

From PyPI

pip install databricks-langchain

From Source

pip install git+https://git@github.com/databricks/databricks-ai-bridge.git#subdirectory=integrations/langchain

Key Features

  • LLMs Integration: Use Databricks-hosted large language models (LLMs) like Llama and Mixtral through ChatDatabricks.
  • Vector Search: Store and query vector representations using DatabricksVectorSearch.
  • Embeddings: Generate embeddings with DatabricksEmbeddings.
  • Genie: Use Genie in Langchain.
  • Deep Agents Sandbox: Run Deep Agents shell and filesystem tools inside a Databricks sandbox with DatabricksSandbox (install databricks-langchain[deepagents]).
  • Sandbox Tool: Run shell commands in a Databricks sandbox from any LangChain or LangGraph agent with DatabricksSandboxTool (install databricks-langchain[sandbox]).
  • Sandbox Session: Provision, wait for, and auto-delete a sandbox for that tool with the DatabricksSandboxSession context manager, keeping sandbox lifecycle in your application rather than the model.

Getting Started

Use LLMs on Databricks

from databricks_langchain import ChatDatabricks

llm = ChatDatabricks(endpoint="databricks-meta-llama-3-1-70b-instruct")

Use a Genie Space as an Agent (Preview)

Note: Requires Genie API Private Preview. Contact your Databricks account team for enablement.

from databricks_langchain.genie import GenieAgent

genie_agent = GenieAgent(
    "space-id", "Genie",
    description="This Genie space has access to sales data in Europe"
)

Contribution Guide

We welcome contributions! Please see our contribution guidelines for details.

License

This project is licensed under the MIT License.

Thank you for using Databricks LangChain!

Popularity

Downloads / month
567.5K
GitHub stars
–
Downloads, last 7 days
126.4K+10%
Stars, last 7 days
–
Direct dependents
6
All dependents
7

Pythie’s Index

How it works
84

Healthy

Maintenance, out of 100

  • Recent release

    last release 10 days ago

  • Commit activity

    no repository data, estimated from releases

  • Release cadence

    14 releases in 12 months

  • Issues & PRs handled

    no data

  • Contributor spread

    no data

  • OpenSSF Scorecard

    not evaluated

Releases

Latest
0.23.0
Released
Nov 19, 2026
Releases, 12 months
14
First release
Oct 28, 2024

Compatibility

Requires Python
>=3.10
License
Apache-2.0 (Permissive)

Works well with

Use together with databricks-langchain: extensions, drivers, servers and companion tools.

  • langchainPythie’s Index: 88Building applications with LLMs through composability156.5M downloads/mo
  • langgraphPythie’s Index: 85Building stateful, multi-actor applications with LLMs61.5M downloads/mo
  • databricks-agentsPythie’s Index: 84Mosaic AI Agent Framework SDK4.9M downloads/mo
  • databricks-ai-bridgePythie’s Index: 84Official Python library for Databricks AI support1.9M downloads/mo