Skip to main content

Enterprise client for AI-TrustGraph cloud control plane — license-key authenticated with usage metering

Project description

AI-TrustGraph Enterprise

Enterprise client for the AI-TrustGraph cloud control plane.

Install

pip install ai-trustgraph-enterprise

This also installs ai-trustgraph (OSS core) as a dependency.

Usage

from ai_trustgraph_enterprise import Client

client = Client(
    license_key="tg_xxx",
    endpoint="https://api.ai-trustgraph.com"
)

# Oracle resolution — runs through all 7 TrustGraph layers
result = client.oracle_resolve("customer revenue by region")
print(result["explanation"]["summary"])

# Trust scoring
score = client.trust_score("dataset-123")

# Governance scan (PII, SOX, GDPR)
report = client.governance_scan("dataset-123")

# Contract validation
status = client.contracts_validate("dataset-123")

# Lineage trace
lineage = client.graph_lineage("dataset-123")

# Check usage and billing
usage = client.usage_summary()
bill = client.usage_billing(tier="starter")

# Always close to flush usage events
client.close()

Or use as a context manager:

with Client(license_key="tg_xxx") as client:
    result = client.oracle_resolve("monthly active users")

How it works

Every action generates a usage event sent to the cloud control plane:

Method Event Type
oracle_resolve() trust_evaluation
trust_score() trust_evaluation
governance_scan() policy_execution
contracts_validate() contract_validation
graph_lineage() lineage_request
semantic_search() agent_query

Events are queued locally and flushed on close().

OSS vs Enterprise

Feature OSS (ai-trustgraph) Enterprise
Local trust scoring
Semantic catalog
Metadata ingestion
Local knowledge graph
API server
Cloud control plane
License key auth
Usage metering
Billing integration
Oracle resolution

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

ai_trustgraph_enterprise-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

ai_trustgraph_enterprise-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ai_trustgraph_enterprise-0.1.0.tar.gz
Algorithm Hash digest
SHA256 90104ae2ce13491a3dde9efebc538c8a0e07e64d51b29013793f6f3291977fe0
MD5 ae500a497e895d21bf1b6d55deca5750
BLAKE2b-256 84d1b89ac1f318fd468068b3151ca53fdae70d929f0d83d11d483abfee5b0be2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ai_trustgraph_enterprise-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 83e5e1cb6de1a110fb0b73c0dd456c791db2e978789efa4e6a6f68974bb4c36e
MD5 74e7ec381c0797a86c4047131c3c678e
BLAKE2b-256 2ac7343c332550b72a1ef58854ee0eef5f95d2bc5daa5f23f99553a626fdc033

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