Operationalise the MAS Guidelines on AI Risk Management (2026) for LLM and agentic AI systems: inventory, materiality, controls, evidence and audit packs.
pip install airmkit==0.1.1 Copy PIP instructions
📄 Read the paper on the web · ⬇️ Download the PDF · 📚 Documentation · 🤗 Dataset · 📋 One page for a CRO
Less than half of the MAS Guidelines can be checked by a machine. 45.1% of the 51 expectations admit a fully automated check. That share is 84.6% for inventory and materiality (Section 4) and 0% for AI oversight (Section 3).
The frameworks you already follow will not cover it. No single framework fully covers even half of the expectations. ISO/IEC 42001, the NIST AI RMF and the EU AI Act together leave 18 of 51 with no full mapping, and all six frameworks together still leave 10.
Automatability labels and crosswalk mappings are the author's own judgement, made by one annotator and not reviewed by MAS. Full method and limits are in the paper.
The Monetary Authority of Singapore issued its Guidelines on Artificial Intelligence Risk Management on 7 October 2026. Sections 3–4 — oversight, identification, inventory and risk materiality — bind from 7 October 2027; Sections 5–6 — lifecycle controls and capability — from 7 October 2028 (§1.8, as clarified by the Response to Feedback §13.5).
The Guidelines are thirty pages of principles, and the regulator is explicit that they prescribe no formula, metric or threshold. airmkit turns the principles into artefacts an engineer can produce and an auditor can read: a machine-readable clause catalogue, an AI inventory schema with first-class support for agents, a transparent risk-materiality rubric whose every signal cites a paragraph, a control catalogue in which every control cites the paragraph it serves, evidence records that cannot be quietly edited, and an audit pack. The same repository is a pre-registered study of how much of the Guidelines can be machine-checked, with every refutation reported.
Not affiliated with MAS. Not legal or regulatory advice. Independent open-source project. Every interpretation and every threshold is the authors'; MAS declines to prescribe materiality formulae, metrics or testing methodologies (Response to Feedback §7.19, §10.28, §10.66). See DISCLAIMER.md.
Most AI-governance tooling stops at a spreadsheet of policies. The hard part of these Guidelines is not writing the policy; it is answering three questions per use case, repeatedly, with evidence a supervisor can inspect:
airmkit answers all three from files in your repository, and prints the paragraph behind every answer.
pip install airmkit # core pip install "airmkit[evals]" # adapters for inspect-ai, deepeval, ragas, garak pip install "airmkit[report,docs]" # DOCX output and the docs site Python 3.11+. No GPU, no API key and no network access are needed for the core or for make reproduce.
airm init --institution "Merlion Commercial Bank" # scaffold a register and rubric airm scan . --out candidates.yaml # find AI already in your code and configs airm report --register ai-inventory.yaml --out audit-pack/ The third command writes the audit pack: an inventory register, a materiality report, a control-applicability statement, a gap analysis by effective date and a one-page board summary.
$ airm assess --register examples/synthetic_bank/ai-inventory.yaml Use case Impact Complexity Reliance Inherent Residual ───────────────────────────────────────────────────────────────────────────────────────── credit-decision-model critical medium high Critical High aml-alert-triage high medium medium High Medium kyc-document-agent high critical high Critical High policy-rag-assistant low medium low Medium Low ... Rubric: default-v1 · dimensions MAS-AIRM §4.12(a)-(c) · tiering is this toolkit's proposal $ airm check --register examples/synthetic_bank/ai-inventory.yaml --use-case kyc-document-agent FAIL AIRM-5.15-GUARDRAIL-EFFECTIVENESS guardrail 'injection filter' has no effectiveness test MAS-AIRM §5.15, §5.15 fn46 · auto ATTEST AIRM-5.19-INDEPENDENT-VALIDATION validator must be independent of dev and deployment MAS-AIRM §5.19 · semi · inherent tier Critical PASS AIRM-4.8-FN25-AGENT-ATTRIBUTES agent identifier, tools, components, guardrails present MAS-AIRM §4.8 fn25 · auto A semi control never reports PASS: when its automated check succeeds, the outcome is NEEDS_ATTESTATION, because the toolkit has confirmed that the artefact exists and is current but cannot judge whether it is adequate. Read that count as a work queue, not a failure count; airm check exits non-zero only on a genuine FAIL.
Full documentation — a concepts guide, the CLI reference, a cookbook and the generated clause index — is at https://thanatchon36.github.io/airmkit/ (make docs builds it locally).
Operationalising the MAS Guidelines on AI Risk Management for LLM and Agentic Systems: A Machine-Checkable Control Catalogue and Pre-registered Empirical Study.
The manuscript was written by Claude Fable 5.1 from the author's catalogue, experiments and result files, under the constraint that every number is injected and every refutation and instrument defect is reported; the author reviewed it and is responsible for its content (see the paper's acknowledgements).
Five research questions, thresholds fixed in docs/RESEARCH_QUESTIONS.md before the experiments ran. Of 17 hypotheses, 10 held and 7 were refuted; all of them are reported with the thresholds they failed.
make reproduce # rebuilds every table and figure from the committed sources, no hosted API make quick # under 5 minutes, no model calls Results are in results/summary.json, the figures in results/figures/ with their captions, and make paper rebuilds the Markdown, the PDF and the web reader together, so the three cannot disagree.
Every paragraph of the Guidelines maps to the module, control and CLI command that implements it. The table is generated from the catalogue, never hand-maintained:
airm clauses --format markdown # or: make docs Development make setup # uv venv -p 3.11 and an editable install with every extra make quick # lint, fast tests and the worked example — under 5 minutes make test lint # full suite with coverage; ruff + mypy --strict make help # every target Generated files (schemas/, results/summary.json, paper/paper.md, paper/paper.pdf, docs/paper/index.html, docs/EXEC_SUMMARY.md, docs/posts/*.md, docs/clause-index.md) have staleness tests: edit the source, then run make schemas paper docs.
The most useful contributions are crosswalks to other regulators (HKMA, BNM, Bank of Thailand, APRA), eval adapters, and challenges to the interpretations in docs/INTERPRETATIONS.md — if you read a paragraph differently, open an issue and say which paragraph. See CONTRIBUTING.md.
@software{airmkit, author = {Chongmankhong, Thanatchon}, title = {airmkit: Operationalising the MAS Guidelines on AI Risk Management for LLM and Agentic Systems}, year = {2026}, url = {https://github.com/thanatchon36/airmkit}, doi = {10.5281/zenodo.23341671}, version = {0.1.1} } The DOI above is the concept DOI (always resolves to the latest version); v0.1.0 is 10.5281/zenodo.23341672. See CITATION.cff. Release notes are in CHANGELOG.md.
Both files in this release have provenance metadata.
api dev docs evals experiments ollama paper report
agentic-ai ai-governance compliance grc llm-evaluation mas model-risk
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
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.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.
Both files in this release have been uploaded with provenance metadata.
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.




