← 开源
Datus-ai

Datus-agent

The Future of Data Engineering — A CLI SQL client for the modern data stack, enabling AI-native context engineering for data.

AI EngineeringGive agent knowledgePython
在 GitHub 打开
增长势头
+124 小时新增 Star+0.1%
1.86k
Star
275
Fork
+14
本周
21
贡献者
创建于 2025-07-04 · 更新于 2026-10-16 · 今日第 5283 名
主要开发者

Datus-ai/Datus-agent 排名第 5,283,有 1,856 个星标。

同类别比较

Datus-ai/Datus-agent 排名第 5,283,此处有 8 个同类条目;abinthomasonline/repo2txt 排名第 5,290。

同类别比较
名称排名指标
hyperbrowserai/hyperbrowser-app-examples5,246
语言:
TypeScript
星标数:
1,943
分叉数:
234
简介:
This repo contains fully functional Hyperbrowser powered web apps
ANYbotics/elevation_mapping5,263
语言:
C++
星标数:
1,890
分叉数:
509
简介:
Robot-centric elevation mapping for rough terrain navigation
Kosinkadink/ComfyUI-VideoHelperSuite5,265
语言:
Python
星标数:
1,879
分叉数:
388
简介:
Nodes related to video workflows
YouMind-OpenLab/nano-banana-pro-prompts-recommend-skill5,267
语言:
TypeScript
星标数:
1,878
分叉数:
201
abinthomasonline/repo2txt5,290
语言:
TypeScript
星标数:
1,838
分叉数:
222
简介:
Web-based tool converts GitHub repository contents into a single formatted text file
AgibotTech/agibot_x1_infer5,291
语言:
C++
星标数:
1,837
分叉数:
539
简介:
The inference module for AgiBot X1.
google-labs-code/stitch-sdk5,295
语言:
TypeScript
星标数:
1,832
分叉数:
134
简介:
Generate UI screens from text prompts and extract their HTML and screenshots programmatically.
Core-Mate/OpenGUI5,299
语言:
HTML
星标数:
1,817
分叉数:
114
简介:
OpenGUI is an Android GUI agent framework for phone-use AI that can see, plan, and operate real mobile apps through the GUI.
关键参数与规格
关键参数与规格
参数值
语言Python
类别AI Engineering
子类别Give agent knowledge
关键词Data processing
星标数1,856
分叉数275
贡献者21
创建日期2025-07-04
更新日期2026-10-16
1 天星标数1
7 天星标数14
排名5,283
上次排名5,452
排名变化169
7 天星标排名3,344
上次 7 天星标排名3,363
7 天星标排名变化19
总星标排名6,768
上次总星标排名6,763
总星标排名变化-5
README 摘录

Datus handles SQL authoring and validation, semantic model and metric construction, and the generation of pipelines, reports, and dashboards. Every run and every correction settles into context, which steadily raises the accuracy of its output. The whole stack stays open and flexible: databases, BI, schedulers, LLMs, and your team's own tools all connect through standard interfaces. Architecture The diagram reads top to bottom: who uses Datus, what the agent is made of, and what it connects to. **Three entry points

, by role**: data engineers work in Datus-CLI to explore data and build assets; analysts ask through Datus-Chat on the web, in Slack/Feishu, or in VS Code, and their feedback flows back into the agent; other agents and applications consume Datus-API over REST and MCP. **The agent core**: subagents package curated context, tools, and rules for one business domain, and skills add packaged tools. Underneath sits the context engine: metadata, metrics, reference SQL, knowledge, and local files

, retrieved through business-domain trees plus vector search, with storage on embedded LanceDB and SQLite and PostgreSQL for teams that share context. **Connected systems**: LLM providers, data warehouses, job schedulers, BI tools, and MCP servers and clients connect through adapters and plugins. The Dosi semantic engine is built into the agent. Features Semantic layer **Automated semantic modeling**: the agent reads your database schema and SQL history, then generates OSI semantic models and metric definitions, with no hand-written YAML. **Dosi

execution engine**: compiles one semantic model into SQL for 13+ database dialects, and ships as an independent program you can also run as a CLI, REST server, or MCP server. **Metric Q&A and attribution**: AskMetrics answers business questions from metric definitions instead of improvising SQL, and when a metric moves, dimension attribution locates which dimension drove the change. Agent and context **Sharper with use**: the context engine gathers schemas, reference SQL, and business rules, and writes every correction back

, so later answers keep getting more accurate. **Subagent delivery**: curate context, tools, and rules for one domain, package them as a dedicated chatbot, and serve it to analysts over web, API, MCP, Slack/Feishu, or VS Code. **Data engineering automation**: built-in subagents handle cross-database migration, ETL job generation, and wide-table builds, with Airflow orchestration and Superset/Grafana dashboard read-write. **Report and dashboard generation**: produce self-contained HTML reports and interactive dashboards straight from chat, previewed locally

with no SaaS backend. Openness and governance **Open ecosystem**: adapters for 21 databases, 10+ LLM providers, and an MCP server and client. **External integrations**: the plugin framework connects third-party platforms and in-house tools to the agent; one manifest declares CLI commands, skills, and prompt context, with per-project activation. **Skills**: packaged tools following the agentskills. io convention, installable from a marketplace. **Enterprise governance**: tiered permission profiles, statement-level SQL authorization with AI pre-review, bash confined to an

OS-level sandbox, and traces exportable to any OTLP platform. Quickstart Linux x86_64/aarch64 (glibc 2. 28+) or Apple

常见问题

记录了多少星标和分叉?

Datus-ai/Datus-agent 有 1,856 个星标和 275 个分叉。

仓库排名是多少?

Datus-ai/Datus-agent 排名第 5,283。

记录的语言和类别是什么?

Datus-ai/Datus-agent 有 1,856 个星标,语言为 Python,类别为 AI Engineering。

哪个仓库排名最接近?

Datus-ai/Datus-agent 与 abinthomasonline/repo2txt 比较,后者排名第 5,290,有 1,838 个星标。

README

Datus · Open-Source Data Engineering Agent

Website · Docs · Quick Start · Dosi · Release Notes

English | 简体中文


Datus is the open-source data engineering agent for the modern data stack: one agent that connects your warehouse, catalog, semantic layer, and BI, grounded in an evolvable context engine your team owns.

Datus handles SQL authoring and validation, semantic model and metric construction, and the generation of pipelines, reports, and dashboards. Every run and every correction settles into context, which steadily raises the accuracy of its output. The whole stack stays open and flexible: databases, BI, schedulers, LLMs, and your team's own tools all connect through standard interfaces.

Architecture

The diagram reads top to bottom: who uses Datus, what the agent is made of, and what it connects to.

  • Three entry points, by role: data engineers work in Datus-CLI to explore data and build assets; analysts ask through Datus-Chat on the web, in Slack/Feishu, or in VS Code, and their feedback flows back into the agent; other agents and applications consume Datus-API over REST and MCP.
  • The agent core: subagents package curated context, tools, and rules for one business domain, and skills add packaged tools. Underneath sits the context engine: metadata, metrics, reference SQL, knowledge, and local files, retrieved through business-domain trees plus vector search, with storage on embedded LanceDB and SQLite and PostgreSQL for teams that share context.
  • Connected systems: LLM providers, data warehouses, job schedulers, BI tools, and MCP servers and clients connect through adapters and plugins. The Dosi semantic engine is built into the agent.

Features

Semantic layer

  • Automated semantic modeling: the agent reads your database schema and SQL history, then generates OSI semantic models and metric definitions, with no hand-written YAML.
  • Dosi execution engine: compiles one semantic model into SQL for 13+ database dialects, and ships as an independent program you can also run as a CLI, REST server, or MCP server.
  • Metric Q&A and attribution: AskMetrics answers business questions from metric definitions instead of improvising SQL, and when a metric moves, dimension attribution locates which dimension drove the change.

Agent and context

  • Sharper with use: the context engine gathers schemas, reference SQL, and business rules, and writes every correction back, so later answers keep getting more accurate.
  • Subagent delivery: curate context, tools, and rules for one domain, package them as a dedicated chatbot, and serve it to analysts over web, API, MCP, Slack/Feishu, or VS Code.
  • Data engineering automation: built-in subagents handle cross-database migration, ETL job generation, and wide-table builds, with Airflow orchestration and Superset/Grafana dashboard read-write.
  • Report and dashboard generation: produce self-contained HTML reports and interactive dashboards straight from chat, previewed locally with no SaaS backend.

Openness and governance

  • Open ecosystem: adapters for 21 databases, 10+ LLM providers, and an MCP server and client.
  • External integrations: the plugin framework connects third-party platforms and in-house tools to the agent; one datus-plugin.yml manifest declares CLI commands, skills, and prompt context, with per-project activation.
  • Skills: packaged tools following the agentskills.io convention, installable from a marketplace.
  • Enterprise governance: tiered permission profiles, statement-level SQL authorization with AI pre-review, bash confined to an OS-level sandbox, and traces exportable to any OTLP platform.

Quickstart

Linux x86_64/aarch64 (glibc 2.28+) or Apple Silicon macOS:

curl -fsSL https://raw.githubusercontent.com/datus-ai/datus-agent/main/install.sh | sh

Open a new shell and run datus, then:

  1. /model to configure an LLM
  2. /datasource to add a datasource
  3. /init (optional) to scan the current project

Manual install works too: pip install datus-agent (Python 3.12+ on the supported platforms above); more install options are covered in the Quickstart. When pip spends minutes backtracking through litellm releases (versions up to 0.3.9 are affected), uv resolves the same set in seconds: pip install uv && uv pip install datus-agent --system. The end-to-end tutorial demonstrates the full flow on a sample dataset. Configuration has two levels: a global agent.yml for the main settings, and a per-project .datus/config.yml for overrides such as the active model and default datasource (see the configuration docs).

Interfaces

The examples below use a datasource named demo; create one first with /datasource.

Interface Command Use Case
CLI (interactive REPL) datus --datasource demo Data engineers exploring data, building context, creating subagents
Web Chatbot (FastAPI + React) datus --web --datasource demo Analysts chatting with subagents via browser (http://localhost:8501)
REST API (FastAPI) datus-api --datasource demo Applications consuming data services via REST (http://localhost:8000)
MCP Server datus-mcp --datasource demo MCP-compatible clients (Claude Desktop, Cursor, etc.)
IM Gateway datus-gateway Analysts talking to subagents in Slack or Feishu/Lark
VS Code (Datus Studio) connects to datus --web Catalog explorer, chat panel, SQL results & AI charts in the IDE

Tip: Print mode streams JSON to stdout for scripting and CI: datus -p "your question" --datasource demo.

Development

Developing Datus

Start here to work on Datus itself: install dependencies with uv, then run the PR test harness and format checks before submitting.

uv sync                                                                    # Install dependencies
uv run python ci/run-pr-tests.py upstream/main                             # PR CI harness (no external deps)
uv run ruff format datus/ tests/ && uv run ruff check --fix datus/ tests/  # Lint & format

See CLAUDE.md for development conventions, architecture patterns, and testing rules.

Developing a plugin

Extending Datus does not require touching its core: declare CLI commands, skills, and prompt context in a datus-plugin.yml manifest, then pack it for distribution and per-project activation. The plugin development guide walks through the full flow.

License

Apache 2.0

排名相邻
同类项目