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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stegverse_sdk-1.0.12.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.12.tar.gz
Algorithm Hash digest
SHA256 3493a7d638c25cc8b4ef9351b83255184c6d94d3935977d974c97fe41c17ef26
MD5 8cba4a3b803b51f0e9b9a64d3e36fc0f
BLAKE2b-256 674b0fa46162afbf47740f80178d113669ff25108939ce0a16d443e213a01d08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: stegverse_sdk-1.0.12-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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 40b6c962428348f50f6f37aeed1e4adb13eed77cc7bbc061280587c0ed7afe8d
MD5 e527c29e23a01b7ab23c3c611fb3ec97
BLAKE2b-256 1048bf30aa986bde76a97d13bafed1f30c4101dd5c473ef51ac84807d5a573cc

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