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.3.tar.gz (23.0 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.3-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: verdant-0.1.3.tar.gz
  • Upload date:
  • Size: 23.0 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.3.tar.gz
Algorithm Hash digest
SHA256 35334ac4cd9ee25c4061a873d75f860252d3b86c2c835774294c5410076b7bcc
MD5 a6f51932f5055afd0c15ecbfd4b7356d
BLAKE2b-256 a38cc674d51c6d32dc7abb4226019ab0f2a6146db14f940656971f64872936d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: verdant-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a59179025d2ef50ea1a1be6cb2707d179bdf50a91cd40a43d10856ca787ea22c
MD5 22c136f4406aa6abd653588854441d96
BLAKE2b-256 0a32f19b68ab7d7d0e6433b62859287115b62ba2d2bafb394d44f29633e97ac4

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