Business Analytics Agent
Ask questions in plain language and receive SQL-backed charts and business insights.
- Source repo
- Zafer-Liu/Data-Analysis-Agent
- Stars
- ★ 2.6k
- Last updated
- 5d ago v1.5.2
- FARS reviewed
- Nov 07, 2026 +3 new
- License
- NOASSERTION
- Primary language
- JavaScript
- FA score
- 61/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A sales or operations user who does not write SQL uploads a spreadsheet and asks for the last 12 months of sales trends, receiving a query, line chart, and growth commentary.
- Not a fit if
- SQL Server users unwilling to install Microsoft ODBC Driver 17 or 18
- Commercial teams needing a permissive licence; CC BY-NC 4.0 bars unauthorized commercial use
- Website
- sage-agent.online ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-28latest release v1.5.2 (2026-11-26)
- Source review
- 61/100 · Some gaps
What does this agent do, and when should you use it?
Business Analytics Agent is a self-hosted web application for conversational business analysis, with a Flask backend and SSE streaming for live progress. Users can upload Excel or CSV files or connect SQLite, MySQL, PostgreSQL, and SQL Server databases, then query the data in natural language. The application inspects the schema, generates and runs SQL, recommends a visualization from 43 chart types across six categories, and returns an analytical summary. Its broader toolkit includes outlier treatment, decile analysis, K-Means clustering, decision trees, and exports to Excel, DOCX, and presentation formats. It runs locally on Windows, macOS, or Linux, while model APIs and remote data services may remain outside the local deployment boundary.
After a data source is connected, the application interprets the question, reads the Schema, generates SQL, executes the query, selects a chart, and writes business insights; SSE streams the stages back to the interface. It reads Excel and CSV files and queries SQLite, MySQL, PostgreSQL, and SQL Server. The v1.3.0 notes also describe a Feishu bot flow that reads Bitable records, analyzes them through DuckDB/SQL, and posts conclusions to group chat, creating or modifying result records only after an explicit member request. Its command surface includes /chart, /sql, /analyze, /tree, /kmeans, /data, /inset, /winsorize, /trimming, /export, /report, /ppt, and /status. Chart HTML files are retained under outputs/charts, while processed spreadsheets, DOCX reports, and built-in-style presentations can be exported. Model configuration supports DeepSeek, OpenAI, AtlasCloud, and arbitrary OpenAI SDK-compatible APIs through configurable base_url, model, and api_key values. The application can also connect local or remote MCP services and accept uploaded business knowledge.
- A sales or operations user who does not write SQL uploads a spreadsheet and asks for the last 12 months of sales trends, receiving a query, line chart, and growth commentary.
- A regional manager connects an operational database and asks which region has the highest profit, producing a ranking, bar chart, and regional insights.
- A data analyst uses
/winsorize,/trimming, decile grouping,/kmeans, or/treefor cleaning, segmentation, and exploratory modeling. - A reporting team uses
/export,/report, and/pptto turn completed analysis into processed data, a document, or a presentation. - A team working from Feishu Bitable asks the group bot to analyze records and, when explicitly requested, create a result table or append and update records.
- An organization that prefers local application hosting runs the Flask service on its own machine while choosing its own OpenAI-compatible model endpoint, databases, knowledge base, and MCP connections.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -fsSL https://raw.githubusercontent.com/Zafer-Liu/Data-Analysis-Agent/main/install.sh | shpip install -r requirements.txt
- Ports
5001- Runtime
- Python 3.10
- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
Python 3.10 or later is required. A source installation is documented as:
git clone https://github.com/Zafer-Liu/Data-Analysis-Agent.git
cd Data-Analysis-Agent
pip install -r requirements.txt
python app.pyOpen http://localhost:5001, then enter the API Key, Base URL, and Model in the sidebar settings. Windows 10/11 64-bit users may alternatively use the release installer. From the archive distribution, Windows users can run start.bat; on macOS, run chmod +x ~/Downloads/Data-Analysis-Agent/start.command and xattr -d com.apple.quarantine ~/Downloads/Data-Analysis-Agent/start.command, then open start.command. The documented online installers are iwr -useb https://raw.githubusercontent.com/Zafer-Liu/Data-Analysis-Agent/main/install.ps1 | iex in Windows PowerShell and curl -fsSL https://raw.githubusercontent.com/Zafer-Liu/Data-Analysis-Agent/main/install.sh | sh on macOS/Linux. The first launch creates a virtual environment and installs dependencies, with a documented estimate of 3–5 minutes.
How do you use this agent?
Run python app.py and visit http://localhost:5001. Configure an API Key, Base URL, and Model first; the documented defaults are DeepSeek deepseek-v4-flash, OpenAI gpt-4o-mini, and AtlasCloud deepseek-v4-pro. Upload an Excel/CSV file or configure a database connection, then ask a question such as “Show sales trends for the last 12 months.” Use /chart user growth to prioritize a visualization, /sql to execute SQL directly, or /analyze, /tree, and /kmeans for deeper analysis. MySQL uses mysql+pymysql://username:password@host:port/database. SQL Server additionally requires Microsoft ODBC Driver 17 or 18; a Driver 18 example is mssql+pyodbc://username:password@server:1433/database?driver=ODBC+Driver+18+for+SQL+Server&TrustServerCertificate=yes. Open generated chart HTML from outputs/charts, or invoke /export, /report, or /ppt for deliverable files.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- It covers the complete path from schema inspection and SQL generation through query execution, chart recommendation, and written insights, with SSE exposing progress.
- Its documented inputs include Excel, CSV, and four database systems; v1.3.0 also adds a Feishu bot and Bitable analysis loop.
- The visualization catalog is unusually broad for a conversational analyst, listing 43 chart types across comparison, time, distribution, geographic, relationship, and part-to-whole categories.
- The tool extends beyond question answering with outlier treatment, decile analysis, K-Means, decision trees, and Excel, DOCX, and presentation exports.
- Model access is not limited to one named provider: DeepSeek, OpenAI, AtlasCloud, and custom OpenAI SDK-compatible endpoints are documented.
- Deployment requires Python 3.10 or later, and the first dependency installation is documented to take roughly 3–5 minutes; hosted model APIs and remote services also require connectivity and credentials.
- SQL Server setup has an additional system dependency on Microsoft ODBC Driver 17 or 18 and may require TCP/IP, port, firewall, encryption, and permission troubleshooting.
- The README declares CC BY-NC 4.0 and prohibits unauthorized commercial use, while the supplied repository metadata reports NOASSERTION; commercial adopters should verify the LICENSE file and obtain authorization.
- The general data-source section still labels DuckDB and Spark as future work. The Feishu-specific DuckDB flow in v1.3.0 is not evidence of complete general-purpose connectors for both systems.
- GPU compute is explicitly marked as planned rather than generally available pending end-to-end validation.
How does this agent compare with similar options?
The repository contrasts its workflow with traditional BI tools: users converse with the data while the application handles schema inspection, SQL generation, execution, visualization selection, and streaming progress. This can reduce manual query and report construction, but the supplied material contains no benchmark, pricing study, or feature matrix against a named BI product.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Business Analytics Agent This agent | 61 · Some gaps | Desktop appFree + model costs | ★ 2.6k | 5d ago | JavaScript | OpenAI API |
| Seal Report | 54 · Major gaps | Desktop appFree | ★ 1.7k | 2d ago | C# | OpenAI API · Claude API |
| DATAGEN Research Assistant | 45 · Major gaps | CLIFree + model costs | ★ 1.8k | 19d ago | Python | OpenAI API · Claude API |
| DeepAnalyze | 42 · Major gaps | Library / SDKFree | ★ 4.9k | 1mo ago | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The code and skills describe data querying, charting, MCP, browser, and export capabilities. The A/B skill requires aggregation by randomization unit, limits causal claims, and says Bitable result creation or edits require an explicit request. The README also discloses API-key configuration and remote models. The broad permission surface, plus no sample evidence of credential storage, retention, outbound-data review, or a general side-effect confirmation mechanism, keeps least privilege, sensitive-data handling, and external-effects scores partial; no clear rollback process is shown. Repository maintainers and a security-report email provide some attribution, but publisher identity is unverified and there is no independent corroboration.
The README, dependency files, and test samples connect several advertised features to implementation paths; some chart tests describe regression coverage. This review does not execute code, and the sampled entry point and skills cannot verify all product claims. Dependencies have a lock-file note and minimum-version constraints, but requirements.txt permits broad ranges and the security-maintenance evidence is limited. app.py logs dependency-installation failures and exits, and the skills specify responses to insufficient data, supporting a partial failure-message score.
The product targets business analysis and covers spreadsheets, several SQL sources, natural-language queries, charts, statistical analysis, and reports. Skills route to specific analysis scenarios and specify input checks and conclusion boundaries. Deductions reflect that several skills cover narrow task types and the sample does not establish a consistent fallback for out-of-scope requests. Environment documentation identifies Python, operating-system, model API, and local-service requirements, while hosted deployment conditions are referred to across separate configuration documents.
The README provides navigation, installation choices, feature descriptions, examples, and FAQs; the sampled skills use structured names, descriptions, tags, tool scopes, and workflows. The license text states non-commercial terms, but metadata says NOASSERTION and commercial-use conditions and registration details are not fully settled, so full marks are not justified. Versioning, release workflow, and bilingual changelogs are substantial. Security reporting and supported-version information provide maintenance guidance, though maintainer identity and commitments are repository assertions rather than independently verified facts.
The product aims to turn natural-language questions into SQL, charts, and business explanations, with exports and specialized analysis skills. The sampled skills prescribe tables, metric checks, confidence-interval interpretation, and cautious recommendations, making outputs reviewable and usable. The workflow offers clear analysis value. Cost-benefit scores low because model API charges, deployment and maintenance effort, and costs at different data scales are not quantified, while the dependency set is broad.
Some README claims correspond to the sampled code entry point, skills, dependencies, and tests, and several workflows point to implementation files or explicit output requirements. Deductions reflect that many capabilities are asserted only in the README and the supplied source and tests are samples, so they cannot establish full coverage; example business results are expected outputs, not demonstrated findings. The A/B skill explicitly separates observations, statistical inference, and business assumptions, and the demo is identified as fictional, but a consistent evidence-labeling convention is not shown across the product.
- The application connects user data to external models and APIs. Before using sensitive data, verify API-key storage, what data is sent, logging and persistence behavior, and the actual permissions of MCP and browser tools.
- The online installation commands fetch scripts and execute them directly; review the scripts before deployment and prefer a pinned version or checksum.
- The LICENSE restricts commercial use while metadata is NOASSERTION; obtain and verify the applicable authorization before commercial deployment.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Unsigned Business Analytics Agent desktop test packages. Do not treat these artifacts as signed or notarized releases.View on GitHub ↗ -
Release notes excerpt
Unsigned Business Analytics Agent desktop test packages. Do not treat these artifacts as signed or notarized releases.View on GitHub ↗ -
Release notes excerpt
Unsigned Business Analytics Agent desktop test packages. Do not treat these artifacts as signed or notarized releases.View on GitHub ↗
FAQ
Can it operate entirely offline?
Is commercial use permitted without payment?
What should I check if SQL Server will not connect?
pyodbc, enable SQL Server TCP/IP, verify the actual host and port, allow the port through the firewall, and confirm the account has database access.Are generated charts retained after restart?
outputs/charts; the corresponding HTML files can be opened directly in a browser.Which model services are supported?
base_url, model, and api_key.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.