Skip to main content

StegVerse SDK for governed AI execution

Project description

STEGVERSE SDK

PyPI Python Build License

Execution is not assumed. Execution is admitted.

StegVerse verifies every action before it happens and produces cryptographic proof of that decision.


WHAT IT DOES

You propose an action
→ StegVerse evaluates it
→ Decision: ALLOW | DENY | DEFER
→ If allowed: execution + receipt

Every executed action produces a verifiable receipt.


WHY THIS MATTERS

Traditional flow
AI decides → executes → humans audit later

StegVerse flow
AI proposes → evaluated at commit → executes only if admitted

This eliminates ungoverned execution at the point of irreversibility.


QUICK START

Install

pip install stegverse-sdk

Example

from stegverse import StegVerseSDK

sdk = StegVerseSDK()

result = sdk.submit_intent(
    action="deploy.compute",
    target="render.cluster",
    parameters={"gpu": "A100", "count": 4}
)

print(result["decision"])   # allow | deny | defer
print(result["receipt_id"])  # verifiable receipt

SAFETY STACK

  1. Mathematical Gate (GCAT/BCAT)

    • Evaluates admissibility at commit-time
    • Denies unsafe transitions by default
  2. Human Review

    • Handles ambiguous edge cases
  3. Circuit Breakers

    • Stops execution on system instability
  4. Consensus Controls

    • Multi-party emergency halt
  5. Fail-Safe

    • Defaults to denial if control is lost

LLM ADAPTER

Govern any LLM output before execution:

from stegverse import StegVerseLLMAdapter, LLMProvider

adapter = StegVerseLLMAdapter()

result = adapter.govern_llm_output(
    provider=LLMProvider.OPENAI,
    model="gpt-4",
    prompt="Write a risk scoring function",
    output=llm_output
)

Returns:

  • decision (allow | deny | defer)
  • receipt
  • reasoning

Ecosystem Optimization

result = adapter.optimize_ecosystem(
    ecosystem_metrics={"cpu": 0.85, "memory": 0.90},
    proposed_changes={"type": "scale", "cost": 5000}
)

THE MODEL

Legitimacy constraint:

Φ(x) = K · g^α · c^β · t^γ − a

Where:

  • g = governance capacity
  • c = constraints
  • a = action pressure
  • t = trust

Decision rule:

  • Φ(x) ≥ 0 → ALLOW
  • Φ(x) < 0 → DENY

INTEGRATION

Downstream Consumes
TV/TVC Ephemeral secrets via TrustVault
GCAT-BCAT-Engine Deployment verification
demo_ingest_engine Orchestrated ingestion
AaCT-E Audit trail
StegDB State monitoring

LINKS


ONE LINE

StegVerse enforces commit-time governance with verifiable execution receipts.

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

stegverse_sdk-1.0.8.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

stegverse_sdk-1.0.8-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file stegverse_sdk-1.0.8.tar.gz.

File metadata

  • Download URL: stegverse_sdk-1.0.8.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for stegverse_sdk-1.0.8.tar.gz
Algorithm Hash digest
SHA256 e58cc036390fe91521b84f22d0ea22a53b3a0e96d6e782849bb02564e90ad501
MD5 3f34d0dfcac0ec0223dfda131102ec19
BLAKE2b-256 17c6c51a6e9856b76dc555edae4e742e07339502c8041234b7da9b7b44b52c19

See more details on using hashes here.

File details

Details for the file stegverse_sdk-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: stegverse_sdk-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for stegverse_sdk-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b67fff975694f74986691528419549763905a2997057e96291ff8d5d1325ff
MD5 53e4531379d37e886811be651b33bcaa
BLAKE2b-256 7fffb39a68570ed6673b3c95efaf37b454c8f0ad74fc066777e5c159569fb39d

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