agent-guardian 1.0.0rc1__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 (269) hide show
  1. agent_guardian-1.0.0rc1/.gitignore +67 -0
  2. agent_guardian-1.0.0rc1/CITATION.cff +20 -0
  3. agent_guardian-1.0.0rc1/LICENSE +202 -0
  4. agent_guardian-1.0.0rc1/NOTICE +24 -0
  5. agent_guardian-1.0.0rc1/PKG-INFO +216 -0
  6. agent_guardian-1.0.0rc1/README.md +154 -0
  7. agent_guardian-1.0.0rc1/pyproject.toml +131 -0
  8. agent_guardian-1.0.0rc1/src/agent_guardian/__init__.py +305 -0
  9. agent_guardian-1.0.0rc1/src/agent_guardian/_version.py +3 -0
  10. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/__init__.py +61 -0
  11. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/base.py +90 -0
  12. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/code.py +215 -0
  13. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/framework/__init__.py +29 -0
  14. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/framework/adk.py +124 -0
  15. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/framework/autogen.py +102 -0
  16. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/framework/base.py +67 -0
  17. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/framework/crewai.py +70 -0
  18. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/framework/langgraph.py +81 -0
  19. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/framework/openai_agents.py +107 -0
  20. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/framework/strands.py +80 -0
  21. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/http.py +256 -0
  22. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/http_shapes/__init__.py +48 -0
  23. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/http_shapes/agentcore_shape.py +52 -0
  24. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/http_shapes/anthropic_shape.py +49 -0
  25. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/http_shapes/base.py +65 -0
  26. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/http_shapes/bedrock_shape.py +46 -0
  27. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/http_shapes/generic_shape.py +108 -0
  28. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/http_shapes/openai_shape.py +43 -0
  29. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/http_shapes/vertex_shape.py +46 -0
  30. agent_guardian-1.0.0rc1/src/agent_guardian/adapters/prompt.py +72 -0
  31. agent_guardian-1.0.0rc1/src/agent_guardian/agents/__init__.py +47 -0
  32. agent_guardian-1.0.0rc1/src/agent_guardian/agents/a2a.py +48 -0
  33. agent_guardian-1.0.0rc1/src/agent_guardian/agents/base.py +543 -0
  34. agent_guardian-1.0.0rc1/src/agent_guardian/agents/cascade.py +42 -0
  35. agent_guardian-1.0.0rc1/src/agent_guardian/agents/code_exec.py +49 -0
  36. agent_guardian-1.0.0rc1/src/agent_guardian/agents/drift.py +57 -0
  37. agent_guardian-1.0.0rc1/src/agent_guardian/agents/goal_hijack.py +57 -0
  38. agent_guardian-1.0.0rc1/src/agent_guardian/agents/memory_poison.py +59 -0
  39. agent_guardian-1.0.0rc1/src/agent_guardian/agents/privilege.py +48 -0
  40. agent_guardian-1.0.0rc1/src/agent_guardian/agents/recon.py +180 -0
  41. agent_guardian-1.0.0rc1/src/agent_guardian/agents/supply_chain.py +46 -0
  42. agent_guardian-1.0.0rc1/src/agent_guardian/agents/tool_abuse.py +46 -0
  43. agent_guardian-1.0.0rc1/src/agent_guardian/agents/trust_exploit.py +51 -0
  44. agent_guardian-1.0.0rc1/src/agent_guardian/cli.py +1011 -0
  45. agent_guardian-1.0.0rc1/src/agent_guardian/cli_tui.py +187 -0
  46. agent_guardian-1.0.0rc1/src/agent_guardian/config.py +171 -0
  47. agent_guardian-1.0.0rc1/src/agent_guardian/core/__init__.py +41 -0
  48. agent_guardian-1.0.0rc1/src/agent_guardian/core/budget.py +135 -0
  49. agent_guardian-1.0.0rc1/src/agent_guardian/core/memory.py +580 -0
  50. agent_guardian-1.0.0rc1/src/agent_guardian/core/redact.py +163 -0
  51. agent_guardian-1.0.0rc1/src/agent_guardian/core/sandbox.py +275 -0
  52. agent_guardian-1.0.0rc1/src/agent_guardian/core/scoring.py +274 -0
  53. agent_guardian-1.0.0rc1/src/agent_guardian/core/swarm.py +641 -0
  54. agent_guardian-1.0.0rc1/src/agent_guardian/core/tiering.py +30 -0
  55. agent_guardian-1.0.0rc1/src/agent_guardian/cost.py +193 -0
  56. agent_guardian-1.0.0rc1/src/agent_guardian/crypto/__init__.py +55 -0
  57. agent_guardian-1.0.0rc1/src/agent_guardian/crypto/ed25519_sig.py +163 -0
  58. agent_guardian-1.0.0rc1/src/agent_guardian/crypto/hmac_sig.py +133 -0
  59. agent_guardian-1.0.0rc1/src/agent_guardian/llm/__init__.py +73 -0
  60. agent_guardian-1.0.0rc1/src/agent_guardian/llm/anthropic.py +140 -0
  61. agent_guardian-1.0.0rc1/src/agent_guardian/llm/base.py +125 -0
  62. agent_guardian-1.0.0rc1/src/agent_guardian/llm/bedrock.py +116 -0
  63. agent_guardian-1.0.0rc1/src/agent_guardian/llm/errors.py +54 -0
  64. agent_guardian-1.0.0rc1/src/agent_guardian/llm/ollama.py +113 -0
  65. agent_guardian-1.0.0rc1/src/agent_guardian/llm/openai.py +129 -0
  66. agent_guardian-1.0.0rc1/src/agent_guardian/llm/retry.py +102 -0
  67. agent_guardian-1.0.0rc1/src/agent_guardian/llm/stub.py +205 -0
  68. agent_guardian-1.0.0rc1/src/agent_guardian/llm/vertex.py +123 -0
  69. agent_guardian-1.0.0rc1/src/agent_guardian/models/__init__.py +42 -0
  70. agent_guardian-1.0.0rc1/src/agent_guardian/models/asi.py +46 -0
  71. agent_guardian-1.0.0rc1/src/agent_guardian/models/csa.py +29 -0
  72. agent_guardian-1.0.0rc1/src/agent_guardian/models/finding.py +33 -0
  73. agent_guardian-1.0.0rc1/src/agent_guardian/models/judge.py +19 -0
  74. agent_guardian-1.0.0rc1/src/agent_guardian/models/mitre.py +54 -0
  75. agent_guardian-1.0.0rc1/src/agent_guardian/models/probe.py +115 -0
  76. agent_guardian-1.0.0rc1/src/agent_guardian/models/scan.py +51 -0
  77. agent_guardian-1.0.0rc1/src/agent_guardian/models/severity.py +69 -0
  78. agent_guardian-1.0.0rc1/src/agent_guardian/models/tier.py +35 -0
  79. agent_guardian-1.0.0rc1/src/agent_guardian/probes/__init__.py +17 -0
  80. agent_guardian-1.0.0rc1/src/agent_guardian/probes/_meta/version.yaml +1 -0
  81. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi01/__init__.py +0 -0
  82. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi01/dialect-roleplay.yaml +23 -0
  83. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi01/goal-redirect-direct.yaml +24 -0
  84. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi01/indirect-via-doc.yaml +23 -0
  85. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi01/role-swap-pretext.yaml +23 -0
  86. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi01/time-anchor-redirect.yaml +23 -0
  87. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi02/__init__.py +0 -0
  88. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi02/chain-exfil.yaml +24 -0
  89. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi02/parameter-smuggle.yaml +23 -0
  90. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi02/recursion-bomb.yaml +22 -0
  91. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi02/scope-expansion.yaml +22 -0
  92. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi02/tool-arg-injection.yaml +23 -0
  93. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi03/__init__.py +0 -0
  94. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi03/impersonate-supervisor.yaml +22 -0
  95. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi03/jit-credential-bypass.yaml +22 -0
  96. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi03/non-human-identity-coerce.yaml +22 -0
  97. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi03/role-inherit-escalate.yaml +22 -0
  98. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi03/scope-token-replay.yaml +22 -0
  99. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi04/__init__.py +0 -0
  100. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi04/dynamic-template-inject.yaml +23 -0
  101. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi04/mcp-server-poison.yaml +23 -0
  102. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi04/plugin-hijack.yaml +23 -0
  103. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi04/registry-spoof.yaml +23 -0
  104. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi04/runtime-tool-substitution.yaml +23 -0
  105. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi05/__init__.py +0 -0
  106. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi05/eval-smuggle.yaml +24 -0
  107. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi05/exec-chain-construction.yaml +23 -0
  108. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi05/sandbox-escape-primitive.yaml +23 -0
  109. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi05/shell-meta-injection.yaml +23 -0
  110. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi05/unsafe-pickle.yaml +23 -0
  111. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi06/__init__.py +0 -0
  112. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi06/cross-session-payload.yaml +23 -0
  113. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi06/embedding-collision.yaml +24 -0
  114. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi06/false-memory-plant.yaml +22 -0
  115. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi06/persistent-trigger-token.yaml +24 -0
  116. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi06/rag-corpus-inject.yaml +23 -0
  117. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi07/__init__.py +0 -0
  118. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi07/agent-card-spoof.yaml +22 -0
  119. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi07/collusion-induce.yaml +22 -0
  120. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi07/confused-deputy.yaml +22 -0
  121. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi07/message-bus-spoof.yaml +22 -0
  122. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi07/supervisor-impersonate.yaml +22 -0
  123. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi08/__init__.py +0 -0
  124. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi08/alarm-suppression.yaml +22 -0
  125. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi08/blast-radius-probe.yaml +22 -0
  126. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi08/dependency-cascade.yaml +22 -0
  127. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi08/fail-loud-to-silent.yaml +22 -0
  128. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi08/retry-storm.yaml +22 -0
  129. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi09/__init__.py +0 -0
  130. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi09/anthropomorphic-persuasion.yaml +22 -0
  131. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi09/citation-fabrication.yaml +21 -0
  132. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi09/confident-hallucination.yaml +22 -0
  133. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi09/false-consensus.yaml +22 -0
  134. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi09/manufactured-authority.yaml +22 -0
  135. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi10/__init__.py +0 -0
  136. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi10/capability-mask.yaml +22 -0
  137. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi10/long-horizon-drift.yaml +22 -0
  138. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi10/mode-shift.yaml +22 -0
  139. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi10/off-task-drift.yaml +22 -0
  140. agent_guardian-1.0.0rc1/src/agent_guardian/probes/asi10/sandbagging-detect.yaml +22 -0
  141. agent_guardian-1.0.0rc1/src/agent_guardian/probes/loader.py +67 -0
  142. agent_guardian-1.0.0rc1/src/agent_guardian/reports/__init__.py +59 -0
  143. agent_guardian-1.0.0rc1/src/agent_guardian/reports/canonical.py +75 -0
  144. agent_guardian-1.0.0rc1/src/agent_guardian/reports/json_report.py +210 -0
  145. agent_guardian-1.0.0rc1/src/agent_guardian/reports/junit.py +127 -0
  146. agent_guardian-1.0.0rc1/src/agent_guardian/reports/markdown.py +133 -0
  147. agent_guardian-1.0.0rc1/src/agent_guardian/reports/pdf.py +149 -0
  148. agent_guardian-1.0.0rc1/src/agent_guardian/reports/pdf_reportlab.py +109 -0
  149. agent_guardian-1.0.0rc1/src/agent_guardian/reports/sarif.py +132 -0
  150. agent_guardian-1.0.0rc1/src/agent_guardian/reports/templates/pdf/report.html.jinja +236 -0
  151. agent_guardian-1.0.0rc1/src/agent_guardian/server/__init__.py +15 -0
  152. agent_guardian-1.0.0rc1/src/agent_guardian/server/app.py +96 -0
  153. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/__init__.py +9 -0
  154. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/_deps.py +29 -0
  155. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/about.py +22 -0
  156. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/aivss.py +46 -0
  157. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/events.py +39 -0
  158. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/export.py +56 -0
  159. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/findings.py +50 -0
  160. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/home.py +28 -0
  161. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/scan.py +38 -0
  162. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/swarm.py +49 -0
  163. agent_guardian-1.0.0rc1/src/agent_guardian/server/routes/transcripts.py +41 -0
  164. agent_guardian-1.0.0rc1/src/agent_guardian/server/scan_store.py +360 -0
  165. agent_guardian-1.0.0rc1/src/agent_guardian/server/sse.py +124 -0
  166. agent_guardian-1.0.0rc1/src/agent_guardian/server/static/app.js +28 -0
  167. agent_guardian-1.0.0rc1/src/agent_guardian/server/static/charts.js +93 -0
  168. agent_guardian-1.0.0rc1/src/agent_guardian/server/static/styles.css +880 -0
  169. agent_guardian-1.0.0rc1/src/agent_guardian/server/static/swarm.js +224 -0
  170. agent_guardian-1.0.0rc1/src/agent_guardian/server/templates/about.html +38 -0
  171. agent_guardian-1.0.0rc1/src/agent_guardian/server/templates/aivss.html +52 -0
  172. agent_guardian-1.0.0rc1/src/agent_guardian/server/templates/base.html +37 -0
  173. agent_guardian-1.0.0rc1/src/agent_guardian/server/templates/export.html +33 -0
  174. agent_guardian-1.0.0rc1/src/agent_guardian/server/templates/findings.html +50 -0
  175. agent_guardian-1.0.0rc1/src/agent_guardian/server/templates/home.html +69 -0
  176. agent_guardian-1.0.0rc1/src/agent_guardian/server/templates/scan.html +69 -0
  177. agent_guardian-1.0.0rc1/src/agent_guardian/server/templates/swarm.html +38 -0
  178. agent_guardian-1.0.0rc1/src/agent_guardian/server/templates/transcripts.html +48 -0
  179. agent_guardian-1.0.0rc1/src/agent_guardian/strategies/__init__.py +27 -0
  180. agent_guardian-1.0.0rc1/src/agent_guardian/strategies/base.py +157 -0
  181. agent_guardian-1.0.0rc1/src/agent_guardian/strategies/crescendo.py +150 -0
  182. agent_guardian-1.0.0rc1/src/agent_guardian/strategies/mad_max.py +157 -0
  183. agent_guardian-1.0.0rc1/src/agent_guardian/strategies/pair.py +133 -0
  184. agent_guardian-1.0.0rc1/src/agent_guardian/strategies/tap.py +209 -0
  185. agent_guardian-1.0.0rc1/tests/__init__.py +0 -0
  186. agent_guardian-1.0.0rc1/tests/adapters/__init__.py +0 -0
  187. agent_guardian-1.0.0rc1/tests/adapters/_fixtures/__init__.py +0 -0
  188. agent_guardian-1.0.0rc1/tests/adapters/_fixtures/sample_agent.py +32 -0
  189. agent_guardian-1.0.0rc1/tests/adapters/_fixtures/sample_class_agent.py +45 -0
  190. agent_guardian-1.0.0rc1/tests/adapters/test_base.py +76 -0
  191. agent_guardian-1.0.0rc1/tests/adapters/test_code.py +210 -0
  192. agent_guardian-1.0.0rc1/tests/adapters/test_framework_production.py +624 -0
  193. agent_guardian-1.0.0rc1/tests/adapters/test_framework_stubs.py +199 -0
  194. agent_guardian-1.0.0rc1/tests/adapters/test_http_production.py +487 -0
  195. agent_guardian-1.0.0rc1/tests/adapters/test_http_shapes.py +330 -0
  196. agent_guardian-1.0.0rc1/tests/adapters/test_http_stubs.py +101 -0
  197. agent_guardian-1.0.0rc1/tests/adapters/test_prompt.py +97 -0
  198. agent_guardian-1.0.0rc1/tests/conftest.py +1 -0
  199. agent_guardian-1.0.0rc1/tests/golden/__init__.py +0 -0
  200. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/README.md +27 -0
  201. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/all_critical_t1.json +202 -0
  202. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/critical_t1.json +330 -0
  203. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/empty_findings.json +8 -0
  204. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/excellent_t4.json +42 -0
  205. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/good_t1.json +104 -0
  206. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/good_t2.json +151 -0
  207. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/partial_coverage.json +121 -0
  208. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/perfect_score.json +26 -0
  209. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/poor_t1.json +138 -0
  210. agent_guardian-1.0.0rc1/tests/golden/aivss_regression/warning_t2.json +106 -0
  211. agent_guardian-1.0.0rc1/tests/golden/test_aivss_regression.py +61 -0
  212. agent_guardian-1.0.0rc1/tests/integration/__init__.py +0 -0
  213. agent_guardian-1.0.0rc1/tests/integration/conftest.py +217 -0
  214. agent_guardian-1.0.0rc1/tests/integration/test_agent_a2a.py +121 -0
  215. agent_guardian-1.0.0rc1/tests/integration/test_agent_cascade.py +86 -0
  216. agent_guardian-1.0.0rc1/tests/integration/test_agent_code_exec.py +89 -0
  217. agent_guardian-1.0.0rc1/tests/integration/test_agent_drift.py +88 -0
  218. agent_guardian-1.0.0rc1/tests/integration/test_agent_goal_hijack.py +90 -0
  219. agent_guardian-1.0.0rc1/tests/integration/test_agent_memory_poison.py +114 -0
  220. agent_guardian-1.0.0rc1/tests/integration/test_agent_privilege.py +87 -0
  221. agent_guardian-1.0.0rc1/tests/integration/test_agent_recon.py +112 -0
  222. agent_guardian-1.0.0rc1/tests/integration/test_agent_supply_chain.py +85 -0
  223. agent_guardian-1.0.0rc1/tests/integration/test_agent_tool_abuse.py +117 -0
  224. agent_guardian-1.0.0rc1/tests/integration/test_agent_trust_exploit.py +86 -0
  225. agent_guardian-1.0.0rc1/tests/integration/test_perf_smoke.py +119 -0
  226. agent_guardian-1.0.0rc1/tests/integration/test_swarm_e2e.py +450 -0
  227. agent_guardian-1.0.0rc1/tests/unit/__init__.py +0 -0
  228. agent_guardian-1.0.0rc1/tests/unit/_report_fixtures.py +96 -0
  229. agent_guardian-1.0.0rc1/tests/unit/test_agents_base.py +140 -0
  230. agent_guardian-1.0.0rc1/tests/unit/test_budget.py +135 -0
  231. agent_guardian-1.0.0rc1/tests/unit/test_canonical_json.py +100 -0
  232. agent_guardian-1.0.0rc1/tests/unit/test_cli.py +871 -0
  233. agent_guardian-1.0.0rc1/tests/unit/test_config.py +231 -0
  234. agent_guardian-1.0.0rc1/tests/unit/test_cost.py +232 -0
  235. agent_guardian-1.0.0rc1/tests/unit/test_crypto_ed25519.py +101 -0
  236. agent_guardian-1.0.0rc1/tests/unit/test_crypto_hmac.py +106 -0
  237. agent_guardian-1.0.0rc1/tests/unit/test_docs_site.py +223 -0
  238. agent_guardian-1.0.0rc1/tests/unit/test_llm_anthropic.py +248 -0
  239. agent_guardian-1.0.0rc1/tests/unit/test_llm_base.py +121 -0
  240. agent_guardian-1.0.0rc1/tests/unit/test_llm_bedrock.py +134 -0
  241. agent_guardian-1.0.0rc1/tests/unit/test_llm_ollama.py +162 -0
  242. agent_guardian-1.0.0rc1/tests/unit/test_llm_openai.py +257 -0
  243. agent_guardian-1.0.0rc1/tests/unit/test_llm_retry.py +216 -0
  244. agent_guardian-1.0.0rc1/tests/unit/test_llm_stub.py +217 -0
  245. agent_guardian-1.0.0rc1/tests/unit/test_llm_vertex.py +138 -0
  246. agent_guardian-1.0.0rc1/tests/unit/test_memory.py +685 -0
  247. agent_guardian-1.0.0rc1/tests/unit/test_memory_concurrency.py +180 -0
  248. agent_guardian-1.0.0rc1/tests/unit/test_models.py +358 -0
  249. agent_guardian-1.0.0rc1/tests/unit/test_probe_corpus.py +101 -0
  250. agent_guardian-1.0.0rc1/tests/unit/test_probe_loader.py +183 -0
  251. agent_guardian-1.0.0rc1/tests/unit/test_redact.py +189 -0
  252. agent_guardian-1.0.0rc1/tests/unit/test_report_json.py +143 -0
  253. agent_guardian-1.0.0rc1/tests/unit/test_report_junit.py +80 -0
  254. agent_guardian-1.0.0rc1/tests/unit/test_report_markdown.py +72 -0
  255. agent_guardian-1.0.0rc1/tests/unit/test_report_pdf.py +75 -0
  256. agent_guardian-1.0.0rc1/tests/unit/test_report_sarif.py +87 -0
  257. agent_guardian-1.0.0rc1/tests/unit/test_sandbox.py +284 -0
  258. agent_guardian-1.0.0rc1/tests/unit/test_scoring.py +297 -0
  259. agent_guardian-1.0.0rc1/tests/unit/test_scoring_properties.py +168 -0
  260. agent_guardian-1.0.0rc1/tests/unit/test_server_app.py +266 -0
  261. agent_guardian-1.0.0rc1/tests/unit/test_server_scan_store.py +246 -0
  262. agent_guardian-1.0.0rc1/tests/unit/test_server_sse.py +170 -0
  263. agent_guardian-1.0.0rc1/tests/unit/test_smoke.py +9 -0
  264. agent_guardian-1.0.0rc1/tests/unit/test_strategy_base.py +131 -0
  265. agent_guardian-1.0.0rc1/tests/unit/test_strategy_crescendo.py +237 -0
  266. agent_guardian-1.0.0rc1/tests/unit/test_strategy_mad_max.py +230 -0
  267. agent_guardian-1.0.0rc1/tests/unit/test_strategy_pair.py +203 -0
  268. agent_guardian-1.0.0rc1/tests/unit/test_strategy_tap.py +241 -0
  269. agent_guardian-1.0.0rc1/tests/unit/test_tiering.py +54 -0
@@ -0,0 +1,67 @@
1
+ # --- AgentGuardian-specific ---
2
+ .agentguardian/
3
+ *.aivss-cache
4
+
5
+ # --- Python ---
6
+ __pycache__/
7
+ *.py[cod]
8
+ *$py.class
9
+ *.so
10
+ .Python
11
+
12
+ # --- Distribution / build ---
13
+ dist/
14
+ build/
15
+ *.egg-info/
16
+ *.egg
17
+ *.whl
18
+ .eggs/
19
+
20
+ # --- Virtual envs ---
21
+ .venv/
22
+ venv/
23
+ env/
24
+ ENV/
25
+
26
+ # --- uv ---
27
+ .uv/
28
+ # NOTE: uv.lock IS committed (do not ignore).
29
+
30
+ # --- Test / coverage ---
31
+ .pytest_cache/
32
+ .coverage
33
+ .coverage.*
34
+ htmlcov/
35
+ coverage.xml
36
+ .cache/
37
+ .hypothesis/
38
+
39
+ # --- mkdocs build output ---
40
+ site/
41
+
42
+ # --- Type checkers / linters ---
43
+ .mypy_cache/
44
+ .ruff_cache/
45
+ .pyre/
46
+ .pytype/
47
+
48
+ # --- Environment / secrets ---
49
+ .env
50
+ .env.*
51
+ !.env.example
52
+
53
+ # --- Editors ---
54
+ .idea/
55
+ .vscode/*
56
+ !.vscode/settings.json
57
+ *.swp
58
+ *.swo
59
+ *~
60
+
61
+ # --- OS ---
62
+ .DS_Store
63
+ Thumbs.db
64
+
65
+ # --- Misc (defensive) ---
66
+ node_modules/
67
+ *.log
@@ -0,0 +1,20 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use AgentGuardian in academic work, please cite it as below."
3
+ title: "AgentGuardian Open: A Multi-Agent Adversarial Swarm for OWASP ASI-Aligned Red Teaming"
4
+ authors:
5
+ - family-names: "Glacien Pte. Ltd."
6
+ given-names: "Engineering"
7
+ type: software
8
+ repository-code: "https://github.com/glacien-technologies/agent-guardian"
9
+ license: Apache-2.0
10
+ version: "1.0.0rc1"
11
+ date-released: "2026-05-27"
12
+ url: "https://agentguardian.ai"
13
+ preferred-citation:
14
+ type: article
15
+ title: "AgentGuardian: A Multi-Agent Adversarial Swarm for OWASP ASI-Aligned Red Teaming"
16
+ authors:
17
+ - family-names: "Glacien Pte. Ltd."
18
+ given-names: "Engineering"
19
+ year: 2026
20
+ notes: "arXiv preprint forthcoming"
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -0,0 +1,24 @@
1
+ AgentGuardian Open
2
+ Copyright 2026 Glacien Pte. Ltd.
3
+
4
+ This product includes software developed at Glacien Pte. Ltd. (https://glacien.ai)
5
+
6
+ This product bundles or depends on the following third-party software:
7
+
8
+ - FastAPI (MIT) Copyright (c) Sebastián Ramírez
9
+ - uvicorn (BSD-3-Clause) Copyright (c) Tom Christie
10
+ - httpx (BSD-3-Clause) Copyright (c) Encode OSS Ltd.
11
+ - pydantic (MIT) Copyright (c) Samuel Colvin and Pydantic contributors
12
+ - rich (MIT) Copyright (c) Will McGugan
13
+ - textual (MIT) Copyright (c) Textualize, Inc.
14
+ - typer (MIT) Copyright (c) Sebastián Ramírez
15
+ - click (BSD-3-Clause) Copyright (c) Pallets
16
+ - Jinja2 (BSD-3-Clause) Copyright (c) Pallets
17
+ - PyYAML (MIT) Copyright (c) Kirill Simonov
18
+ - WeasyPrint (BSD-3-Clause) Copyright (c) Kozea and contributors
19
+ - sentence-transformers (Apache-2.0) Copyright (c) UKP Lab / Hugging Face
20
+ - faiss-cpu (MIT) Copyright (c) Facebook, Inc.
21
+ - structlog (MIT / Apache-2.0) Copyright (c) Hynek Schlawack
22
+ - cryptography (Apache-2.0 / BSD-3-Clause) Copyright (c) Individual contributors
23
+
24
+ Full license texts for every package are available via `pip-licenses` after installation.
@@ -0,0 +1,216 @@
1
+ Metadata-Version: 2.4
2
+ Name: agent-guardian
3
+ Version: 1.0.0rc1
4
+ Summary: Adversarial swarm framework for agentic AI red-teaming. Eleven specialist agents, deterministic AIVSS score, OWASP ASI / MITRE ATLAS / CSA aligned.
5
+ Project-URL: Homepage, https://agentguardian.ai
6
+ Project-URL: Documentation, https://agentguardian.ai/docs
7
+ Project-URL: Repository, https://github.com/glacien-technologies/agent-guardian
8
+ Project-URL: Issues, https://github.com/glacien-technologies/agent-guardian/issues
9
+ Project-URL: Changelog, https://github.com/glacien-technologies/agent-guardian/blob/main/CHANGELOG.md
10
+ Author-email: "Glacien Pte. Ltd." <opensource@glacien.ai>
11
+ License: Apache-2.0
12
+ License-File: LICENSE
13
+ License-File: NOTICE
14
+ Keywords: agent,agentic-ai,aivss,llm,mitre-atlas,owasp,red-team,security
15
+ Classifier: Development Status :: 3 - Alpha
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Intended Audience :: Information Technology
18
+ Classifier: License :: OSI Approved :: Apache Software License
19
+ Classifier: Operating System :: OS Independent
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Topic :: Security
26
+ Classifier: Topic :: Software Development :: Quality Assurance
27
+ Classifier: Topic :: Software Development :: Testing
28
+ Requires-Python: <3.14,>=3.10
29
+ Requires-Dist: cryptography>=43.0
30
+ Requires-Dist: exceptiongroup>=1.2; python_version < '3.11'
31
+ Requires-Dist: fastapi>=0.115
32
+ Requires-Dist: httpx>=0.28
33
+ Requires-Dist: jinja2>=3.1
34
+ Requires-Dist: pydantic>=2.9
35
+ Requires-Dist: pyyaml>=6.0
36
+ Requires-Dist: rich>=13.9
37
+ Requires-Dist: structlog>=24.4
38
+ Requires-Dist: textual>=0.86
39
+ Requires-Dist: typer>=0.15
40
+ Requires-Dist: uvicorn[standard]>=0.32
41
+ Provides-Extra: dev
42
+ Requires-Dist: hypothesis>=6.115; extra == 'dev'
43
+ Requires-Dist: mypy>=1.13; extra == 'dev'
44
+ Requires-Dist: pip-licenses>=5.0; extra == 'dev'
45
+ Requires-Dist: pre-commit>=4.0; extra == 'dev'
46
+ Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
47
+ Requires-Dist: pytest-cov>=6.0; extra == 'dev'
48
+ Requires-Dist: pytest>=8.3; extra == 'dev'
49
+ Requires-Dist: respx>=0.22; extra == 'dev'
50
+ Requires-Dist: ruff>=0.8; extra == 'dev'
51
+ Provides-Extra: docs
52
+ Requires-Dist: mkdocs-material>=9.5; extra == 'docs'
53
+ Requires-Dist: mkdocs>=1.6; extra == 'docs'
54
+ Provides-Extra: full
55
+ Requires-Dist: faiss-cpu>=1.9; extra == 'full'
56
+ Requires-Dist: presidio-analyzer>=2.2; extra == 'full'
57
+ Requires-Dist: sentence-transformers>=3.3; extra == 'full'
58
+ Requires-Dist: weasyprint>=63.0; extra == 'full'
59
+ Provides-Extra: pdf-fallback
60
+ Requires-Dist: reportlab>=4.2; extra == 'pdf-fallback'
61
+ Description-Content-Type: text/markdown
62
+
63
+ # AgentGuardian Open
64
+
65
+ [![PyPI](https://img.shields.io/pypi/v/agent-guardian.svg)](https://pypi.org/project/agent-guardian/)
66
+ [![Python](https://img.shields.io/pypi/pyversions/agent-guardian.svg)](https://pypi.org/project/agent-guardian/)
67
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)
68
+ [![CI](https://github.com/glacien-technologies/agent-guardian/actions/workflows/ci.yml/badge.svg)](https://github.com/glacien-technologies/agent-guardian/actions/workflows/ci.yml)
69
+ [![Docs](https://img.shields.io/badge/docs-agentguardian.ai-cyan.svg)](https://glacien-technologies.github.io/agent-guardian/)
70
+
71
+ > The first open-source adversarial-swarm framework for agentic AI
72
+ > red-teaming. Eleven specialist agents attack your AI agent in parallel
73
+ > under a Swarm Commander LLM. Output: a deterministic 0–100 **AIVSS
74
+ > score** aligned with the OWASP Top 10 for Agentic Applications 2026,
75
+ > MITRE ATLAS v5.4.0, and the CSA Agentic AI Red Teaming Guide.
76
+
77
+ ## Why
78
+
79
+ Single-chain red-teaming tools send one prompt at a time. Production
80
+ agents compose tools, hold memory, talk to other agents, and run real
81
+ code — and that surface needs eleven attackers working in concert.
82
+
83
+ AgentGuardian deploys a **swarm**: a reconnaissance agent maps your
84
+ target, then ten specialist agents (one per OWASP ASI category) attack
85
+ concurrently, coordinated by a Swarm Commander that re-tasks idle agents
86
+ and stops early on convergence. Every finding is triple-tagged with
87
+ OWASP ASI, MITRE ATLAS, and CSA Agentic-RT categories.
88
+
89
+ Read the full rationale: [Why we built this](https://glacien-technologies.github.io/agent-guardian/why/).
90
+
91
+ ## How it compares
92
+
93
+ | Tool | Multi-agent swarm | Agentic-AI focus | Standards alignment | Open formula | License |
94
+ |------------------|:-----------------:|:----------------:|---------------------------------|:------------:|-------------|
95
+ | PyRIT | no | no | NIST AI RMF (partial) | no | MIT |
96
+ | garak | no | no | own taxonomy | no | Apache-2.0 |
97
+ | Promptfoo | no | no | own taxonomy | no | MIT |
98
+ | Inspect | no | no | own taxonomy | no | MIT |
99
+ | DeepTeam | no | no | OWASP LLM Top 10 | no | Apache-2.0 |
100
+ | **AgentGuardian** | **yes** | **yes** | **OWASP ASI + ATLAS + CSA + AIVSS** | **yes** | **Apache-2.0** |
101
+
102
+ ## Quickstart
103
+
104
+ ```bash
105
+ pip install agent-guardian
106
+
107
+ # Pick an LLM backend, or use --model stub for zero-key testing.
108
+ export OPENAI_API_KEY=sk-...
109
+
110
+ # Scan a system prompt
111
+ echo "You are a helpful customer-support bot." > prompt.txt
112
+ agent-guardian scan --system-prompt prompt.txt
113
+
114
+ # Live dashboard at http://localhost:7474
115
+ agent-guardian serve
116
+
117
+ # Marketing badge
118
+ agent-guardian badge $(agent-guardian last-score) --svg > badge.svg
119
+ ```
120
+
121
+ Full walkthrough: [Five-minute quickstart](https://glacien-technologies.github.io/agent-guardian/quickstart/).
122
+
123
+ ## Run with Docker
124
+
125
+ ```bash
126
+ docker build -t agent-guardian:dev .
127
+ docker run --rm -p 7474:7474 agent-guardian:dev serve --host 0.0.0.0
128
+ ```
129
+
130
+ Or with the bundled compose file:
131
+
132
+ ```bash
133
+ docker compose up --build
134
+ ```
135
+
136
+ ## Architecture
137
+
138
+ ```
139
+ ┌─────────────────────────────┐
140
+ │ Swarm Commander LLM │
141
+ │ (orchestration & dispatch) │
142
+ └──────────┬──────────────────┘
143
+
144
+ ┌────────────────────┼────────────────────┐
145
+ │ │ │
146
+ ▼ ▼ ▼
147
+ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐
148
+ │ Recon Agent │ │ Shared │ │ Findings │
149
+ │ (map target)│◀───▶│ Vector Memory│◀───▶│ Aggregator │
150
+ └──────────────┘ └──────────────┘ └──────────────┘
151
+
152
+ ┌────────────────────┼────────────────────┐
153
+ │ Ten ASI-aligned specialist attackers │
154
+ │ running in parallel │
155
+ │ │
156
+ │ ASI01 Goal Hijack │
157
+ │ ASI02 Tool Misuse │
158
+ │ ASI03 Privilege Abuse │
159
+ │ ASI04 Supply Chain │
160
+ │ ASI05 Unauthorised Code Execution │
161
+ │ ASI06 Memory Poisoning │
162
+ │ ASI07 Agent-to-Agent Compromise │
163
+ │ ASI08 Cascading Failures │
164
+ │ ASI09 Trust Exploitation │
165
+ │ ASI10 Rogue Agent / Drift │
166
+ └─────────────────────────────────────────┘
167
+ ```
168
+
169
+ Full architecture: [docs/architecture](https://glacien-technologies.github.io/agent-guardian/architecture/).
170
+
171
+ ## Status
172
+
173
+ Active development, pre-1.0. The swarm, the scorer, the dashboard, and
174
+ the signed-report pipeline are all in place. v1.0 ships on PyPI at M15.
175
+
176
+ Roadmap: [docs/roadmap](https://glacien-technologies.github.io/agent-guardian/roadmap/).
177
+
178
+ ## Documentation
179
+
180
+ - [Why we built this](https://glacien-technologies.github.io/agent-guardian/why/)
181
+ - [Quickstart](https://glacien-technologies.github.io/agent-guardian/quickstart/)
182
+ - [Architecture](https://glacien-technologies.github.io/agent-guardian/architecture/)
183
+ - [AIVSS formula](https://glacien-technologies.github.io/agent-guardian/aivss-formula/)
184
+ - [Adapters](https://glacien-technologies.github.io/agent-guardian/adapters/)
185
+ - [API reference](https://glacien-technologies.github.io/agent-guardian/api-reference/)
186
+ - [Ethics and responsible use](https://glacien-technologies.github.io/agent-guardian/ethics/)
187
+ - [Roadmap](https://glacien-technologies.github.io/agent-guardian/roadmap/)
188
+
189
+ ## Contributing
190
+
191
+ We welcome probes, adapters, bug reports, and PRs. See
192
+ [CONTRIBUTING.md](CONTRIBUTING.md). All contributions require a
193
+ [DCO sign-off](https://developercertificate.org/).
194
+
195
+ ## Security
196
+
197
+ See [SECURITY.md](SECURITY.md) for responsible-disclosure policy. If you
198
+ find a vulnerability in AgentGuardian itself, please email
199
+ [security@glacien.ai](mailto:security@glacien.ai) instead of filing a
200
+ public issue.
201
+
202
+ ## Ethics
203
+
204
+ AgentGuardian Open is for testing systems you own or are explicitly
205
+ authorised to test. Use against third-party systems without
206
+ authorisation is unlawful in most jurisdictions and a violation of
207
+ these terms. See [Ethics](https://glacien-technologies.github.io/agent-guardian/ethics/).
208
+
209
+ ## License
210
+
211
+ Apache License 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
212
+
213
+ ## Trademark
214
+
215
+ "AgentGuardian" is a trademark of Glacien Pte. Ltd. See
216
+ [TRADEMARKS.md](TRADEMARKS.md).