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.6.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.6-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stegverse_sdk-1.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 fe0be80bcea7b734f299f2a81338d57b50fa173153684111e679fb1a5015bbc4
MD5 34ee970593ad83b44b93e6d3dacafb14
BLAKE2b-256 c42a7d1b3e3529de085b577f5007d8b78dcee841ddbc86ba5000030c6d454bda

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stegverse_sdk-1.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 de6d5120efd96394eca90e4beb711af0705bafd663c2b064b1d8d88085de0a59
MD5 4cb34dcf4524012c8aab5ced295b61df
BLAKE2b-256 ffe955d38cdd695dc852437122c4e0cc53adbc31603eb8defa3fae73c43085a1

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