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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_trustgraph_enterprise-0.2.0.tar.gz.
File metadata
- Download URL: ai_trustgraph_enterprise-0.2.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a9200065bd53a699563497a3aa6175243bc2b928490aadfe929535d5c39b473
|
|
| MD5 |
d6a727104f2678e37b26c9a45ec4e2fa
|
|
| BLAKE2b-256 |
80b38fec28c0bf49d6bb2655b7fdd8cbf756b1522681aa925e78daeec753fe42
|
File details
Details for the file ai_trustgraph_enterprise-0.2.0-py3-none-any.whl.
File metadata
- Download URL: ai_trustgraph_enterprise-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
687452654a2338c79b097d2ba56c1deb816b37c9d31703558b8eb62ccc16ac62
|
|
| MD5 |
f4e676327910c4e2a811d9ef67291695
|
|
| BLAKE2b-256 |
8a87d043e7dda2d3beffdc6b0e88e5a2161771a2a6544b2e8689a931d41d6933
|