Official Content

GeneXus for Agents can automatically keep your Knowledge Base synchronized with a directory of .gx files. Whenever an object changes—whether from the IDE, an AI agent, an import, or any other process—the corresponding .gx file is updated automatically.

When an AI agent modifies an object, the IDE is also notified immediately, allowing the object tree and open editors to refresh without requiring manual actions.

How to disable Knowledge Base Text Mirroring

Knowledge Base Text Mirroring is enabled by default. To disable this feature, add the following configuration to the settings.json (or settings-overrides.json):

{
  "KBTextMirror": {
    "Enabled": false
  }
}

You can also disable it using the following environment variable:

KBTextMirror__Enabled=false

KB Versioning support

The text mirror keeps Knowledge Base objects synchronized with their text representation (.gx files).

To do this, it writes the mirrored content to a single directory. However, a Knowledge Base can contain multiple versions.

The model behind this feature is that each KB version corresponds to a Git branch in the mirror directory. The directory used by the text mirror is a Git repository, and each KB version has its own branch, named after the corresponding version.

Switching versions using the set_active_kb_version tool performs both operations at the same time: it switches the active KB version and checks out the corresponding Git branch. It also updates the text representation so that the mirror directory accurately reflects the version that was left active.

Note: This feature requires Git to be installed.
Last update: 2026 | © GeneXus. All rights reserved. GeneXus Powered by Globant