How to compare two AI system inventory exports A developer building Northstar, an AI system inventory tool, published a Python script that diffs two CSV exports of an AI register by system ID, flagging added, removed and changed records across fields such as owner, purpose, assessment basis and sign-off. The walkthrough uses a free sample inventory with three fictional systems and demonstrates detecting an owner change on a 'Recruiter Screener' entry, citing NIST's AI Risk Management Framework playbook on keeping inventories tied to risk records. An AI register can look complete while the tools in it have already changed. A vendor can turn on CV ranking by default, or a team can start using an assistant for a different decision. When you review the register again, you need to see which records changed and which evidence to revisit. Keep two exports from the same workspace. Match on the system ID so you can still find a record after someone renames it. Compare the owner, intended use, assessment basis and sign-off, then ask the owner to confirm what changed in the actual tool. I’m building Northstar. Its free sample AI system inventory https://northstar.builtbyangelo.co/ai-system-inventory-template.html?utm source=devto&utm medium=article&utm campaign=inventory changes uses the same columns as its workspace export and includes three fictional systems. Download it twice, save the files as before.csv and after.csv , and change a field in the second file. This example reads both files without changing either of them. Save it as compare inventory.py and run it with python3 compare inventory.py . python import csv FIELDS = "name", "owner", "purpose", "status", "tier", "role", "basis", "last assessed as of", "ruleset", "signed by", def load inventory path : inventory = {} with open path, encoding="utf-8-sig", newline="" as file: for row in csv.DictReader file : system id = row "system id" .strip if not system id or system id in inventory: raise ValueError f"Missing or repeated system ID in {path}" inventory system id = row return inventory before = load inventory "before.csv" after = load inventory "after.csv" for system id in sorted before.keys | after.keys : previous = before.get system id current = after.get system id if previous is None: print f"{system id} added {current 'name' }" elif current is None: print f"{system id} missing from new export {previous 'name' }" else: for field in FIELDS: if previous field = current field : print f"{system id} {field} {previous field } → {current field }" If you change Recruiter Screener’s owner from Head of People to Recruitment Operations Lead in after.csv , you’ll get this result. 1 owner Head of People → Recruitment Operations Lead NIST’s AI Risk Management Framework playbook https://airc.nist.gov/airmf-resources/playbook/govern/ describes keeping an inventory that connects AI systems to the records needed to manage their risks. If you already have a register, try this on one workflow before comparing everything. This walkthrough was drafted with Codex. The comparison was run locally on the fictional sample and does not use applicant or customer data.