Agent Gov

B+ 86 completed
Ai Ml
cli / python · small
155
Files
17,775
LOC
1
Frameworks
4
Languages

Pipeline State

completed
Run ID
#303966
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
58.67
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #47628
Member of a group with 1 similar repo(s) — canonical #27307 view group →
Top concepts (12)
Project DescriptionRepositorytestingTestingFactoryStrategyFile ManagementLoggingSearchTestingUser ManagementDatabase
If a scraper extracted this row, it came from Repobility (https://repobility.com)

AI Prompt

Create an AI agent governance and compliance engine using Python. I need it to enforce policies defined in a declarative YAML schema. The core functionality should include a `PolicyEngine` that evaluates action contexts against ordered rule lists, supporting AND/OR logic and operators like `contains_pii` and `matches`. Please implement four built-in rule types: PII check, role check, cost limit, and keyword block. Additionally, include compliance framework stubs for GDPR, HIPAA, and EU AI Act, and build an append-only audit logger that can be queried by agent ID and time range.
python cli ai-agent governance compliance policy-engine yaml security
Generated by gemma4:latest

Catalog Information

The agent-gov project is an AI agent governance and compliance engine designed to enforce policies.

Description

Agent-gov is a comprehensive AI governance and compliance engine that enforces policies for responsible AI development. It ensures that AI agents operate within predetermined boundaries, adhering to regulatory requirements and organizational standards. The engine integrates with various AI frameworks and tools to provide real-time monitoring and control over AI activities.

الوصف

هو مشروع حوكمة وتحكم في एजENTS الذكية ومراقبة الامتثال للسياسات، ويضمن أن يعمل الأجENTS الذكية داخل حدود محددة، ويتناسب مع متطلبات التنظيمية واللوائح. يدمج هذا المشروع مع مختلف أدوات ومكتبات الذكاء الاصطناعي لتقديم مراقبة وتحكم في الوقت الحقيقي للأنشطة الذكية.

Novelty

7/10

Tags

policy-enforcement ai-governance compliance-engine responsible-ai ai-regulation

Technologies

anthropic click crewai langchain openai pydantic rich

Claude Models

claude-opus-4.6 claude-sonnet-4.6

Quality Score

B+
85.7/100
Structure
97
Code Quality
75
Documentation
90
Testing
85
Practices
75
Security
100
Dependencies
80

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (60% test-to-source ratio)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 1206 duplicate lines detected \u2014 consider DRY refactoring
  • 1 'god files' with >500 LOC need decomposition

Security & Health

4.6h
Tech Debt (A)
Medium
DORA Rating
A
OWASP (100%)
Generated by Repobility's multi-pass static-analysis pipeline (https://repobility.com)
PASS
Quality Gate
A
Risk (1)
Apache-2.0
License
3.4%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
88.3%
yaml
9.9%
markdown
1.3%
toml
0.5%

Frameworks

pytest

Symbols

variable259
method210
class88
function59
constant53
property28

API Endpoints (5)

Repobility · code-quality scanner for AI-generated software · https://repobility.com
MethodPathHandlerFramework
Source: Repobility analyzer · https://repobility.com
GET/api/evidenceevidence_endpointFastAPI/Flask
GET/api/policiespoliciesFastAPI/Flask
GET/api/posturepostureFastAPI/Flask
GET/api/report/jsonreport_jsonFastAPI/Flask
GET/healthhealthFastAPI/Flask

Concepts (14)

Repobility (https://repobility.com) — every score reproducible
CategoryNameDescriptionConfidence
Repobility — same analyzer, your code, free for public repos · /scan/
auto_descriptionProject DescriptionAI agent governance and compliance engine with policy enforcement80%
design_patternRepositoryFound repository-named files80%
arch_layertestingDetected testing layer70%
auto_categoryTestingtesting70%
design_patternFactoryFound factory/create_ naming patterns60%
design_patternStrategyFound strategy/policy-named files60%
business_logicFile ManagementDetected from 2 related files50%
business_logicLoggingDetected from 3 related files50%
business_logicSearchDetected from 3 related files50%
business_logicTestingDetected from 41 related files50%
business_logicUser ManagementDetected from 2 related files50%
business_logicDatabaseDetected from 3 related files50%
business_logicAuthenticationDetected from 4 related files50%
business_logicAnalyticsDetected from 19 related files50%
Provenance: Repobility (https://repobility.com) — every score reproducible from /scan/

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/27793.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV

BinComp Dependency Hardening

All packages →
5 of this repo's dependencies have been scanned for binary hardening. Grade reflects RELRO / stack canary / FORTIFY / PIE coverage.
Njinja23.1.6 · 0 gadgets · risk 4187.0Nclick8.3.2 · 0 gadgets · risk 0.0Nfastapi0.135.3 · 0 gadgets · risk 0.0Npydantic2.12.5 · 0 gadgets · risk 0.0Nrich14.3.4 · 0 gadgets · risk 0.0