Back to directory
databendlabs avatar

databend

Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3.. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/databendlabs/databend.git

9,423

Stars

895

Forks

91

Watchers

NOASSERTION

License

Databend

Enterprise Data Warehouse for AI Agents

Large-scale analytics, vector search, full-text search — with flexible agent orchestration and secure Python UDF sandboxes. Built for enterprise AI workloads.


databend

💡 Why Databend?

Databend is an open-source enterprise data warehouse built in Rust.

Core capabilities: Analytics, vector search, full-text search, auto schema evolution — unified in one engine.

Agent-ready: Sandbox UDFs for agent logic, SQL for orchestration, transactions for reliability, branching for safe experimentation on production data.

📊 Core Engine
Analytics, vector search, full-text search, auto schema evolution, transactions.
🤖 Agent-Ready
Sandbox UDF + SQL orchestration. Build and run agents on your enterprise data.
🏢 Enterprise Scale
Elastic compute, cloud native. S3/Azure/GCS.
🌿 Branching
Git-like data versioning. Agents safely operate on production snapshots.

Databend Architecture

⚡ Quick Start

Start for free on Databend Cloud — Production-ready in 60 seconds.

2. Local (Python)

Ideal for development and testing. Requires Python 3.12 or 3.13 and databend-driver 0.34.0 or later:

pip install "databend-driver[local]>=0.34.0"
from databend_driver import connect

conn = connect("databend+local:///./local-state")
print(conn.query_row("SELECT 'Hello, Databend!'").values())

3. Docker

Run the full warehouse locally:

docker run -p 8000:8000 datafuselabs/databend

🤖 Agent-Ready Architecture

Databend's Sandbox UDF enables flexible agent orchestration with a three-layer architecture:

  • Control Plane: Resource scheduling, permission validation, sandbox lifecycle management
  • Execution Plane (Databend): SQL orchestration, issues requests via Arrow Flight
  • Compute Plane (Sandbox Workers): Isolated sandboxes running your agent logic
-- Define your agent logic
CREATE FUNCTION my_agent(input STRING) RETURNS STRING
LANGUAGE python HANDLER = 'run'
AS $$
def run(input):
    # Your agent logic: LLM calls, tool use, reasoning...
    return response
$$;

-- Orchestrate agents with SQL
SELECT my_agent(question) FROM tasks;

🚀 Use Cases

  • AI Agents: Sandbox UDF + SQL orchestration + branching for safe operations
  • Analytics & BI: Large-scale SQL analytics — Learn more
  • Search & RAG: Vector + full-text search — Learn more

🤝 Community & Support

Contributors are immortalized in the system.contributors table 🏆

📄 License

Apache 2.0 + Elastic 2.0 | Licensing FAQ


Enterprise warehouse, agent ready
🌐 Website • 🐦 Twitter

Releases

v1.2.925-patch-10

Pre-release

Aug 25, 2026

Download .zip

Full Changelog: v1.2.935-nightly...v1.2.925-patch-10

v1.2.935-nightly

Pre-release

Aug 24, 2026

Download .zip

What's Changed Exciting New Features ✨

feat(query): add enable_materialized_view_rewrite setting by @sundy-li in #20336 feat(query): reaggregate aggregate MV blocks on compact by @sundy-li in #20340...

v1.2.925-patch-9

Pre-release

Aug 20, 2026

Download .zip

Full Changelog: v1.2.934-nightly...v1.2.925-patch-9

v1.2.934-nightly

Pre-release

Aug 19, 2026

Download .zip

What's Changed Exciting New Features ✨

feat(query): materialized view support rewrite rule by @b41sh in #20302 feat(query): refresh lineage for existing views by @youngsofun in #20315 feat(query): m...

v1.2.925-patch-8

Pre-release

Aug 18, 2026

Download .zip

Full Changelog: v1.2.933-nightly...v1.2.925-patch-8