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.1.tar.gz (4.0 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.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ai_trustgraph_enterprise-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ae6ae314ffc91e6c46731d2910d4c942c2a63e6bd1d53ae3e28e65ea5c9e82a9
MD5 977491ca54894df66446511a4e2a2ecc
BLAKE2b-256 11f4e0d6552f9514502317cee8bfef2e7fb15dfdc10380017d41d0505c8f40af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ai_trustgraph_enterprise-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c120a5b79fba6775ce19b6b379b6356093382cacbe5cecd070e41d6406db5777
MD5 3d1c93b208af37bacddc8bbd154c6670
BLAKE2b-256 915a26debde6eed6936e74f436d0a6d760a4df10f8a884b47abd5b8d9b0cc622

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