VERDANT SDK for inspectable AI governance
Project description
VERDANT SDK
VERDANT is a lightweight SDK for making AI outputs inspectable. It wraps an AI call and returns the clean model output together with a structured audit payload, bias flags, a plain-language explanation, and a 0-100 trust score.
The SDK is built for Nigerian and African teams shipping AI into higher-stakes contexts such as hiring, lending, content moderation, and healthcare.
Install
pip install verdant
Usage
from verdant import VerdantClient
client = VerdantClient(api_key="vd_live_...")
result = await client.wrap(
fn=openai.chat.completions.create,
model="gpt-4o",
messages=[{"role": "user", "content": user_input}],
)
print(result.output)
print(result.trust_score)
print(result.flags)
print(result.explanation)
Project
Source code, documentation, and issue tracking live at:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file verdant-0.1.2.tar.gz.
File metadata
- Download URL: verdant-0.1.2.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba830f45135165b9add3dafa053e61cbcc6172c1210056bc792fc9cbb517fb76
|
|
| MD5 |
a80f65f57ae19e9ae9e9420257f2b247
|
|
| BLAKE2b-256 |
2d34b846e22238cf53bd4c36b55e2a4684fdfb22ace581a4277639cd12e9fedd
|
File details
Details for the file verdant-0.1.2-py3-none-any.whl.
File metadata
- Download URL: verdant-0.1.2-py3-none-any.whl
- Upload date:
- Size: 29.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a8e6c7063bebbe030eba904e93e680c01ede3fcd530963d8bdcc81e90204635
|
|
| MD5 |
cc940515d5795c211bce7013a60edb77
|
|
| BLAKE2b-256 |
0782b305a6872dca062095c67fb1117f13d1285ad39ae0dea060714737935187
|