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.2.0.tar.gz (4.4 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.2.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ai_trustgraph_enterprise-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6a9200065bd53a699563497a3aa6175243bc2b928490aadfe929535d5c39b473
MD5 d6a727104f2678e37b26c9a45ec4e2fa
BLAKE2b-256 80b38fec28c0bf49d6bb2655b7fdd8cbf756b1522681aa925e78daeec753fe42

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ai_trustgraph_enterprise-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 687452654a2338c79b097d2ba56c1deb816b37c9d31703558b8eb62ccc16ac62
MD5 f4e676327910c4e2a811d9ef67291695
BLAKE2b-256 8a87d043e7dda2d3beffdc6b0e88e5a2161771a2a6544b2e8689a931d41d6933

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