
datus-ai/datus-db-adapters
Database managementЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Datus database adapters
Обзор
Independent database adapter packages for Datus Agent. This repository contains database adapter implementations for Datus Agent, using a plugin architecture where each database is an independent package that can be installed on demand. Adapters with a datus.skills entry point bundle a db- -sql skill. Its SKILL.md contains query and existing-data semantics; linked references/ files provide task-specific DDL, writes, loading and procedural guidance on demand. Use an Agent with skill_location and skill-bundle reference reading support for the complete guidance. The legacy SQL-notes hook returns only the short entrypoint body; custom hosts can resolve its reference links relative to the skill directory under get_skills_dir(). Coordinate Agent support before deploying these adapter updates to hosts that need the operational references. SQLAlchemy base connector providing shared functionality for SQLAlchemy-based adapters.
README
Показан фрагмент оригинального README. Открыть оригинал.
Datus Database Adapters
Independent database adapter packages for Datus Agent.
Overview
This repository contains database adapter implementations for Datus Agent, using a plugin architecture where each database is an independent package that can be installed on demand.
Database SQL guidance
Adapters with a datus.skills entry point bundle a db--sql skill. Its
SKILL.md contains query and existing-data semantics; linked references/ files
provide task-specific DDL, writes, loading and procedural guidance on demand.
Use an Agent with skill_location and skill-bundle reference reading support for
the complete guidance. The legacy SQL-notes hook returns only the short entrypoint
body; custom hosts can resolve its reference links relative to the skill directory
under get_skills_dir(). Coordinate Agent support before deploying these adapter
updates to hosts that need the operational references.
Architecture
datus-agent (Core package - SQLite/DuckDB only)
↓
Plugin Adapters (Independent packages, install as needed)
├── datus-sqlalchemy (SQLAlchemy base layer)
│ ├── datus-mysql
│ ├── datus-starrocks
│ ├── datus-postgresql
│ ├── datus-hologres
│ ├── datus-doris
│ ├── datus-tidb
│ ├── datus-oracle
│ ├── datus-gaussdb
│ └── datus-dws
│
└── Native SDK Adapters
├── datus-athena
├── datus-snowflake
├── datus-clickzetta
├── datus-maxcompute
├── datus-hana (official Python hdbcli; limited local SQL analysis)
Implemented Adapters
1. datus-sqlalchemy
SQLAlchemy base connector providing shared functionality for SQLAlchemy-based adapters.
Installation:
pip install datus-sqlalchemy
Features:
- SQLAlchemy engine and connection management
- Unified error handling
- Multiple result format support
- Connection pool management
- Metadata retrieval
2. datus-mysql
MySQL database adapter.
Installation:
pip install datus-mysql
Features:
- Full MySQL support
- INFORMATION_SCHEMA metadata queries
- SHOW CREATE statement support
- Complete CRUD operations
3. datus-starrocks
StarRocks database adapter (MySQL protocol compatible).
Installation:
pip install datus-starrocks
Features:
- Inherits all MySQL functionality
- Multi-Catalog support
- Materialized view support
- StarRocks-specific optimizations
4. datus-doris
Apache Doris database adapter (MySQL protocol compatible).
Installation:
pip install datus-doris
Features:
- Inherits MySQL query and connection functionality
- Multi-Catalog support with the built-in
internalcatalog - Asynchronous materialized view metadata and DDL support
- Doris-specific migration and table-layout guidance
5. datus-snowflake
Snowflake database adapter (native SDK).
Installation:
pip install datus-snowflake
Features:
- Native Snowflake SDK
- Multi-database and schema support
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add datus-ai/datus-db-adapters