Skip to main content

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:

https://github.com/lgndcraft2/Verdant

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verdant-0.1.1.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

verdant-0.1.1-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file verdant-0.1.1.tar.gz.

File metadata

  • Download URL: verdant-0.1.1.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for verdant-0.1.1.tar.gz
Algorithm Hash digest
SHA256 532bcf7a7076db44e88a14d841bfc8d05d1d40fa90ba19e7a057744681901325
MD5 3010f34627e9098f818d20b4e0f330ae
BLAKE2b-256 a3671756ca1736a7e97a580f58c7f2f84c2d8a17d29709ceedb1967e01d2a378

See more details on using hashes here.

File details

Details for the file verdant-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: verdant-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for verdant-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c033677ce2ef4c689fdf5d90b34722c767f51ae7c814d71eaaad0244f668f1e
MD5 bc3512b99a8898d1a889a0e5588659d2
BLAKE2b-256 f1082dde19268c1d4a4039c9c700f9da94bbdaa93fb4c888ef209593e0bc28c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page