Project description
Comply54
Open-source AI governance registry and tooling for African regulatory compliance.
How it relates to agt-policies-nigeria
kingztech2019/agt-policies-nigeria comply54
────────────────────────────────── ────────────────────────────────────
The policy SOURCE. The registry and tooling LAYER.
• 12 policy packs (YAML + Rego) ──▶ • registry.json indexes them by URL
• Cited in Microsoft AGT main ──▶ • adapters load them into any framework
• OPA tests (306 passing) ──▶ • schema validates them on every PR
• Stays at kingztech2019 forever ──▶ • comply54 never duplicates them
agt-policies-nigeria is where the policy files live — it is permanently cited in
Microsoft Agent-OS. That repo
will never move.
इससे जुड़ी जानकारी
comply54 is where the ecosystem lives — the registry, framework adapters, JSON Schema
validator, and CI tooling that makes those policies consumable from LangChain, CrewAI,
AutoGen, and any OPA pipeline. When new packs are contributed (Ghana DPA, Rwanda DPA,
ECOWAS), their policy files will live under packages/ in this repo.
Policy Packs (current)
All 12 current packs are sourced from kingztech2019/agt-policies-nigeria.
registry.json has the direct raw GitHub URLs for each.
Universal Agent Safety Controls
| Pack | Regulation | OWASP Ref |
|---|---|---|
| prompt-injection | OWASP Agentic AI — LLM01/ASI01 | LLM01 |
| pii-leakage | OWASP LLM06 | LLM06 |
| tool-permissions | OWASP LLM08 | LLM08 |
| human-approval | OWASP LLM09 | LLM09 |
| model-routing | OWASP LLM03/LLM05 | LLM03/LLM05 |
Nigerian Regulatory Packs
| Pack | Regulation | Authority |
|---|---|---|
| nigeria/ndpa | Nigeria Data Protection Act 2023 | NDPC |
| nigeria/cbn | CBN Transaction Limits & Tiered KYC | CBN |
| nigeria/bvn-nin | CBN BVN Framework; NIBSS Rules | CBN / NIBSS |
| nigeria/nfiu-aml | MLPPA 2022 / NFIU AML Guidelines | NFIU |
| nigeria/pos-geofencing | CBN Agent Banking Guidelines 2020 | CBN |
East Africa
| Pack | Regulation | Authority |
|---|---|---|
| kenya/kdpa | Kenya Data Protection Act 2019 | ODPC |
Southern Africa
| Pack | Regulation | Authority |
|---|---|---|
| south-africa/popia | POPIA Act 4 of 2013 | Information Regulator ZA |
Quick Start
With Microsoft Agent-OS (AGT)
from adapters.agt import load_jurisdiction
# Loads all packs for Nigeria + universal from agt-policies-nigeria (via raw GitHub URL)
policies = load_jurisdiction("NG")
for policy in policies:
result = policy.evaluate({"action": "export_data", "output": ""})
With LangChain / LangGraph
from adapters.langchain import compliance_node
# Pack source URL from registry.json
node = compliance_node([
"https://raw.githubusercontent.com/kingztech2019/agt-policies-nigeria/main/policies/ndpa-data-residency.yaml",
"https://raw.githubusercontent.com/kingztech2019/agt-policies-nigeria/main/policies/agent-pii-leakage.yaml",
])
graph.add_node("compliance", node)
With CrewAI
from adapters.crewai import build_tools_for_jurisdiction
tools = build_tools_for_jurisdiction("NG")
agent = Agent(role="Fintech Agent", tools=tools, ...)
With AutoGen
from adapters.autogen import check_all_packs
result = check_all_packs(jurisdiction="NG", action="send_to_external", output="user@example.com")
# {"overall": "block", "results": [...]}
</...
Leave a Reply