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

Web workbench demo · Web workbench guide
- 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.
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.shSet 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
- Define the task. Ask a question in natural language using the inputs and tools configured on the server.
- Run the analysis. The agent uses the available tools to analyze inputs and saves generated files in the session's output directory.
- Review and follow up. Open the same session to check the results, retrieve the files, or ask a follow-up question.
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.

Run the same analysis from a terminal · TUI guide
| 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.