产品介绍

Quick start

Start DataAgent on Linux and send your first question in the Web workbench. This path uses Git, npm, uv, and a reachable model service that provides an OpenAI-compatible API.

For a first try, complete only these three steps: start the service, configure a model, and receive a reply. Configure Skills, MCP, plugins, and SemanticLayer when a later task needs them. Use scenario examples to verify a complete data-analysis task.

For Windows or macOS, follow manual source deployment. For the Server wheel and TUI npm package, see package deployment and version information.

For WSL 2, check the resource recommendations before deploying.

1. Deploy on Linux

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

Follow the prompts. On success, the script prints the workbench URL and leaves Web and Server running in the background. See Linux one-click deployment for prerequisites and lifecycle commands.

2. Configure your model

In the repository's .env, set the model name, API base URL, and key for your provider:

LLM_MODEL=your-model-name
LLM_BASE_URL=https://your-openai-compatible-host/v1
LLM_API_KEY=replace-with-your-key

Apply the configuration with ./deploy.sh restart. See Configuration for the files and settings DataAgent reads.

3. Run your first question

Open the workbench URL printed by the script, usually http://127.0.0.1:3000/data-tasks, and send:

In three sentences, say what you can do right now.

A streamed reply confirms the Web workbench can reach the Server and the model can respond. To try the same flow from a terminal, run ./deploy.sh tui and follow the TUI guide.

Once the model responds, use the dedicated NL2SQL example to query sample orders and verify the resulting CSV. See the scenario overview to continue with parent/subagent analysis.

Add capabilities for your task

Next task Read
Run sample queries or parent/subagent analysis Scenario examples
Install existing instructions Install and use Skills
Enable a built-in or existing plugin Install and enable plugins
Connect an existing tool service MCP integration
Change configuration files, models, or input directories Configuration essentials

Consult configuration loading and merging when you need to explain the final settings. Start at Developer Docs to write custom extensions.

More deployment details