AI Atlas Nexus
👉 (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
- 🏗️ Ontology: one LinkML schema joins the risk view (taxonomies, risks, actions, controls, incidents) to the AI model view (systems, models, evaluations, adapters)
- 📚 Taxonomies: IBM AI Risk Atlas, Granite Guardian, ShieldGemma, MIT AI Risk Repository and mitigations, NIST AI RMF and GenAI Profile, AIR 2024, AILuminate, Credo UCF, AIUC-1, AEF-1, EU GPAI Code of Practice, California SB 53, CSA MAESTRO, Eticas, CSIRO Responsible AI Patterns, OWASP Top 10s (LLM, Agentic Applications, MCP, Agentic Skills), and the OECD, UN, Australian, IBM and RBI principles
- 🔗 Mappings: SSSOM crosswalks between taxonomies and between risks and actions, with LLM-proposed new mappings
- 🐍 Exploration: a Python API and a schema-generated
ran querycommand over risks, actions, controls, incidents, evaluations and datasets - 🚨 Detection: LLM identification of risks, actions, AI tasks and domains from a usecase, with severity and explanations, on WML, Ollama, vLLM, OpenAI, Bedrock, Hugging Face or RITS
- ✅ Conformance: SHACL validation and rule inference, and checks of evaluation engagements against standards such as AEF-1
- 📤 Export: YAML, OWL, Cypher, sigma.js JSON and LaTeX graphs, queryable with SPARQL through Pyoxigraph
- ✨ Assistance: chain-of-thought and few-shot completion of compliance questionnaires
- 🤗 Data loading: benchmark and evaluation data from Hugging Face
Architecture
Links
- AI Risk Ontology
- Notebooks:
- Quickstart Tour of the library
- Risk identification Risks for a usecase
- AI tasks, domains and capabilities Identification from a usecase
- Risk categorization Severity of usecase risks, with prompt templates from https://doi.org/10.48550/arXiv.2407.12454
- Auto assist questionnaire Chain-of-thought and few-shot answers
- Crosswalk, AIUC-1 crosswalk, preparing and evaluating mappings Relating taxonomies
- AEF-1 Minimum Operating Conditions Conformance of evaluation engagements
- Pyoxigraph Explorer and subgraph similarity SPARQL and graph comparison
- SHACL rule inference and certification portability Validation and inference
- Hugging Face data and schema viewer
- Risk to ARES Evaluation Robustness evaluation of AI systems derived from usecases
- Additional Resources:
- Demonstrations Demo applications.
- Extensions Extensions and a cookiecutter template for new ones.
- IBM AI Risk Atlas
- Usage Governance Advisor: From Intent to AI Governance
Installation
This project targets python version ">=3.11, <=3.14.7". You can download specific versions of python here: https://www.python.org/downloads/
Note: Replace INFERENCE_LIB with ollama, vllm, wml or bedrock (see inference APIs). OpenAI, Hugging Face and RITS need no extra.
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
Risk, task and domain identification call a Large Language Model (LLM). AI Atlas Nexus supports these inference APIs:
- IBM Watsonx AI (Watson Machine Learning)
- Ollama
- vLLM
- OpenAI (and OpenAI-compatible endpoints)
- AWS Bedrock
- Hugging Face Inference Providers
- RITS (IBM Internal Only)
IBM Watsonx AI (WML)
When using the WML platform, you need to:
- Add following variables to the configuration file
.envor 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.
- 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:
- Install Ollama dependencies as follows:
pip install -e ".[ollama]"
-
Please follow the quickstart guide to start Ollama LLM server. Server will start by default at http://localhost:11434
-
When selecting Ollama engine in AI Atlas Nexus, use the server address
localhost:11434as theapi_urlin the credentials or set the environment variableOLLAMA_API_URLwith this value. -
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_modelto False to disable this behavior.
vLLM
When using the vLLM inference, you need to:
-
For Mac users, follow the instuctions here. Users need to build from the source vLLM to natively run on macOS.
-
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.
- (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.
OpenAI
Set these in .env, in the environment, or in credentials:
OPENAI_API_KEY=<OpenAI api key goes here>
OPENAI_API_URL=<Optional, defaults to https://api.openai.com/v1; set it to use an OpenAI-compatible endpoint>
The base install is enough.
AWS Bedrock
Bedrock runs openai.* models through invoke_model.
- Set these in
.env, in the environment, or incredentials:
AWS_ACCESS_KEY_ID=<AWS access key id goes here>
AWS_SECRET_ACCESS_KEY=<AWS secret access key goes here>
AWS_DEFAULT_REGION=<Optional, defaults to us-east-1>
- Install Bedrock dependencies as follows:
pip install -e ".[bedrock]"
Hugging Face
Set these in .env, in the environment, or in credentials:
HF_TOKEN=<Hugging Face access token goes here>
HF_API_URL=<Optional, defaults to https://router.huggingface.co/v1>
HF_ORG=<Optional, organization to bill>
The base install is enough.
RITS (IBM Internal Only)
When using the RITS platform, you need to:
- Add configuration to
.envfile as follows:
RITS_API_KEY=<RITS api key goes here>
RITS_API_URL=<RITS url key goes here>
- The base install is enough.
Command line
ran query lists the records of the AI Atlas Nexus knowledge graph from a terminal. It has one command for each class of the ontology that holds records, named after the class in lower case, so RiskControl is riskcontrol. Each command lists the records of its class and of its subclasses. It has one option for each slot of the class, named as in the schema. The commands and options are built from the LinkML schema, so they change when the schema changes. The output is JSON, or YAML with --format yaml.
ran query risk --isDefinedByTaxonomy ibm-risk-atlas
ran query risk --id atlas-toxic-output --format yaml
ran query action --hasRelatedRisk credo-risk-036
The option of a multivalued slot can be repeated. A record must then hold every value. --base-dir, given before the command, adds the records in a directory of YAML files to the packaged ones, as AIAtlasNexus(base_dir) does. ran query --help lists the commands, and ran query risk --help lists the options of one command.
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
- Python >=3.11, <=3.14.7.
- View the releases changelog.
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
- Get started by checking our contribution guidelines.
- Read the documentation site for more technical and design details.
- If you have any questions, just ask!
- Contribute your own taxonomy files and CoT templates
Tip: Use the makefile provided to regenerate artifacts provided in the repository by running make in this repository.
Find out more
- Try out a quick demo at the HF spaces demo site
- Read the publication AI Risk Atlas: Taxonomy and Tooling for Navigating AI Risks and Resources
- Explore IBM's AI Risk Atlas on the IBM documentation site
- Read the the IBM AI Ethics Board publication Foundation models: Opportunities, risks and mitigations which goes into more detail about the risk taxonomy, and describes the point of view of IBM on the ethics of foundation models.
- 'Usage Governance Advisor: From Intent to AI Governance' presents a system for semi-structured governance information, identifying and prioritising risks according to the intended use case, recommending appropriate benchmarks and risk assessments and proposing mitigation strategies and actions.
IBM ❤️ Open Source AI
AI Atlas Nexus has been brought to you by IBM.
Metadata
Release files for ai-atlas-nexus 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_atlas_nexus-2.0.0.tar.gz | 787.4 kB | Without provenance | Details for ai_atlas_nexus-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_atlas_nexus-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for ai_atlas_nexus-2.0.0-py3-none-any.whl |
Total release size: 1.7 MB
Release files / ai_atlas_nexus-2.0.0.tar.gz
| Download URL | ai_atlas_nexus-2.0.0.tar.gz |
|---|---|
| Size | 787.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d16cf5d5a46f022c0f0a1d3994edede683f77247374bf00e5b744b886245469
|
|
BLAKE2b-256 checksum How to use checksums |
2577c567b1908aa4ef0940fff5278de5091ee1f6a0cf39757c01f0f4ad2812f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / ai_atlas_nexus-2.0.0-py3-none-any.whl
| Download URL | ai_atlas_nexus-2.0.0-py3-none-any.whl |
|---|---|
| Size | 878.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
814eb524c6db83fb53d945609cb8233d445941d2873c115922a37f6d45fd7236
|
|
BLAKE2b-256 checksum How to use checksums |
7b129f40fe59400bc2bf93f5de239f4c53e8cb79292c91cc864b8ee95d423d32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for ai-atlas-nexus 2.0.0
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.