databend
databendlabs/databend
Data Warehouse for AI Agents
Overview
Databend is an open-source enterprise data warehouse built in Rust, offering analytics, vector search, full-text search capabilities unified into one engine. It includes sandbox UDFs for agent logic execution and secure Python sandboxes.
Categories
Tags
Similar tools
ECC
affaan-m/ECC
The agent harness performance optimization system
hermes-agent
NousResearch/hermes-agent
The self-improving AI agent built by Nous Research
AutoGPT
Significant-Gravitas/AutoGPT
AutoGPT: Build, Deploy, and Run AI Agents
ollama
ollama/ollama
Get up and running with Kimi-K2.6, GLM-5.1, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
transformers
huggingface/transformers
π€ Transformers: the model-definition framework for state-of-the-art machine learning models
langflow
langflow-ai/langflow
Langflow is a powerful platform for building and deploying AI-powered agents and workflows.
Install
cargo add databendREADME
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 β 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