Where data comes from
Distinguish where business data lives from the capability that accesses it. Use read-only workspaces for files and the relevant plugin or service settings for databases, remote tools, and semantic metadata. A first conversation only needs model configuration; connect other inputs when a task requires them.
Supported inputs
| Data source | Configuration and verification |
|---|---|
| Local files or directories | dataagent.input_workspaces in the selected YAML; ask the Agent to read a known file and check the content |
| Business databases | Enable NL2SQL or another plugin and configure its connection in plugins.config.<id>.database; start with the SQLite case and verify the actual CSV |
| Data or tools exposed by a remote service | Configure an existing service with MCP; verify discovery and a call with a known result |
| Semantic metadata such as tables, columns, joins, and business definitions | Root-level semantic; verify metadata queries through SemanticLayer. This does not replace a business database connection |
Skills supply instructions and plugins organize callable capabilities; neither is a separate business data source. See built-in plugins and parameters for implemented database connections, drivers, and prerequisites.
Querying a database, warehouse, or spreadsheet requires an enabled plugin with the data declared in that plugin's own configuration. The control plane has no datasource registry or GET /api/v1/datasource-types endpoint. Web and TUI use the server configuration to access data.
Read-only workspaces
To let the model use local files, write their directory into the selected YAML. Each directory must already exist and be readable and traversable by the server process.
dataagent:
input_workspaces:
- name: input
path: /data/reports
read_only: trueUse --config to select a YAML file when starting Server. Relative paths are resolved from that file's directory. Workspace names are logical labels and must be unique. read_only accepts only true.
Restart the server after editing the list, then start a new session with the new inputs. Existing sessions resume with the list they were created with. Generated files belong in the session's output directory, <home>/outputs/<user>/<thread>/ by default. For output and restoration details, see Sessions and outputs.
The system prompt asks the model to treat workspaces as read-only. File and shell tools still have the operating system permissions of the server process. See Security.