# spring-ai-alibaba/DataAgent

Spring AI Alibaba DataAgent

Repository: https://github.com/spring-ai-alibaba/DataAgent
Canonical: https://ross.abutalabs.com/products/dataagent
Language: Java
License: Apache-2.0
License Family: permissive
Last push: 2026-08-24T05:45:32+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 95, longevity 25
- inputs: {"age_days": 355, "days_push": 9, "days_rel": 35, "gap_med": 19.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2550, forks 602 (observed 2026-08-28T04:07:00.468011+00:00)

## What it is
An enterprise-grade AI data analyst agent built on Spring AI Alibaba Graph that converts natural language to SQL, runs Python deep analysis in sandboxed containers, and generates chart-rich HTML/Markdown reports. It supports RAG over business metadata, pluggable vector databases, OpenAI-compatible models, and can serve as an MCP server.

## Use cases
- convert natural language questions into SQL queries
- build an AI data analyst for my company database
- generate charts and reports from database queries automatically
- run generated Python analysis code in a sandbox
- expose text-to-SQL as an MCP tool server
- improve SQL generation accuracy with a business glossary via RAG

## When to choose
- you're on the JVM/Spring stack and want an LLM-powered analytics agent
- you need text-to-SQL plus Python deep analysis and report generation in one system
- you want MCP integration and pluggable vector databases with OpenAI-compatible models

## When to avoid
- you need a lightweight library to embed rather than a full self-hosted application
- you're outside the Java/Spring ecosystem and don't want to run JDK 17+, MySQL, and Docker
- you only need simple single-table NL2SQL without agent workflows

## Facets
- artifact type: application
- maturity: active
- function: agent-framework, rag, llm-inference, mcp, data-visualization, database, chatbot
- domain: artificial-intelligence, data-science, databases, analytics, large-language-models
- platform: jvm, self-hosted
- tags: text-to-sql, nl2sql, spring-ai, data-analysis, echarts, human-in-the-loop, python-sandbox, openai-compatible, ai-agents, retrieval-augmented-generation, docker, web-server, nodejs

## Member repositories
- spring-ai-alibaba/DataAgent (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:00.468011+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:23:57.644339+00:00, confidence not recorded.
  - readme: https://github.com/spring-ai-alibaba/DataAgent (fetched 2026-08-28T04:07:00.468011+00:00, sha 05b2c6dc7053)
- Data as of 2026-08-30T08:39:29.467469+00:00.
