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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stegverse_sdk-1.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 43cfc7e9afc0755358afc2768b7e09dfbb13b880bafa4a067ec3b5d9fcb07ec5
MD5 34e2bedef12659d61e091867c9159e4e
BLAKE2b-256 9b8b63f1f05433f7f09170ecde216fec1871e7876ace4419579ca0467332c798

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stegverse_sdk-1.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 0f426d80f0c29320226f495d4f797dcd2619f26194d8999fb48d41b3eb77823d
MD5 08164c7c9c0b80f3b4c56d281d35e458
BLAKE2b-256 34f9b2b3a95c2bb8e61e2351a1f81263001a9108917261dd137593106b307d3a

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