Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3. https://docs.databend.com
  • Rust 95.6%
  • Python 2%
  • Shell 2%
  • C 0.1%
  • Jinja 0.1%
Find a file
Kould 2eefb6b96d
fix(bendpy): allow CSV stage views (#19798)
* fix(bendpy): allow CSV stage views

* test(bendpy): cover text stage view registration
2026-05-03 14:53:22 +00:00
.cargo
.config
.devcontainer
.github ci: simplify go client compat test source setup (#19791) 2026-04-29 06:39:46 +00:00
agents
benchmark
docker
licenses
scripts
src fix(bendpy): allow CSV stage views (#19798) 2026-05-03 14:53:22 +00:00
tests refactor(storage): compact/recluster flow and clustering stats derivation (#19754) 2026-04-30 11:00:08 +00:00
.editorconfig
.gitattributes
.gitignore
.typos.toml
.yamllint.yml
AGENTS.md
Cargo.lock feat(query): unify security policy cache with dialect key (#19767) 2026-04-27 10:22:41 +00:00
Cargo.toml chore: upgrade openraft alpha.18, databend-base 0.4.0, databend-meta 260312.9.0 / client 260205.6.0 (#19772) 2026-04-25 16:06:06 +08:00
clippy.toml
LICENSE
licenserc-ee.toml
licenserc.toml
Makefile
pyproject.toml
README.md
ruff.toml
rust-toolchain.toml
rustfmt.toml
taplo.toml
uv.lock

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:

pip install databend
import databend
ctx = databend.SessionContext()
ctx.sql("SELECT 'Hello, Databend!'").show()

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