databendlabs/databend

Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3.

What it solves

Databend tackles the problem of maintaining separate systems for analytics, search, and AI agent workloads. Instead of syncing data between a SQL warehouse, a vector database, and a search engine, Databend lets you run all three on the same tables in one Rust-based warehouse. This removes the need for a second system to sync and simplifies the data stack for tasks like analytics, retrieval-augmented generation (RAG), and agent orchestration.

How it works

Databend is built in Rust and stores data on object storage (S3, Azure, GCS) with elastic compute that scales separately from storage. It provides a SQL interface for analytics, vector search (for similarity queries), and full-text search, all operating on the same table. Key mechanisms include:

  • One warehouse, multiple workloads: A single table can have an inverted index for full-text search and a vector index for cosine-distance queries, plus standard SQL analytics.
  • Git-like branching: It offers data versioning similar to Git, so agents can experiment safely on production snapshots without affecting the main dataset.
  • Sandboxed Python UDFs: You can define Python functions that become SQL-callable, letting you embed agent logic (LLM calls, tool use, reasoning) directly in SQL queries. This runs in isolated sandboxes managed by a separate compute plane.
  • Orchestration via SQL: Once UDFs are defined, you can orchestrate agents by calling them in SELECT statements or applying them across a tasks table.

The architecture has three planes: a control plane for scheduling and permissions, an execution plane (Databend itself) for SQL orchestration and issuing requests via Arrow Flight, and a compute plane of sandbox workers that run the agent logic.

Who it's for

Databend is aimed at teams and developers who need an enterprise-scale data warehouse that also supports AI workloads. It's suitable for:

  • Data engineers and analysts who want one system for analytics and BI.
  • AI engineers building RAG pipelines that combine vector and full-text search.
  • Developers building AI agents that need safe experimentation and production data access.
  • Organizations that want to reduce infrastructure complexity and cost by avoiding separate search and vector databases.

Highlights

  • Unified workloads: SQL analytics, vector search, and full-text search on the same tables.
  • Agent-ready: Sandboxed Python UDFs plus SQL orchestration, with branching for safe agent experiments.
  • Enterprise scale: Fast vectorized engine, elastic compute on object storage, and published benchmark results showing speed and cost advantages over Snowflake.
  • Easy start: Both a managed cloud offering and a self-hosted Docker image with a simple quick-start.
  • Open source: Licensed under Apache 2.0, with a small set of enterprise features under Elastic 2.0.

Related

  • Project
  • Project
  • Project
  • Project
  • Project