Metadata-Version: 2.4
Name: verilink-aiverify-plugin
Version: 1.0.0
Summary: VeriLinkOS Active Governance Integration for AI Verify
License: Apache-2.0
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx<0.28.0,>=0.23.0
Requires-Dist: pydantic<3.0.0,>=1.10.0
Requires-Dist: python-dotenv<2.1.0,>=0.19.0
Requires-Dist: tenacity<9.1.0,>=8.0.0
Dynamic: license-file
Dynamic: requires-python

# VeriLinkOS AI Verify Plugin

[![PyPI version](https://badge.fury.io/py/verilink-aiverify-plugin.svg)](https://badge.fury.io/py/verilink-aiverify-plugin)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## Overview

VeriLinkOS AI Verify Plugin integrates active governance capabilities from VeriLinkOS into the AI Verify testing framework.

### Features

- ✅ Active Governance: Real-time policy enforcement during AI tests
- ✅ VAP Receipts: Cryptographic evidence for compliance audits
- ✅ AI-BOM Verification: Ensure model integrity and provenance
- ✅ Trust Tokens: JIT authentication for each test run
- ✅ Predictive Enforcement: ML-based risk prediction

## Installation

```bash
pip install verilink-aiverify-plugin
```

## Configuration
Set environment variables:

```bash
export VERILINK_API_URL=https://api.verilink.os
export VERILINK_API_KEY=your_api_key
export VERILINK_AGENT_ID=your_agent_id
export VERILINK_ORG_ID=your_org_id
```

## Quick Start
```python
import asyncio
from verilink_plugin import VeriLinkGovernancePlugin

async def test_model():
    plugin = VeriLinkGovernancePlugin()
    
    result = await plugin.run_test(
        {"model_id": "model-001", "dataset": "test-data"},
        lambda config: {"passed": True, "artifacts": {}}
    )
    
    print(f"Passed: {result.passed}")
    print(f"Receipt: {result.receipt_id}")
    
    await plugin.cleanup()

asyncio.run(test_model())
```

## License
Apache 2.0
