Overview of Spring AI Alibaba DataAgent Core Features
mainDataAgent is an enterprise-grade intelligent data analysis agent built on Spring AI Alibaba Graph. It goes beyond simple Text-to-SQL by providing deep analysis capabilities and automated reporting.
Key Capabilities
- Intelligent Data Analysis: Uses
StateGraphfor Text-to-SQL conversion, supporting complex multi-table queries and multi-turn dialogue. - Python Deep Analysis: Executes generated code within task-level containers using the Spring AI Alibaba Sandbox. It supports PEP 723 dynamic dependencies, resource limits, failure retries, and automatic cleanup.
- Smart Report Generation: Automatically summarizes analysis results into HTML/Markdown reports containing ECharts visualizations.
- Human-in-the-loop: Includes a feedback mechanism allowing users to intervene and adjust plans during the generation phase.
- RAG (Retrieval-Augmented Generation): Integrates with vector databases to perform semantic retrieval on business metadata and terminology, improving SQL accuracy.
- Multi-Model Orchestration: Features a model registry that allows runtime switching between different LLMs and Embedding models (compatible with OpenAI specifications, e.g., Qwen, Deepseek).
- MCP Server Support: Implements the Model Context Protocol, allowing DataAgent to act as a Tool Server for ecosystems like Claude Desktop, providing NL2SQL and agent management capabilities.
- API Key Management: Provides lifecycle management and fine-grained permission control for API keys.