Skip to content

v2.0.0 AI Agent DeSrc

The v2.0.0 release focuses primarily on integrating AI large-language models, implementing syntax suggestions, and adding data migration features.

Code Templates and Syntax Suggestions

Code Templates

Custom Templates

You can save frequently used scripts as templates. Here’s how:

  1. Right-click the script you want to save and choose [Save as Template], or click the [Save as Template] button above the editor, or use the Alt + T shortcut to open the template settings window.
  2. In the popup, set a short code and click [OK] to finish the template setup.
  3. In the editor, type the short code to quickly activate the corresponding script template.

Example:

Code Templates

Built-in Templates

In addition to custom templates, the software also has 6 built-in templates:

Short CodeContent
fetchFETCH PROP ON player "player104" YIELD properties(vertex)
findFIND SHORTEST PATH FROM "player102" TO "team204" OVER * YIELD path AS p
getGET SUBGRAPH 1 STEPS FROM "player101" YIELD VERTICES AS nodes, EDGES AS relationships
goGO FROM "player102" OVER serve YIELD dst(edge)
gosGO 2 STEPS FROM "player102" OVER follow YIELD dst(edge)
matchMATCH (n)-[r]->(m) RETURN n, r, m LIMIT 25

If the built-in templates don’t fit your project, feel free to update them as needed.

Syntax Suggestions

In version v1.2.0, code completion supported only keywords and function names. In v2.0.0, code completion is enhanced to include broader syntax hints. Here’s a sample of the FIND PATH syntax in nGQL:

Code Template

AI Agent Professional Edition

The client integrates an AI large-model system with a default DeepSeek-R1 model (and ApiKey) so you can quickly get started using AI. For example:

Code Template

Or you can right-click in the query area to quickly invoke AI, as shown below:

AI in Query

Note

For the built-in AI model, currently we do not limit the token usage. We will renew the service on an as-needed basis. If usage becomes unavailable due to outstanding fees, please apply your own ApiKey through a large-model platform.

Possible services include:

  • Alibaba Cloud Bailian
  • DeepSeek Official

    In practice, for scenarios with subroles, the official R1 model requires role alternation in extended multi-turn conversations. At the moment, it cannot fully handle the “AI self-assigns tasks” style conversations. It can still support multi-turn conversations without subroles.

Model Configuration

From the AI tab on the right, click the gear icon after the [DeepSeek-R1] dropdown to open the model configuration window:

Model Configuration

Eight Built-in Roles

By default, the “Graph Data Engineer” role and three others share an upstream-downstream workflow. The large model automatically switches among roles to carry out the requested task. The role list is shown below:

Eight Built-in Roles

  • You can edit the built-in roles.
  • You can click the + sign after a category to add a custom role. By setting different system prompts, you can switch between roles to handle various tasks.
  • If a role contains subroles, make sure the [Segmented Results Display Format] includes {data} so that the content displays correctly.
  • Share table structures
  • Share data relationships

Share Table Structure

Note

This only shares table structures, not actual data.
Also, the data mode only shares the relationship model between data, not the actual data.

Graph Space Overview, Migration, and Backup Professional Edition

  1. Graph Space Data Overview
  2. Table Selection for Copy (partial, full, or none; default is full)
  3. When backing up data, indexes are also backed up, and index rebuilding is completed

Right-click a graph space name in the navigation tree and choose [Overview] to see the current graph space’s stats and relationships:

Graph Space Overview

After viewing the stats, click [Copy] at the top. In the left tree, right-click the target space, select [Overview], then click [Paste] to complete a copy of the space’s schema, data, and indexes.

By default, the system copies all data. If you only need certain data, click and drag with your mouse to select the desired Tag or Edge, or single-click to select them.

Tasks and Notifications

To further improve user experience, we’ve optimized schema-tree loading with background tasks. This also applies to time-consuming tasks such as importing or migrating. For example:

Tasks and Notifications

If an error occurs, a small red lightbulb appears in the lower-right corner indicating the number of errors.

Generate NgBatis Entity Classes

In the tree navigation, right-click a table object to generate a NgBatis entity class, as shown below:

NgBatis Entity Class

Subscription and Licensing

To help sustain future development, we’ve removed the trial feature in favor of a subscription licensing model. Key points affected are:

  1. Offline users need to purchase a license key and then install it correctly.
  2. Online users can simply log in to access essential features.
    1. If you need AI support, data migration, or data backup, you must purchase a Professional Edition license.
    2. After subscribing, log in again to silently install the license key.

    For user accounts that supported us before v2.0.0’s release, the system automatically grants at least one year of Professional Edition license as a gesture of thanks. After re-logging, check the software to see the license’s validity period. If you logged in before v2.0.0 but did not receive a license, please contact us.

Online Licensing

Just log in again.

Offline Licensing

  • On the device needing a license, open the client and click [Set License Key]. A license key window appears, shown below:

    Get License Key

  • Use WeChat to scan the QR code and bind the device:

  • After binding, go to the device list and click [Download License Key]:

    Download License Key

  • Once you have the license file, return to the client, switch to [Install], and click the icon to select a license file. Choose the downloaded file. If validation passes, licensing installation succeeds:

    Install License Key

  • After installation, click [OK] to finish offline licensing and access the main interface:

    License Successful

Other Changes to Existing Features

Storage Host Information Entry Moved

Right-click the data source name in the navigation tree and select [Overview] to see the database’s Storage hosts:

Storage

Interface Changes for Quickly Adding Queries, Tags, and Edges

In the top tab bar, click the [+] icon at the right end, then choose [New Query]. Enter the filename for your script and click [Save] to open a new script editing window:

Quickly Add Script