DolphinX
DolphinX is an agent framework built into DolphinDB. After deploying DolphinDB 3.00.6 or later, you can interact with DolphinDB in natural language through the web interface to perform database operations, write and run scripts, interpret results, and troubleshoot issues, greatly reducing the complexity of database O&M.
DolphinX provides a rich set of APIs that developers can use to build custom agent applications for their specific needs. DolphinDB also provides various skills for scenarios such as data import, backtesting script generation, factor generation, machine learning, and FICC pricing. These skills guide DolphinX in completing specified tasks in a more standardized and stable manner.
Applicable Scenarios
DolphinX is suitable for the following scenarios:
- Use natural language to perform DolphinDB database operations, such as creating databases and tables, importing data, and querying data.
- Have the agent write, explain, modify, and run DolphinDB scripts.
- Convert frequently used database operations, business scripts, and accumulated knowledge into reusable agent skills.
- Use DolphinX as an agent framework to develop your own agent applications.
Deployment Notes
The switches and quotas for Agent, LLM, Skill, MCP, Memory, and Workspace in the DolphinX API are centrally configured and controlled by DolphinDB and are not exposed externally. The following table lists the externally available DolphinX API configuration parameters, which must be configured when DolphinDB is deployed.
DolphinX can run only on a standalone node or on a compute node in cluster mode.
| Parameter | Description | Node |
|---|---|---|
| enableAgentWorkspace | A Boolean value that specifies whether to enable Agent Workspace. After it is disabled, Workspace-related APIs are unavailable. The default value is true. Restart the node for the parameter change to take effect. | single node, compute node |
| agentWorkspaceDir | A STRING scalar that specifies the workspace root directory. If this parameter is empty, DolphinDB uses agent_workspaces under the DolphinDB installation directory. Restart the node for the parameter change to take effect. | single node, compute node |
| maxAgentWorkspaceBytes | A LONG scalar that specifies the maximum total size of the workspace for a single session, in bytes. The default value is 5242880. The parameter change takes effect immediately. | single node, compute node |
