aigis-cli 2.0.1__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. aigis_cli-2.0.2/PKG-INFO +133 -0
  2. aigis_cli-2.0.2/README.md +106 -0
  3. aigis_cli-2.0.2/aigis_cli.egg-info/PKG-INFO +133 -0
  4. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/pyproject.toml +1 -1
  5. aigis_cli-2.0.1/PKG-INFO +0 -59
  6. aigis_cli-2.0.1/README.md +0 -32
  7. aigis_cli-2.0.1/aigis_cli.egg-info/PKG-INFO +0 -59
  8. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/LICENSE +0 -0
  9. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/SKILL.md +0 -0
  10. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/__init__.py +0 -0
  11. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/annotate.py +0 -0
  12. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/auto_verify.py +0 -0
  13. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/build.py +0 -0
  14. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/checksum.py +0 -0
  15. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/classify.py +0 -0
  16. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/cli.py +0 -0
  17. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/index/audit-scan.md +0 -0
  18. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/index/auto-verify-rules.json +0 -0
  19. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/index/context-rules.json +0 -0
  20. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/index/frameworks.md +0 -0
  21. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/index/guardrails.json +0 -0
  22. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/index/taxonomy.md +0 -0
  23. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/resolvers/triggers.json +0 -0
  24. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/audit-logging.md +0 -0
  25. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/bias-monitoring.md +0 -0
  26. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/confidence-scoring.md +0 -0
  27. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/data-integrity.md +0 -0
  28. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/explainability.md +0 -0
  29. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/fallback-patterns.md +0 -0
  30. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/human-oversight.md +0 -0
  31. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/input-validation.md +0 -0
  32. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/monitoring.md +0 -0
  33. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/output-sanitization.md +0 -0
  34. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/pii-handling.md +0 -0
  35. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/prompt-security.md +0 -0
  36. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/rag-security.md +0 -0
  37. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/rate-limiting.md +0 -0
  38. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/areas/supply-chain.md +0 -0
  39. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/core.md +0 -0
  40. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/infrastructure/logging.md +0 -0
  41. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/infrastructure/rate-limiting.md +0 -0
  42. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/infrastructure/secrets.md +0 -0
  43. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/skills/workflows/fastapi-llm.md +0 -0
  44. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/templates/ai-impact-assessment.md +0 -0
  45. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/templates/intended-purpose-doc.md +0 -0
  46. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/templates/risk-characterization.md +0 -0
  47. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/templates/third-party-assessment.md +0 -0
  48. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-audit-logging.md +0 -0
  49. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-bias-monitoring.md +0 -0
  50. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-confidence-scoring.md +0 -0
  51. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-data-integrity.md +0 -0
  52. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-explainability.md +0 -0
  53. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-fallback-patterns.md +0 -0
  54. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-human-oversight.md +0 -0
  55. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-input-validation.md +0 -0
  56. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-monitoring.md +0 -0
  57. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-output-sanitization.md +0 -0
  58. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-pii-handling.md +0 -0
  59. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-prompt-security.md +0 -0
  60. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-rag-security.md +0 -0
  61. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-rate-limiting.md +0 -0
  62. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/content/verify/checklist-supply-chain.md +0 -0
  63. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/fetch.py +0 -0
  64. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/init_ide.py +0 -0
  65. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/keywords.py +0 -0
  66. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli/search.py +0 -0
  67. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli.egg-info/SOURCES.txt +0 -0
  68. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli.egg-info/dependency_links.txt +0 -0
  69. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli.egg-info/entry_points.txt +0 -0
  70. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli.egg-info/requires.txt +0 -0
  71. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/aigis_cli.egg-info/top_level.txt +0 -0
  72. {aigis_cli-2.0.1 → aigis_cli-2.0.2}/setup.cfg +0 -0
@@ -0,0 +1,133 @@
1
+ Metadata-Version: 2.4
2
+ Name: aigis-cli
3
+ Version: 2.0.2
4
+ Summary: AI governance guardrails for coding agents. Framework-aligned security and compliance patterns from NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/NayanKanaparthi/aigis
7
+ Project-URL: Repository, https://github.com/NayanKanaparthi/aigis
8
+ Keywords: ai,governance,security,compliance,llm,owasp,nist,iso42001,guardrails,coding-agent
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Topic :: Security
17
+ Classifier: Topic :: Software Development :: Quality Assurance
18
+ Requires-Python: >=3.9
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: click>=8.0
22
+ Requires-Dist: rich>=13.0
23
+ Requires-Dist: python-frontmatter>=1.0
24
+ Provides-Extra: dev
25
+ Requires-Dist: build>=1.0; extra == "dev"
26
+ Dynamic: license-file
27
+
28
+ # Aigis
29
+
30
+ **AI governance that ships with your code.**
31
+
32
+ Aigis is a command-line tool that gives coding agents like Cursor, Claude Code, GitHub Copilot, and Windsurf curated AI governance patterns mapped to NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
33
+
34
+ You describe what you're building. Aigis classifies it against the frameworks that apply. Your agent pulls the right governance patterns and implements them. One command verifies the result.
35
+
36
+ ## Install
37
+
38
+ ```bash
39
+ npm install -g @aigis-ai/cli
40
+ # or
41
+ pip install aigis-cli
42
+ ```
43
+
44
+ Verify:
45
+
46
+ ```bash
47
+ aigis --version
48
+ # 2.0.1
49
+ ```
50
+
51
+ ## Quick start
52
+
53
+ ```bash
54
+ aigis build "customer support chatbot with order history lookup"
55
+ ```
56
+
57
+ Aigis will classify the description against NIST, OWASP, and ISO frameworks, identify relevant governance areas (PII handling, rate limiting, audit logging, prompt security), and produce a consolidated brief your agent can implement from.
58
+
59
+ Paste the brief into your coding agent's chat. The agent implements the patterns. Then:
60
+
61
+ ```bash
62
+ aigis verify <area> --auto .
63
+ ```
64
+
65
+ Runs deterministic checks on the implementation.
66
+
67
+ ## What's new in v2.0
68
+
69
+ - **`aigis build`** — new command that produces one consolidated governance brief per project
70
+ - **Infrastructure content** — production-ready patterns for rate limiting, secrets management, and structured logging
71
+ - **Curated resolver** — 39 high-signal triggers mapped to traits, with interactive confirmation for low-confidence matches
72
+ - **Content architecture redesign** — areas, workflows, and infrastructure separated into layered skills, built around how modern AI agents actually read context
73
+
74
+ ## How Aigis is different
75
+
76
+ **Structured.** Aigis is a compiler for agent instructions, not a prompt. The resolver uses deterministic rules. The procedures have explicit verification checkpoints. Brief generation is fully deterministic — same description produces byte-identical output.
77
+
78
+ **Honest.** Every iteration of v2.0 was benchmarked. The final numbers, against the same 10 descriptions:
79
+
80
+ - Baseline (no Aigis): P=0.737, R=0.905, F1=0.790
81
+ - v2.0 (aigis build): P=0.847, R=0.851, F1=0.837
82
+
83
+ F1 beats baseline by +0.047. Precision improved by +15%. Methodology and per-run tables live in `benchmarks/`.
84
+
85
+ **Open source.** Local. Never calls external LLMs. Never writes files to your project. Your code, your tools, your accountability.
86
+
87
+ ## The principle behind Aigis
88
+
89
+ Governance isn't a content problem. It's an interface problem.
90
+
91
+ AI governance frameworks exist. NIST AI RMF, OWASP Top 10 for LLMs, ISO/IEC 42001 — all rigorous, all published, all sitting in documents that engineering teams never read.
92
+
93
+ Aigis treats governance as an agent-computer interface problem. Context layered for on-demand loading. Deterministic rules where accuracy isn't negotiable. Flexible reasoning where real projects don't fit rigid templates.
94
+
95
+ Inspired by [SWE-agent's work on agent-computer interfaces](https://arxiv.org/abs/2405.15793) — the idea that how information reaches an LM agent matters as much as what reaches it.
96
+
97
+ ## Commands
98
+
99
+ ```bash
100
+ aigis build "<description>" # Generate governance brief (the main command)
101
+ aigis build "..." --list # List areas without full brief
102
+ aigis build "..." --compact # Pointer-only brief
103
+
104
+ aigis classify "<text>" # Classify traits from description
105
+ aigis get <area> # Fetch governance procedure for an area
106
+ aigis infra <area> # Fetch infrastructure pattern (rate-limiting, secrets, logging)
107
+ aigis workflow <type> # Fetch workflow template
108
+
109
+ aigis verify <area> --auto . # Run deterministic checks on your implementation
110
+ aigis audit . # Summary audit of all implemented areas
111
+ aigis search --list # List all available areas
112
+ ```
113
+
114
+ Run `aigis --help` for full options.
115
+
116
+ ## Supported agents
117
+
118
+ - Cursor
119
+ - Claude Code
120
+ - GitHub Copilot
121
+ - Windsurf
122
+
123
+ Run `aigis init <ide>` to set up your IDE rules. The resolver's trigger reference is embedded in the rules file with a checksum that automatically refreshes on `aigis init --refresh`.
124
+
125
+ ## Contributing
126
+
127
+ Aigis is built around a curated trigger map for classification. Trigger contributions are welcome, with one-sentence use-case justification per the template in `.github/PULL_REQUEST_TEMPLATE/trigger_mapping.md`.
128
+
129
+ See `CONTRIBUTING.md` for the full contributor workflow, including how to add new governance areas, workflows, or infrastructure patterns.
130
+
131
+ ## License
132
+
133
+ MIT
@@ -0,0 +1,106 @@
1
+ # Aigis
2
+
3
+ **AI governance that ships with your code.**
4
+
5
+ Aigis is a command-line tool that gives coding agents like Cursor, Claude Code, GitHub Copilot, and Windsurf curated AI governance patterns mapped to NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
6
+
7
+ You describe what you're building. Aigis classifies it against the frameworks that apply. Your agent pulls the right governance patterns and implements them. One command verifies the result.
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ npm install -g @aigis-ai/cli
13
+ # or
14
+ pip install aigis-cli
15
+ ```
16
+
17
+ Verify:
18
+
19
+ ```bash
20
+ aigis --version
21
+ # 2.0.1
22
+ ```
23
+
24
+ ## Quick start
25
+
26
+ ```bash
27
+ aigis build "customer support chatbot with order history lookup"
28
+ ```
29
+
30
+ Aigis will classify the description against NIST, OWASP, and ISO frameworks, identify relevant governance areas (PII handling, rate limiting, audit logging, prompt security), and produce a consolidated brief your agent can implement from.
31
+
32
+ Paste the brief into your coding agent's chat. The agent implements the patterns. Then:
33
+
34
+ ```bash
35
+ aigis verify <area> --auto .
36
+ ```
37
+
38
+ Runs deterministic checks on the implementation.
39
+
40
+ ## What's new in v2.0
41
+
42
+ - **`aigis build`** — new command that produces one consolidated governance brief per project
43
+ - **Infrastructure content** — production-ready patterns for rate limiting, secrets management, and structured logging
44
+ - **Curated resolver** — 39 high-signal triggers mapped to traits, with interactive confirmation for low-confidence matches
45
+ - **Content architecture redesign** — areas, workflows, and infrastructure separated into layered skills, built around how modern AI agents actually read context
46
+
47
+ ## How Aigis is different
48
+
49
+ **Structured.** Aigis is a compiler for agent instructions, not a prompt. The resolver uses deterministic rules. The procedures have explicit verification checkpoints. Brief generation is fully deterministic — same description produces byte-identical output.
50
+
51
+ **Honest.** Every iteration of v2.0 was benchmarked. The final numbers, against the same 10 descriptions:
52
+
53
+ - Baseline (no Aigis): P=0.737, R=0.905, F1=0.790
54
+ - v2.0 (aigis build): P=0.847, R=0.851, F1=0.837
55
+
56
+ F1 beats baseline by +0.047. Precision improved by +15%. Methodology and per-run tables live in `benchmarks/`.
57
+
58
+ **Open source.** Local. Never calls external LLMs. Never writes files to your project. Your code, your tools, your accountability.
59
+
60
+ ## The principle behind Aigis
61
+
62
+ Governance isn't a content problem. It's an interface problem.
63
+
64
+ AI governance frameworks exist. NIST AI RMF, OWASP Top 10 for LLMs, ISO/IEC 42001 — all rigorous, all published, all sitting in documents that engineering teams never read.
65
+
66
+ Aigis treats governance as an agent-computer interface problem. Context layered for on-demand loading. Deterministic rules where accuracy isn't negotiable. Flexible reasoning where real projects don't fit rigid templates.
67
+
68
+ Inspired by [SWE-agent's work on agent-computer interfaces](https://arxiv.org/abs/2405.15793) — the idea that how information reaches an LM agent matters as much as what reaches it.
69
+
70
+ ## Commands
71
+
72
+ ```bash
73
+ aigis build "<description>" # Generate governance brief (the main command)
74
+ aigis build "..." --list # List areas without full brief
75
+ aigis build "..." --compact # Pointer-only brief
76
+
77
+ aigis classify "<text>" # Classify traits from description
78
+ aigis get <area> # Fetch governance procedure for an area
79
+ aigis infra <area> # Fetch infrastructure pattern (rate-limiting, secrets, logging)
80
+ aigis workflow <type> # Fetch workflow template
81
+
82
+ aigis verify <area> --auto . # Run deterministic checks on your implementation
83
+ aigis audit . # Summary audit of all implemented areas
84
+ aigis search --list # List all available areas
85
+ ```
86
+
87
+ Run `aigis --help` for full options.
88
+
89
+ ## Supported agents
90
+
91
+ - Cursor
92
+ - Claude Code
93
+ - GitHub Copilot
94
+ - Windsurf
95
+
96
+ Run `aigis init <ide>` to set up your IDE rules. The resolver's trigger reference is embedded in the rules file with a checksum that automatically refreshes on `aigis init --refresh`.
97
+
98
+ ## Contributing
99
+
100
+ Aigis is built around a curated trigger map for classification. Trigger contributions are welcome, with one-sentence use-case justification per the template in `.github/PULL_REQUEST_TEMPLATE/trigger_mapping.md`.
101
+
102
+ See `CONTRIBUTING.md` for the full contributor workflow, including how to add new governance areas, workflows, or infrastructure patterns.
103
+
104
+ ## License
105
+
106
+ MIT
@@ -0,0 +1,133 @@
1
+ Metadata-Version: 2.4
2
+ Name: aigis-cli
3
+ Version: 2.0.2
4
+ Summary: AI governance guardrails for coding agents. Framework-aligned security and compliance patterns from NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
5
+ License-Expression: MIT
6
+ Project-URL: Homepage, https://github.com/NayanKanaparthi/aigis
7
+ Project-URL: Repository, https://github.com/NayanKanaparthi/aigis
8
+ Keywords: ai,governance,security,compliance,llm,owasp,nist,iso42001,guardrails,coding-agent
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Topic :: Security
17
+ Classifier: Topic :: Software Development :: Quality Assurance
18
+ Requires-Python: >=3.9
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Requires-Dist: click>=8.0
22
+ Requires-Dist: rich>=13.0
23
+ Requires-Dist: python-frontmatter>=1.0
24
+ Provides-Extra: dev
25
+ Requires-Dist: build>=1.0; extra == "dev"
26
+ Dynamic: license-file
27
+
28
+ # Aigis
29
+
30
+ **AI governance that ships with your code.**
31
+
32
+ Aigis is a command-line tool that gives coding agents like Cursor, Claude Code, GitHub Copilot, and Windsurf curated AI governance patterns mapped to NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
33
+
34
+ You describe what you're building. Aigis classifies it against the frameworks that apply. Your agent pulls the right governance patterns and implements them. One command verifies the result.
35
+
36
+ ## Install
37
+
38
+ ```bash
39
+ npm install -g @aigis-ai/cli
40
+ # or
41
+ pip install aigis-cli
42
+ ```
43
+
44
+ Verify:
45
+
46
+ ```bash
47
+ aigis --version
48
+ # 2.0.1
49
+ ```
50
+
51
+ ## Quick start
52
+
53
+ ```bash
54
+ aigis build "customer support chatbot with order history lookup"
55
+ ```
56
+
57
+ Aigis will classify the description against NIST, OWASP, and ISO frameworks, identify relevant governance areas (PII handling, rate limiting, audit logging, prompt security), and produce a consolidated brief your agent can implement from.
58
+
59
+ Paste the brief into your coding agent's chat. The agent implements the patterns. Then:
60
+
61
+ ```bash
62
+ aigis verify <area> --auto .
63
+ ```
64
+
65
+ Runs deterministic checks on the implementation.
66
+
67
+ ## What's new in v2.0
68
+
69
+ - **`aigis build`** — new command that produces one consolidated governance brief per project
70
+ - **Infrastructure content** — production-ready patterns for rate limiting, secrets management, and structured logging
71
+ - **Curated resolver** — 39 high-signal triggers mapped to traits, with interactive confirmation for low-confidence matches
72
+ - **Content architecture redesign** — areas, workflows, and infrastructure separated into layered skills, built around how modern AI agents actually read context
73
+
74
+ ## How Aigis is different
75
+
76
+ **Structured.** Aigis is a compiler for agent instructions, not a prompt. The resolver uses deterministic rules. The procedures have explicit verification checkpoints. Brief generation is fully deterministic — same description produces byte-identical output.
77
+
78
+ **Honest.** Every iteration of v2.0 was benchmarked. The final numbers, against the same 10 descriptions:
79
+
80
+ - Baseline (no Aigis): P=0.737, R=0.905, F1=0.790
81
+ - v2.0 (aigis build): P=0.847, R=0.851, F1=0.837
82
+
83
+ F1 beats baseline by +0.047. Precision improved by +15%. Methodology and per-run tables live in `benchmarks/`.
84
+
85
+ **Open source.** Local. Never calls external LLMs. Never writes files to your project. Your code, your tools, your accountability.
86
+
87
+ ## The principle behind Aigis
88
+
89
+ Governance isn't a content problem. It's an interface problem.
90
+
91
+ AI governance frameworks exist. NIST AI RMF, OWASP Top 10 for LLMs, ISO/IEC 42001 — all rigorous, all published, all sitting in documents that engineering teams never read.
92
+
93
+ Aigis treats governance as an agent-computer interface problem. Context layered for on-demand loading. Deterministic rules where accuracy isn't negotiable. Flexible reasoning where real projects don't fit rigid templates.
94
+
95
+ Inspired by [SWE-agent's work on agent-computer interfaces](https://arxiv.org/abs/2405.15793) — the idea that how information reaches an LM agent matters as much as what reaches it.
96
+
97
+ ## Commands
98
+
99
+ ```bash
100
+ aigis build "<description>" # Generate governance brief (the main command)
101
+ aigis build "..." --list # List areas without full brief
102
+ aigis build "..." --compact # Pointer-only brief
103
+
104
+ aigis classify "<text>" # Classify traits from description
105
+ aigis get <area> # Fetch governance procedure for an area
106
+ aigis infra <area> # Fetch infrastructure pattern (rate-limiting, secrets, logging)
107
+ aigis workflow <type> # Fetch workflow template
108
+
109
+ aigis verify <area> --auto . # Run deterministic checks on your implementation
110
+ aigis audit . # Summary audit of all implemented areas
111
+ aigis search --list # List all available areas
112
+ ```
113
+
114
+ Run `aigis --help` for full options.
115
+
116
+ ## Supported agents
117
+
118
+ - Cursor
119
+ - Claude Code
120
+ - GitHub Copilot
121
+ - Windsurf
122
+
123
+ Run `aigis init <ide>` to set up your IDE rules. The resolver's trigger reference is embedded in the rules file with a checksum that automatically refreshes on `aigis init --refresh`.
124
+
125
+ ## Contributing
126
+
127
+ Aigis is built around a curated trigger map for classification. Trigger contributions are welcome, with one-sentence use-case justification per the template in `.github/PULL_REQUEST_TEMPLATE/trigger_mapping.md`.
128
+
129
+ See `CONTRIBUTING.md` for the full contributor workflow, including how to add new governance areas, workflows, or infrastructure patterns.
130
+
131
+ ## License
132
+
133
+ MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "aigis-cli"
7
- version = "2.0.1"
7
+ version = "2.0.2"
8
8
  description = "AI governance guardrails for coding agents. Framework-aligned security and compliance patterns from NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.9"
aigis_cli-2.0.1/PKG-INFO DELETED
@@ -1,59 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: aigis-cli
3
- Version: 2.0.1
4
- Summary: AI governance guardrails for coding agents. Framework-aligned security and compliance patterns from NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
5
- License-Expression: MIT
6
- Project-URL: Homepage, https://github.com/NayanKanaparthi/aigis
7
- Project-URL: Repository, https://github.com/NayanKanaparthi/aigis
8
- Keywords: ai,governance,security,compliance,llm,owasp,nist,iso42001,guardrails,coding-agent
9
- Classifier: Development Status :: 4 - Beta
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.9
13
- Classifier: Programming Language :: Python :: 3.10
14
- Classifier: Programming Language :: Python :: 3.11
15
- Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Topic :: Security
17
- Classifier: Topic :: Software Development :: Quality Assurance
18
- Requires-Python: >=3.9
19
- Description-Content-Type: text/markdown
20
- License-File: LICENSE
21
- Requires-Dist: click>=8.0
22
- Requires-Dist: rich>=13.0
23
- Requires-Dist: python-frontmatter>=1.0
24
- Provides-Extra: dev
25
- Requires-Dist: build>=1.0; extra == "dev"
26
- Dynamic: license-file
27
-
28
- # aigis-cli (Python)
29
-
30
- AI governance guardrails for coding agents. Python port of the [@aigis-ai/cli](https://www.npmjs.com/package/@aigis-ai/cli) npm package.
31
-
32
- Curated, agent-consumable security and compliance patterns from NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
33
-
34
- ## Install
35
-
36
- ```bash
37
- pip install aigis-cli
38
- ```
39
-
40
- ## Quick start
41
-
42
- ```bash
43
- aigis classify --traits uses-llm,processes-pii,accepts-user-input
44
- aigis get input-validation pii-handling
45
- aigis verify input-validation pii-handling
46
- aigis template ai-impact-assessment
47
- aigis audit --scan
48
- aigis search pii
49
- aigis traits
50
- aigis init cursor
51
- ```
52
-
53
- ## Documentation
54
-
55
- See the full documentation at [github.com/NayanKanaparthi/aigis](https://github.com/NayanKanaparthi/aigis).
56
-
57
- ## License
58
-
59
- [MIT](LICENSE)
aigis_cli-2.0.1/README.md DELETED
@@ -1,32 +0,0 @@
1
- # aigis-cli (Python)
2
-
3
- AI governance guardrails for coding agents. Python port of the [@aigis-ai/cli](https://www.npmjs.com/package/@aigis-ai/cli) npm package.
4
-
5
- Curated, agent-consumable security and compliance patterns from NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
6
-
7
- ## Install
8
-
9
- ```bash
10
- pip install aigis-cli
11
- ```
12
-
13
- ## Quick start
14
-
15
- ```bash
16
- aigis classify --traits uses-llm,processes-pii,accepts-user-input
17
- aigis get input-validation pii-handling
18
- aigis verify input-validation pii-handling
19
- aigis template ai-impact-assessment
20
- aigis audit --scan
21
- aigis search pii
22
- aigis traits
23
- aigis init cursor
24
- ```
25
-
26
- ## Documentation
27
-
28
- See the full documentation at [github.com/NayanKanaparthi/aigis](https://github.com/NayanKanaparthi/aigis).
29
-
30
- ## License
31
-
32
- [MIT](LICENSE)
@@ -1,59 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: aigis-cli
3
- Version: 2.0.1
4
- Summary: AI governance guardrails for coding agents. Framework-aligned security and compliance patterns from NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
5
- License-Expression: MIT
6
- Project-URL: Homepage, https://github.com/NayanKanaparthi/aigis
7
- Project-URL: Repository, https://github.com/NayanKanaparthi/aigis
8
- Keywords: ai,governance,security,compliance,llm,owasp,nist,iso42001,guardrails,coding-agent
9
- Classifier: Development Status :: 4 - Beta
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.9
13
- Classifier: Programming Language :: Python :: 3.10
14
- Classifier: Programming Language :: Python :: 3.11
15
- Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Topic :: Security
17
- Classifier: Topic :: Software Development :: Quality Assurance
18
- Requires-Python: >=3.9
19
- Description-Content-Type: text/markdown
20
- License-File: LICENSE
21
- Requires-Dist: click>=8.0
22
- Requires-Dist: rich>=13.0
23
- Requires-Dist: python-frontmatter>=1.0
24
- Provides-Extra: dev
25
- Requires-Dist: build>=1.0; extra == "dev"
26
- Dynamic: license-file
27
-
28
- # aigis-cli (Python)
29
-
30
- AI governance guardrails for coding agents. Python port of the [@aigis-ai/cli](https://www.npmjs.com/package/@aigis-ai/cli) npm package.
31
-
32
- Curated, agent-consumable security and compliance patterns from NIST AI RMF, OWASP Top 10 for LLMs, and ISO/IEC 42001.
33
-
34
- ## Install
35
-
36
- ```bash
37
- pip install aigis-cli
38
- ```
39
-
40
- ## Quick start
41
-
42
- ```bash
43
- aigis classify --traits uses-llm,processes-pii,accepts-user-input
44
- aigis get input-validation pii-handling
45
- aigis verify input-validation pii-handling
46
- aigis template ai-impact-assessment
47
- aigis audit --scan
48
- aigis search pii
49
- aigis traits
50
- aigis init cursor
51
- ```
52
-
53
- ## Documentation
54
-
55
- See the full documentation at [github.com/NayanKanaparthi/aigis](https://github.com/NayanKanaparthi/aigis).
56
-
57
- ## License
58
-
59
- [MIT](LICENSE)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes