Model or dataset
Zafer-Liu/Data-Analysis-Agent avatar
Zafer-Liu/Data-Analysis-Agent

Data Analysis Agent: a chart table that says 43 and lists 44, a version three ways, and a DuckDB that is both installed and planned

Your personal data analysis assistant. Say goodbye to complex SQL and Excel formulas. An LLM-powered data analysis agent: chat with your data to instantly generate visualizations and business insights. Making data-driven decisions has never been easier.

2,628 stars234 forksJavaScriptNOASSERTION

At a glance

What is it?
A conversational business analytics agent whose README lists DuckDB as future work while its requirements install it, whose newest tag drops the v prefix, whose chart table miscounts by one, and whose container ships demo data and skips its own dependency check.
Who is it for?
This is a working local analytics tool with an unusual amount of surface for a single repository: a Flask backend, a Vite frontend, a Windows installer, five requirement files, a container image and a Feishu bot in the same tree. The three things to settle before adopting it are licensing, version and scope.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository last received commits 7 days ago.
What is it written in?
Mainly JavaScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • Zafer-Liu/Data-Analysis-Agent2,628 ★ · +112
Star history
Repository2026-09-122026-11-22
Zafer-Liu/Data-Analysis-Agent2.5k2.6k

112 Stars in the last 71 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Three different version numbers, and an installer named for an older one

The changelog block at the top of the README names the current development version as `v1.3.0 LTS`, dated 21 August 2026, and adds a warning to check the source version and the changelog before publishing an installer.

The frontend manifest says `"version": "1.3.0"`. The release list says something different again: the newest tag is `1.4.0`, published 2026-09-19, and unlike the two before it, `v1.3.1` and `v1.3.0`, it carries no `v` prefix.

Then there is the installer. The Windows install table names the file to download as `BusinessAnalyticsAgent_v1.2.0_LTS.exe`, a third version behind the tag, in the documentation for the method the file calls the simplest and recommended.

So the README says 1.3.0, the manifest says 1.3.0, the newest release is 1.4.0, and the binary a first time user is told to double click says 1.2.0. Nothing in the file reconciles them, and the warning about checking versions before shipping an installer suggests the mismatch is known.

The chart table lists 44 names under a heading that says 43

The chart system is described as recommending from six categories and forty three chart types. The table below that sentence lists:

- twelve comparison charts, from Marimekko variants through Sankey, Heatmap and Waterfall - ten time trend charts, from Line and Sparkline through Horizon and Connected Scatter - eight distribution charts, from Histogram Pareto through Ridgeline, Beeswarm and stem leaf - three geographic charts, Flow Map, Dot Density Map and Choropleth Map - seven relationship charts, from Scatter and Bubble through Chord, Arc, Network and Parallel Coordinates - four proportion charts, Treemap, Sunburst, Nightingale and Pie

Twelve, ten, eight, three, seven and four add up to forty four, one more than the heading claims.

The names are also inconsistent with each other. Almost all use capital letters with underscores, but one is written `stem_leaf` in lower case, one mixes conventions as `Histogram_Pareto_chart`, and one uses hyphens and an internal capital as `Box-and-Whisker_Plot`. Since the system names charts programmatically, a reader matching a name against the table has to guess which convention wins.

DuckDB is a planned data source and an installed dependency

The multi data source capability lists what is supported now and what is not. Files are Excel and CSV. Databases are SQLite, MySQL, PostgreSQL and SQL Server. DuckDB and Spark appear under a heading for future plans.

The same file's changelog, describing the Feishu bot integration in v1.3.0, says that mentioning the bot in a group lets it read Feishu tables, bring the records into DuckDB or SQL analysis, and send the conclusion back to the group.

And the dependency file installs `duckdb>=1.0.0` under its data section, alongside pandas, numpy, openpyxl, xlrd and python-calamine.

So DuckDB is described as not yet supported in one section, used as the analysis engine for a shipped feature in another, and present in the installed dependency set in a third. Spark appears only in the future list. The practical consequence is that a reader cannot use the data source section to decide what the tool can connect to, and the filehistory and data directories in the tree suggest both paths have been exercised.

Two of the three default providers resolve to the same model family

Four provider entries are offered: DeepSeek, OpenAI, AtlasCloud, and any API compatible with the OpenAI SDK. The `base_url`, `model` and `api_key` are all customisable, so the fourth entry is the general escape hatch and the first three are presets.

The default model table is where it gets interesting. The DeepSeek preset defaults to `deepseek-v4-flash`. The AtlasCloud preset defaults to `deepseek-v4-pro`. The OpenAI preset defaults to `gpt-4o-mini`.

Two of the three presets therefore point at the same underlying model family, differing in a flash variant against a pro variant, and the only preset that reaches a different vendor is the one with a widely used small model as its default. Anyone building a cost or privacy comparison between the presets should notice that provider choice and model choice are separate axes here, not one.

What the model is asked to do is fixed by a four stage pipeline whose progress is streamed over server sent events:

text
[1/4] 正在读取数据结构...
[2/4] 正在生成 SQL...
[3/4] 正在执行查询...
[4/4] 正在生成图表与洞察...

Stages two and three are where a model can be wrong in a way that matters, since generated SQL runs against a live connection.

The analysis feature list has the same unfinished quality: outlier handling by trimming and winsorising, decile grouping, K-Means clustering and decision tree modelling, followed by an ellipsis rather than a closing item.

The install file recommended for production is not in the tree

The dependency file opens with a header that draws a distinction: it calls its own contents loose declarations by name and minimum version, suitable for development, and says production and first time installs should prefer a lock file that pins every transitive dependency to a known good version. It then gives the regeneration recipe, an upgrade of this file followed by a freeze of the environment into the lock.

The lock file it names is not among the top level entries. What is there are five requirement files, this one plus build, dl, ml and remote variants.

The freeze step is also worth noting, because it captures whatever is installed in the environment rather than only what this project asks for, so a regenerated lock inherits every unrelated package already on the machine.

The remote variant and a remote runner directory in the tree point at a different concern. Their section is commented as remote GPU connectivity with SSH tunnels and OS credential storage, and states that keyring delegates to the Windows Credential Manager, the macOS Keychain or the platform Secret Service, and that connection passwords are never stored in JSON. paramiko and keyring are both installed for it.

The build check builds, and the quality gate calls tests by a path the tree does not show

The frontend manifest is small and clean: it is marked private, it declares pnpm as its package manager, it requires Node 20.19 or newer, and all five of its dependencies are development dependencies.

Two of its scripts are worth reading side by side. `build:chat` runs a chat bundle script, and `build:check` runs the exact same command. A script named as a check that performs a build is either a copy paste error or a check that lost its body.

The `quality` script chains a format check, a lint, that same build step, and then `python -m unittest Test.test_api_smoke Test.test_job_ui`. So a JavaScript toolchain shells into Python to run two unit tests, and it addresses them as `Test.test_api_smoke`, while the top level of the repository has a `tests/` directory in lower case. On a case sensitive filesystem those two do not match.

The Python side has its own configuration file, and it opens by saying outright that it does not make the project a pip installable package and that the runtime entry point is still `python app.py`.

Six lint rules are switched off, each with its own justification

The linter configuration selects three rule groups and calls the result a starter set of only the rules that catch real bugs today, with style checks deferred until the codebase can be swept. The groups are syntax errors, pyflakes and bugbear, with target version py310 and a line length of 110.

Then six rules inside those groups are ignored, and the file gives a reason for each: unused imports because shim files re-export by design, star imports and names possibly undefined by star import because chart modules use `from base import *` as a convention, redefined names because chart subclasses redefine base attributes on purpose, unused local variables described as a common debug pattern to revisit later, unused loop variables, and function calls in default arguments for Flask and dataclass patterns.

The star import convention is also why a `charts/` directory is excluded from linting with a comment calling it a legacy duplicate scheduled for removal. A directory that is both a legacy duplicate and scheduled for removal is still in the tree, and it is excluded from the only tool that would flag the duplication.

The excluded paths also include an agent configuration directory, alongside output, upload, node modules and a vendor directory.

The container binds all interfaces, skips the dependency check, and carries demo data

The image is built on `python:3.11-slim`, while the documented prerequisite for both install methods is Python 3.10 or newer and the linter targets py310. So the container runs a newer interpreter than the stated floor, which is safe but means the floor is never exercised by the image.

Six system packages are installed with their reasons written next to them: unixodbc and the odbc driver for pyodbc against SQL Server, libgomp1 for the OpenMP runtime used by numpy, scikit-learn and onnxruntime, the GL libraries matplotlib needs to render, and curl for the healthcheck.

Three environment variables are set. One points the host at `0.0.0.0`, one skips the dependency check entirely, and one unbuffers output. A fourth comment states that the platform injects a port variable and that the entry script already reads it, and the image exposes 5001 and runs the entry script directly rather than through either of the WSGI servers listed among the dependencies.

Two copying decisions are documented in the file itself. Application code is copied wholesale because the built frontend bundles are committed, so the bundles ship in the image. And sample data is copied to a separate directory, with a comment saying it is for a cloud demo on one hosting platform and is not used in local development.

Editorial conclusion

This is a working local analytics tool with an unusual amount of surface for a single repository: a Flask backend, a Vite frontend, a Windows installer, five requirement files, a container image and a Feishu bot in the same tree. The three things to settle before adopting it are licensing, version and scope. Licensing is the real blocker for anything commercial, because the file names CC BY-NC and then adds a separate clause about commercial use that a standard licence cannot grant on its own. Version is a smaller problem, since three places each state a different number. Scope is the largest, because the same README advertises a capability as future work and installs it as a dependency. Read the license text, pick one version source, and treat the README's roadmap as unreliable rather than checking the requirements file for what actually ships.

Frequently asked questions

What does the Zafer-Liu Data-Analysis-Agent do?

It is a conversational business data analysis agent. You upload an Excel or CSV file or connect a database, ask a question in natural language, and it identifies the data structure, generates and runs SQL, recommends a chart, and writes a business insight, streaming each stage over server sent events.

Which databases can the Data-Analysis-Agent connect to?

SQLite, MySQL, PostgreSQL and SQL Server, alongside Excel and CSV files. DuckDB and Spark are listed under future plans, although the changelog for v1.3.0 describes the Feishu integration feeding records into DuckDB for analysis, and DuckDB is an installed dependency.

Which LLM providers does the Data-Analysis-Agent support?

DeepSeek, OpenAI, AtlasCloud, and any API compatible with the OpenAI SDK, with base_url, model and api_key all customisable. The default models are deepseek-v4-flash for DeepSeek, gpt-4o-mini for OpenAI and deepseek-v4-pro for AtlasCloud.

What license is the Data-Analysis-Agent released under?

The repository records the license as NOASSERTION. The README names CC BY-NC 4.0 and adds that unauthorized commercial use is prohibited and commercial users should contact the author, and it carries a Chinese software copyright registration number for a registered product name.

How do I install the Data-Analysis-Agent?

Two documented ways. A Windows installer downloaded from the repository releases, which needs Python 3.10 or newer and 64 bit Windows 10 or 11 and is started from the desktop or start menu. Or a cross platform archive, which needs Python 3.10 or newer and is launched by double clicking start.bat on Windows.

Official sources

  1. Issues
  2. README
  3. Releases
  4. Zafer-Liu/Data-Analysis-Agent on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/zafer-liu-data-analysis-agent.svg)](https://hysenlabs.com/projects/zafer-liu-data-analysis-agent)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/zafer-liu-data-analysis-agent.svg)](https://hysenlabs.com/projects/zafer-liu-data-analysis-agent)

Was this useful?