https://github.com/databendlabs/databend
Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3.
https://github.com/databendlabs/databend
ai bigdata cloud-native database elasticsearch geospatial lakehouse olap rust serverless snowflake sql vector-database vector-search
Last synced: 1 day ago
JSON representation
Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3.
- Host: GitHub
- URL: https://github.com/databendlabs/databend
- Owner: databendlabs
- License: apache-2.0
- Created: 2020-10-10T06:04:42.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2026-11-22T18:06:55.000Z (9 days ago)
- Last Synced: 2026-11-22T20:53:42.462Z (8 days ago)
- Topics: ai, bigdata, cloud-native, database, elasticsearch, geospatial, lakehouse, olap, rust, serverless, snowflake, sql, vector-database, vector-search
- Language: Rust
- Homepage: https://docs.databend.com
- Size: 384 MB
- Stars: 9,504
- Watchers: 93
- Forks: 902
- Open Issues: 472
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-open-source-alternatives - Databend - Cloud data warehouse for analytics and AI (Search & Data)
- trackawesomelist - Databend (⭐7.7k) - A Modern Real-Time Data Processing & Analytics DBMS with Cloud-Native Architecture [](https://github.com/databendlabs/databend/actions/workflows/databend-release.yml) (Recently Updated / [Sep 27, 2024](/content/2024/09/27/README.md))
- awesome-rust - Databend - A Modern Real-Time Data Processing & Analytics DBMS with Cloud-Native Architecture [](https://github.com/databendlabs/databend/actions) (Applications / Database)
- fucking-awesome-rust - Databend - A Modern Real-Time Data Processing & Analytics DBMS with Cloud-Native Architecture [](https://github.com/databendlabs/databend/actions) (Applications / Database)
- github-ultimate-repos - databendlabs/databend - | ⭐ 9,479★ | 🍴 901 | 💻 `Rust`🔗 <https://github.com/databendlabs/databend>📝 Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3.⚙️ `Client connection pooling -> SQL parsing & cost-based query optimization -> WAL ahead logging -> MVCC concurrent execution -> in-memory buffer pool / LSM-tree flush.` (📜 Master Categorized Repository Directory (100% Clickable Links) / [37] DATABASE ENGINES, DISTRIBUTED SQL, NOSQL, VECTOR DBS & PERSISTENT CACHES)
- awesome-ccamel - databendlabs/databend - Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3. (Rust)
- my-awesome - databendlabs/databend - topic:ai,bigdata,cloud-native,database,elasticsearch,geospatial,lakehouse,olap,rust,serverless,snowflake,sql,vector-database,vector-search pushed\_at:2026-11 star:9.5k fork:0.9k Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3. (Rust)
- jimsghstars - databendlabs/databend - 𝗗𝗮𝘁𝗮, 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 & 𝗔𝗜. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com (Rust)
README
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.

## 💡 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. |

## ⚡ Quick Start
### 1. Cloud (Recommended)
[Start for free on Databend Cloud](https://docs.databend.com/guides/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:
```bash
pip install "databend-driver[local]>=0.34.0"
```
```python
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:
```bash
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
```sql
-- 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](https://docs.databend.com/guides/query/sql-analytics)
- **Search & RAG**: Vector + full-text search — [Learn more](https://docs.databend.com/guides/query/vector-db)
## 🤝 Community & Support
- [📖 Documentation](https://docs.databend.com/)
- [💬 Join Slack](https://link.databend.com/join-slack)
- [🐛 Issue Tracker](https://github.com/databendlabs/databend/issues)
- [🗺️ Roadmap](https://github.com/databendlabs/databend/issues/14167)
**Contributors are immortalized in the `system.contributors` table 🏆**
## 📄 License
Databend is licensed under [Apache 2.0](LICENSE). A small set of enterprise features is under [Elastic 2.0](licenses/Elastic.txt), see [LICENSING.md](LICENSING.md) | [Licensing FAQ](https://docs.databend.com/guides/products/dee/license)
---