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.0.tar.gz (22.1 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.0-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: verdant-0.1.0.tar.gz
  • Upload date:
  • Size: 22.1 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.0.tar.gz
Algorithm Hash digest
SHA256 8f65b345bdeb2fd3274c55ac33f8196d02d936475f3b0052e2dfac0b8ebf1318
MD5 0815913cb422614dbddb78badb52d3b1
BLAKE2b-256 0e3299837c5d625603bd782f6d172fd1e68335cf3c5f0ce15cb370ca894cb084

See more details on using hashes here.

File details

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

File metadata

  • Download URL: verdant-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18b83e340302b5b718b665bd97c18a400cd0df2b49ff1d3c1863dbf12ab6a325
MD5 203eade52de785d3243fef93efca4a22
BLAKE2b-256 670e7567c49a8c7f359138fc7b2fd440be21553fab16454fc5f9f1e939c17921

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