Skip to content

Commit d633c98

Browse files
zongzhi.czzclaude
andcommitted
Add RDSAI CLI to README as related tool
Add introduction and quick start guide for rdsai-cli project (https://github.com/aliyun/rdsai-cli) - an AI-powered database CLI that supports natural language queries for AliSQL and MySQL. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 4a45b4e commit d633c98

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,37 @@ We welcome contributions of all kinds!
197197

198198
For bugs and feature requests, please use [GitHub Issues](https://github.com/alibaba/AliSQL/issues).
199199

200+
## Related Tools
201+
202+
### RDSAI CLI — AI-Powered Database Assistant
203+
204+
<p>
205+
<a href="https://github.com/aliyun/rdsai-cli"><img src="https://img.shields.io/badge/GitHub-rdsai--cli-blue?style=flat-square&logo=github" alt="RDSAI CLI"></a>
206+
<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.13+-blue.svg?style=flat-square" alt="Python 3.13+"></a>
207+
</p>
208+
209+
[RDSAI CLI](https://github.com/aliyun/rdsai-cli) is a next-generation, AI-powered CLI that transforms how you interact with AliSQL and MySQL databases. Describe your intent in **natural language**, and the AI agent handles the rest.
210+
211+
```bash
212+
# Install
213+
curl -LsSf https://raw.githubusercontent.com/aliyun/rdsai-cli/main/install.sh | sh
214+
215+
# Connect and ask in natural language
216+
rdsai --host localhost -u root -p secret -D mydb
217+
mysql> analyze index usage on users table
218+
mysql> show me slow queries from the last hour
219+
mysql> why this query is slow: SELECT * FROM users WHERE name LIKE '%john%'
220+
```
221+
222+
**Key Features:**
223+
- Natural language to SQL conversion (English/中文)
224+
- AI-powered query optimization and diagnostics
225+
- Execution plan analysis with `Ctrl+E`
226+
- Multi-model LLM support (Qwen, OpenAI, DeepSeek, Anthropic, etc.)
227+
- Performance benchmarking with automated analysis
228+
229+
👉 **[Get Started with RDSAI CLI](https://github.com/aliyun/rdsai-cli)**
230+
200231
## Community & Support
201232

202233
<table>

README_zh.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,37 @@ AliSQL 于 2025 年 12 月正式开源,由阿里云数据库团队持续维护
197197

198198
如有 Bug 反馈或功能建议,请通过 [GitHub Issues](https://github.com/alibaba/AliSQL/issues) 提交。
199199

200+
## 相关工具
201+
202+
### RDSAI CLI — AI 驱动的数据库助手
203+
204+
<p>
205+
<a href="https://github.com/aliyun/rdsai-cli"><img src="https://img.shields.io/badge/GitHub-rdsai--cli-blue?style=flat-square&logo=github" alt="RDSAI CLI"></a>
206+
<a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.13+-blue.svg?style=flat-square" alt="Python 3.13+"></a>
207+
</p>
208+
209+
[RDSAI CLI](https://github.com/aliyun/rdsai-cli) 是新一代 AI 驱动的数据库命令行工具,让你可以用**自然语言**与 AliSQL 和 MySQL 数据库交互。AI 代理会帮你完成 SQL 生成、执行计划分析、诊断优化等工作。
210+
211+
```bash
212+
# 安装
213+
curl -LsSf https://raw.githubusercontent.com/aliyun/rdsai-cli/main/install.sh | sh
214+
215+
# 连接数据库,使用自然语言查询
216+
rdsai --host localhost -u root -p secret -D mydb
217+
mysql> 分析 users 表的索引使用情况
218+
mysql> 显示过去一小时的慢查询
219+
mysql> 为什么这个查询很慢: SELECT * FROM users WHERE name LIKE '%john%'
220+
```
221+
222+
**核心功能:**
223+
- 自然语言转 SQL(支持中英文)
224+
- AI 驱动的查询优化与诊断分析
225+
-`Ctrl+E` 即时分析执行计划
226+
- 多模型 LLM 支持(通义千问、OpenAI、DeepSeek、Anthropic 等)
227+
- 自动化性能基准测试与分析报告
228+
229+
👉 **[立即体验 RDSAI CLI](https://github.com/aliyun/rdsai-cli)**
230+
200231
## 社区与支持
201232

202233
<table>

0 commit comments

Comments
 (0)