Skip to content
datagallery-aiPublic

About

DataFoundry is an open-source AI workbench for data analysis, unifying data sources, knowledge, tools, and agent runtime into a governed workspace for interactive analytics.

Topics

Resources

Contributing

Stars

747 stars

Watchers

7 watching

Forks

Repository files navigation

DataAgent

An enterprise-grade data agent
Ask questions in natural language and keep results, generated files, and execution traces in the session.

English · 简体中文

Quick start · Use and integration · Developer docs · Contributing · Online docs

Apache 2.0 license Python 3.11 and 3.12 Self-hosted deployment Pull requests welcome
AG-UI event stream Ink terminal UI

DataAgent Web workbench demo in light mode
Web workbench demo · Web workbench guide

Core capabilities

  • Self-hosted deployment and multi-model support. Run DataAgent on your own machine or server. Configure the default model and models for individual tools in the server configuration.
  • Data and business context. Give the agent local input directories for file analysis, enable NL2SQL for database questions, or connect an external semantic service.
  • Reusable outputs and execution records. Resume a session to follow up or retrieve its files. Use the logs and traces to inspect model and tool calls.

Quick start

On Linux, install Git, Node.js 22.12+, and uv, then start from source:

git clone https://gitcode.com/datagallery/dataagent.git
cd dataagent
./deploy.sh

Set LLM_MODEL, LLM_BASE_URL, and LLM_API_KEY for your OpenAI-compatible model in the project's .env, then run ./deploy.sh restart. Open the workbench URL printed by the script (defaults to http://127.0.0.1:3000/data-tasks), or run ./deploy.sh tui to ask your first question from a terminal.

Use ./deploy.sh status to check service health and ./deploy.sh logs to follow the logs.

Manual setup for Windows and macOS · Get the Server wheel and TUI package

How a data task runs

  1. Define the task. Ask a question in natural language using the inputs and tools configured on the server.
  2. Run the analysis. The agent uses the available tools to analyze inputs and saves generated files in the session's output directory.
  3. Review and follow up. Open the same session to check the results, retrieve the files, or ask a follow-up question.

Choose an interface

Use the Web workbench for day-to-day analysis and file previews, or the TUI when working from a terminal or over SSH. Both connect to the same server and can resume its sessions. To integrate the agent into your own application, use REST and AG-UI, A2A, or the Python SDK.

DataAgent TUI showing a quarterly order analysis, the CSV write operation, and session status
Run the same analysis from a terminal · TUI guide

Documentation

I want to Start here
Analyze local files or query a database Local input directories · NL2SQL configuration example
Resume a conversation or find a generated file Sessions and outputs
Integrate an application or extend the tools REST and AG-UI · A2A · Python SDK · Plugins and MCP
Configure a model or the server, or troubleshoot Configuration · Security · Troubleshooting
Develop DataAgent or migrate from the legacy release Developer docs · Legacy Python Runtime and CLI migration

The server listens on 127.0.0.1 by default. See the security guide when deploying it for access from other machines.

Contributing · Community and examples · Apache-2.0

About

DataFoundry is an open-source AI workbench for data analysis, unifying data sources, knowledge, tools, and agent runtime into a governed workspace for interactive analytics.

Topics

Resources

Contributing

Stars

747 stars

Watchers

7 watching

Forks

Releases

Packages

Contributors

Languages