data-formulator README

The project's README from github.com/microsoft/data-formulator. As one markdown file: README.md.

Data Formulator icon  Data Formulator: AI-powered Data Visualization

🪄 Explore data with visualizations, powered by AI agents.

Try Online Demo   Install Locally

PyPI  License: MIT  YouTube  build  Discord

Why Data Formulator?

Working with data is hard for two simple reasons:

  1. Data lives everywhere. Connecting agents to files, databases, warehouses, and BI tools takes time. It is even harder when agents start answering before the relationships between data sources are clear.
  2. Questions evolve as you explore. Each answer can lead to follow-up questions, comparisons, and new directions. A long chat history makes it hard to see where you are and how you got there.

Data Formulator provides one visual workspace for exploring and analyzing data:

  1. Data connectors give agents a common way to connect to different data sources and maintains a data memory to remember the relationships between them.
  2. Data Threads let you branch into different questions, compare paths, and use visualizations to discover deeper insights without losing context.

https://github.com/user-attachments/assets/8e4f8a08-6423-4227-a1f7-559e0126ce31

[!TIP] Love the charts? They're built on Flint. It's an open-source visualization language that compiles compact chart specs into polished visualizations.

News 🔥🔥🔥

[08-15-2026] Data Formulator 0.8 beta 1 (0.8.0b1) introduces:

Preview with pip install --pre data_formulator==0.8.0b1 or uvx [email protected]. Install the latest stable release (0.7) with pip install data_formulator or run instantly with uvx data_formulator.

See the changelog for release details.

Previous Updates

Here are milestones that lead to the current design:

Overview

Data Formulator is a Microsoft Research project for data exploration with visualizations powered by AI agents. It combines UI interactions with natural language so analysts can communicate intent, branch into alternative analyses, and share results — starting from any data format (screenshot, text, CSV, or database).

Get Started

Play with Data Formulator with one of the following options.

Desktop downloads

CI builds self-contained Windows and macOS applications for pull requests and every update to main. Download the latest archives from the Artifacts section of the most recent desktop builds workflow. Workflow artifacts are retained for 30 days. Tagged builds are also attached as permanent downloads to the corresponding GitHub Release.

Extract the archive, then launch Data Formulator using the instructions for your operating system:

[!WARNING] These are automated preview builds and are not currently code-signed or notarized. Only bypass the operating-system warning when the archive was downloaded directly from this repository's workflow artifacts or releases.

Using Data Formulator

Start with the data you already have: upload CSV, TSV, Excel, JSON, screenshots, or text; connect to databases and data platforms; or ask the analyst to find and load the data you need. The analyst can discover sources, clarify your request, propose a loading plan, and let you review the data before adding it to the workspace.

Continue the conversation in the Data Thread. Ask questions in natural language and follow the reasoning through explanations, tables, and editable charts in one history. Refine a result directly, branch from any earlier step to explore an alternative, or delegate the next investigation to the analyst. When the analysis is ready, compose the results into a report to share.

https://github.com/user-attachments/assets/164aff58-9f93-4792-b8ed-9944578fbb72

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

data-formulator (microsoft/data-formulator)

Searching Database…

这是什么?Data Formulator 是微软研究院推出的交互式 AI 数据分析工具。它把界面操作与自然语言结合起来,让你探索数据;AI 代理负责数据连接、数据转换和图表生成。
这是桌面应用,还是在浏览器里运行的程序?它是一个 Python 包,会启动本地服务器,并在浏览器中打开工作区;CI 还会为 Windows 和 macOS 构建独立的桌面应用。
我该怎么把它运行起来?最快的方法是运行 `uvx dataformulator`(或 `pip install dataformulator`),即可立即在浏览器中启动;也提供 Docker Compose 配置,你也可以按照 DEVELOPMENT.md 自行构建。
我需要为哪些 AI 服务商准备 API 密钥?你需要自备模型访问权限,通过 LiteLLM 接入,它支持 OpenAI、Azure、Ollama 或 Anthropic。
下载桌面应用时有什么需要注意的吗?预构建的 Windows/macOS 桌面应用是自动生成的预览版本,未经过代码签名或公证,因此 Windows SmartScreen 和 macOS Gatekeeper 会将其标记出来,你需要手动允许应用运行。
它只能在 Windows 和 macOS 上运行,还是也支持 Linux?预构建的桌面程序只面向 Windows 和 macOS;但由于它以 Python 包的形式发布,你也可以通过 pip、uv 或 Docker 在 Linux 上运行基于浏览器的版本。
什么是 Data Thread?它是工作区中分支式的对话历史记录:你可以追问,也可以从任意早前的步骤比较其他分析路径,而且不会像普通的平面聊天记录那样丢失上下文。
我能处理大型数据集吗?可以。Data Formulator 集成了 DuckDB 以支持大数据,并提供多表之间的自动连接功能。
我能和别人分享结果吗?可以。分析完成后,你可以把表格、图表和说明整理成一份可分享的报告。
界面是否支持英语以外的语言?从 v0.7 版本起,界面支持多语言,目前提供英语和中文。
Creator
microsoft
Size
39.8 MB
Stars
17.6K
Age
2y
Commits · 90 Days