This is a MonoRepo hosting or linking all the module and infrastructure codes related to the Catena-X Agents Kit.
- See the authors file
- See the license file
- See the code of conduct
- See the contribution guidelines
- See the dependencies and their licenses
With regard to any global, architectural and usage documentation, we refer to our web page. All sources are locally documented using markdown and language-specific code comments.
Some modules may be maintained in separate repositories (currently: a patched AASWC client).
They are linked as git submodules so you should be sure to run the following command after cloning this repo:
git submodule update --init
You may open this repository in a Github Codespace. Be sure to use a "4-core" or bigger machine type since some of the docker images need a certain amount of memory and horsepower.
These are the further sub-modules of the Agents Kit
- Dataspace hosts reference implementations of the Gaia-X/IDS Dataspace extensions (Agents) for both Providers and Consumers, such as AAS-Bridge and Data Virtualization Engines.
- Infrastructure hosts "Infrastructure as Code" manifests and resources for easy deployment of above artifacts including a sample dataspace.
Carved out external repositories
- Ontology hosts the CX domain ontologies (including the fully merged CX ontology and tooling) describing the semantics of the Catena-X Dataspace.
- Tractus-X Knowledge Agents EDC Extensions (KA-EDC) for enabled Semantic Web protocols over the Dataspace.
- Tractus-X Knowledge Agents Reference Implementations (KA) which implement Semantic Web queries and semantics.
Obsolete submodules:
- UX hosted User Experience components and a sample portal/development environment for developing and executing semantically-driven logic and apps.
Besides the markdown documentation including this file, we have some helper folders
- Github contains all workflows and CI/CD processes.
- Github CI/CD Workflow builds and unit-tests all artifacts, checks source and binary code quality using CodeQL and publishes the results (only main branch).
- Github KICS Workflow checks Docker Buildfiles and Helm Charts for the most common vulnerabilities.
- Maven contains bootstrap code for the main build system.
And some related scripts and settings
- Git Settings
- Attributes has large-file settings for binary artifacts.
- Ignore excludes certain build artifacts from versioning.
- Maven Scripts
- Maven Wrapper(For Windows) for bootstrapping the build system.
- Maven Pom describing the KA root module and common build steps.
- Maven Settings configuring the associated artifact repository credentials.
- Postman Collections and Environments
- Knowledge Agents contains API interactions and samples for all REST-based interfaces of the KA architecture. Includes integration test steps. Excludes conformity asessment methods. Should be combined with one of the following environments
- Localhost contains API endpoints and secrets for interacting with the local deployment of the sample dataspace.
- Development contains API endpoints and (emptied) secrets for interacting with the development deployment of the sample dataspace. Please contact the CX association to get the actual secrets.
- Localhost contains API endpoints and (emptied) secrets for interacting with the integration deployment of the sample dataspace. Please contact the CX association to get the actual secrets.
To interact with the required package and container registries, the following environment variables should be set
export GITHUB_ACTOR=
export GITHUB_TOKEN=
A suitable conda environment named knowledgeagents
can be created
and activated with:
conda env create -f environment.yaml
conda activate knowledgeagents
To build all compilation artifacts (without tests), you can invoke
./mvnw -s settings.xml install -DskipTests
To build all compilation artifacts (including tests), you can invoke
./mvnw -s settings.xml install
To bundle all deployment artifacts for a particular platform (currently supported: linux/amd64 and linux/arm64), you can invoke
./mvnw -s settings.xml package -Pwith-docker-image -Dplatform=linux/amd64
To publish the artifacts, choose
./mvnw -s settings.xml deploy -Pwith-docker-image -Dplatform=linux/amd64
Knowledge Agents builds all containers using docker technology. The docker buildfiles are part of the respective source code repositories.
To build all artifacts (including compilation artifacts, tests and container images with the default target platform linux/amd64), you can invoke
./mvnw -s settings.xml install -Pwith-docker-image
To build all artifacts especially for target platform linux/arm64, use this command
./mvnw -s settings.xml install -Dplatform=linux/arm64 -Pwith-docker-image
To register all artifacts (including compilation artifacts, tests and container images) into their respective registries, you can invoke
./mvnw -s settings.xml deploy -Pwith-docker-image
Agents KIT containers will be deployed very individually. We provide a sample environment (dataspace consisting of three business partners) using docker-compose (for local deployment) and helm (for cloud/cluster deployment) technology. The docker compose files and helm charts can be found in the infrastructure folder.
You may use/export/fork this online Postman Workspace/Collecion a copy of which is embedded here. It contains collection of sample interactions with the various sub-products in several environments (e.g. local, development and integration) and tailored to the sample dataspace. Also integrated there is a folder with the integrations tests which are scripted and consective Postman actions which test features and state changes within the target environment. This is used in the Github Integration Test Workflow.