Skip to main content

AI Atlas Nexus

License: Apache 2.0 main branch Code style: black

👉 (Jun-2025) The demo projects repository showcases implementations of AI Atlas Nexus.

Overview

AI Atlas Nexus provides tooling to bring together resources related to governance of foundation models. We support a community-driven approach to curating and cataloguing resources such as datasets, benchmarks and mitigations. Our goal is to turn abstract risk definitions into actionable workflows that streamline AI governance processes. By connecting fragmented resources, AI Atlas Nexus seeks to fill a critical gap in AI governance, enabling stakeholders to build more robust, transparent, and accountable systems. AI Atlas Nexus builds on the IBM AI Risk Atlas making this educational resource a nexus of governance assets and tooling. A knowledge graph of an AI system is used to provide a unified structure that links and contextualizes the very heterogeneous domain data.

Our intention is to create a starting point for an open AI Systems ontology whose focus is on risk and that the community can extend and enhance. This ontology serves as the foundation that unifies innovation and tooling in the AI risk space. By lowering the barrier to entry for developers, it fosters a governance-first approach to AI solutions, while also inviting the broader community to contribute their own tools and methodologies to expand its impact.

Features

  • 🏗️ An ontology that combines the AI risk view (taxonomies, risks, actions) with an AI model view (AI systems, AI models, model evaluations) into one coherent schema
  • 📚 AI Risks collected from IBM AI Risk Atlas, IBM Granite Guardian, MIT AI Risk Repository, NIST Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile, the AI Risk Taxonomy (AIR 2024), the AILuminate Benchmark, Credo's Unified Control Framework, OWASP Top 10 for Large Language Model Applications, OWASP Top 10 for Agentic Applications, and OWASP Agentic Skills Top 10
  • 🔗 Mappings are proposed between the taxonomies and between risks and actions
  • 🐍 Use the python library methods to quickly explore available risks, relations and actions
  • 🚨 Use the python library methods to detect potential risks in your usecase
  • 📤 Download an exported graph populated with data instances
  • ✨ Example use-case of auto-assistance in compliance questionnaires using CoT examples and AI Atlas Nexus
  • 🔧 Tooling to convert the LinkML schema and instance data into a Cypher representation to populate a graph database

Architecture

Architecture

Installation

This project targets python version ">=3.11, <3.12". You can download specific versions of python here: https://www.python.org/downloads/

Note: Replace INFERENCE_LIB with one of the LLM inference library [ollama, vllm, wml, rits] as explained here

To install the current release

pip install "ai-atlas-nexus[INFERENCE_LIB]"

To install the latest code

git clone git@github.com:IBM/ai-atlas-nexus.git
cd ai-atlas-nexus
python -m venv v-ai-atlas-nexus
source v-ai-atlas-nexus/bin/activate
pip install -e ".[INFERENCE_LIB]"

Install for inference APIs

AI Atlas Nexus uses Large Language Models (LLMs) to infer risks and risks data. Therefore, requires access to LLMs to inference or call the model. The following LLM inference APIs are supported:

IBM Watsonx AI (WML)

When using the WML platform, you need to:

  1. Add following variables to the configuration file .env or set them as environment variables. Please follow this documentation on obtaining WML credentials.
WML_API_KEY=<WML api key goes here>
WML_API_URL=<WML url key goes here>
WML_PROJECT_ID=<WML project id goes here, Optional>
WML_SPACE_ID=<WML space id goes here, Optional>

Either 'WML_PROJECT_ID' or 'WML_SPACE_ID' need to be specified.

  1. Install WML dependencies as follows:
pip install -e ".[wml]"

Note: WML utilizes the function-calling feature for structured outputs. Since the AI Atlas Nexus APIs extensively use structured output, your WML model must support tool calling to be compatible with the AI Atlas Nexus APIs.

Ollama

When using the Ollama inference, you need to:

  1. Install Ollama dependencies as follows:
pip install -e ".[ollama]"
  1. Please follow the quickstart guide to start Ollama LLM server. Server will start by default at http://localhost:11434

  2. When selecting Ollama engine in AI Atlas Nexus, use the server address localhost:11434 as the api_url in the credentials or set the environment variable OLLAMA_API_URL with this value.

  3. The API will automatically download the OLLAMA model if it is not present. Large models may take a long time to download. Set auto_download_model to False to disable this behavior.

vLLM

When using the vLLM inference, you need to:

  1. For Mac users, follow the instuctions here. Users need to build from the source vLLM to natively run on macOS.

  2. For Linux users, install vLLM dependencies as follows:

pip install -e ".[vllm]"

Above package is enough to run vLLM in once-off offline mode. When selecting vLLM execution from AI Atlas Nexus, credentials should be passed as None to use vLLM offline mode.

  1. (Optional) To run vLLM on an OpenAI-Compatible vLLM Server, execute the command:
vllm serve ibm-granite/granite-3.1-8b-instruct --max_model_len 4096 --host localhost --port 8000 --api-key <CUSTOM_API_KEY>

The CUSTOM_API_KEY can be any string that you choose to use as your API key. Above command will start vLLM server at http://localhost:8000. The server currently hosts one model at a time. Check all supported APIs at http://localhost:8000/docs

Note: When selecting vLLM engine in AI Atlas Nexus, pass api_url as host:port and given api_key to credentials with values from the vllm serve command above.

RITS (IBM Internal Only)

When using the RITS platform, you need to:

  1. Add configuration to .env file as follows:
RITS_API_KEY=<RITS api key goes here>
RITS_API_URL=<RITS url key goes here>
  1. Install RITS dependencies as follows:
pip install -e ".[rits]"

AI Atlas Nexus Extensions

Install AI Atlas Nexus extension using the below command

ran-extension install <EXTENSION_NAME>

Currently, following extensions are available

  • ran-ares-integration: ARES Integration for AI Atlas Nexus to run AI robustness evaluations on AI Systems derived from use cases.

Compatibility

Referencing the project

If you use AI Atlas Nexus in your projects, please consider citing the following:

@article{airiskatlas2025,
      title={AI Risk Atlas: Taxonomy and Tooling for Navigating AI Risks and Resources},
      author={Frank Bagehorn and Kristina Brimijoin and Elizabeth M. Daly and Jessica He and Michael Hind and Luis Garces-Erice and Christopher Giblin and Ioana Giurgiu and Jacquelyn Martino and Rahul Nair and David Piorkowski and Ambrish Rawat and John Richards and Sean Rooney and Dhaval Salwala and Seshu Tirupathi and Peter Urbanetz and Kush R. Varshney and Inge Vejsbjerg and Mira L. Wolf-Bauwens},
      year={2025},
      eprint={2503.05780},
      archivePrefix={arXiv},
      primaryClass={cs.CY},
      url={https://arxiv.org/abs/2503.05780}
}

License

AI Atlas Nexus is provided under Apache 2.0 license.

Contributing

Tip: Use the makefile provided to regenerate artifacts provided in the repository by running make in this repository.

Find out more

IBM ❤️ Open Source AI

AI Atlas Nexus has been brought to you by IBM.

Metadata

Release files for ai-atlas-nexus 1.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-atlas-nexus 1.2.5
File Size Uploaded Provenance Actions
ai_atlas_nexus-1.2.5.tar.gz 587.2 kB Without provenance Details for ai_atlas_nexus-1.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-atlas-nexus 1.2.5
File Interpreter ABI Platform Actions
ai_atlas_nexus-1.2.5-py3-none-any.whl Python 3 none any Details for ai_atlas_nexus-1.2.5-py3-none-any.whl

Total release size: 1.2 MB

Release files / ai_atlas_nexus-1.2.5.tar.gz

Download URL ai_atlas_nexus-1.2.5.tar.gz
Size 587.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e1394ab91e2971e1ff94bdd696d0f651d755739ac6d3e3051ea5e425a82f16a3
BLAKE2b-256 checksum
How to use checksums
c10796eedef9cf2898bdabc2697a652eb4267dcf3165bc1e41e9591b161234d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.11

Release files / ai_atlas_nexus-1.2.5-py3-none-any.whl

Download URL ai_atlas_nexus-1.2.5-py3-none-any.whl
Size 660.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e65e42e70b49820762ca82cb23a48f8a79b6984abe951ec2087305857d0b642d
BLAKE2b-256 checksum
How to use checksums
95aa67fb3a756df419edf1e38ef313bd2bc6d104160269c19a9320a7f8564890
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.11

Security for ai-atlas-nexus 1.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page