Skip to main content

Value Context Protocol SDK — portable AI ethics validation

Project description

vcp-sdk

Python SDK for the Value Context Protocol (VCP) — portable AI ethics validation — plus the Creed Commons client (vcp CLI) for installing signed value artifacts.

Install

pip install vcp-sdk            # core SDK (stdlib-only)
pip install "vcp-sdk[hub]"     # + the vcp CLI for Creed Commons

SDK — tokens, CSM1, VCP-Lite

from vcp import Token, CSM1Code, validate_lite

token = Token.parse("family.safe.guide@1.0.0")
code = CSM1Code.parse("N5+F+E")
errors = validate_lite({"vcp_version": "lite-1.0", ...})

Creed Commons — signed value artifacts

Creed Commons distributes constitutions, creeds, and detector configs as signed data that a values engine interprets — never executable code. Installing an artifact is a signature-verification decision, not a code-execution one:

vcp search gaslighting
vcp install creed-space/anti_gaslighting     # verify Ed25519 + sha256 + schema, then write
vcp verify                                    # re-check installed tree against vcp.lock

vcp install verifies against a trust root pinned inside this package (the registry cannot vouch for itself), pins name@version + content sha256 + the verifying key in vcp.lock, and never imports, evals, or executes what it fetched.

Community namespaces are delegated, never a new root: the hub's namespace_registry.json binds each namespace to its publisher's Ed25519 keys and is itself signed by the pinned root; artifacts must verify against a key registered to their own namespace. Registration and moderation: GOVERNANCE.md.

Trust tiers: signed proves integrity and origin, not semantics; verified additionally carries a domain-separated root counter-signature (issued after lint + red-team + human review) that the client checks on install and on every vcp verify.

Development

pip install -e ".[dev]"
pytest tests/

License

Apache-2.0. © Creed Space.

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

vcp_sdk-0.5.0.tar.gz (59.8 kB view details)

Uploaded Source

Built Distribution

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

vcp_sdk-0.5.0-py3-none-any.whl (51.2 kB view details)

Uploaded Python 3

File details

Details for the file vcp_sdk-0.5.0.tar.gz.

File metadata

  • Download URL: vcp_sdk-0.5.0.tar.gz
  • Upload date:
  • Size: 59.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for vcp_sdk-0.5.0.tar.gz
Algorithm Hash digest
SHA256 706d53e2086f6bf73314b1ceb891edefa837785d817f16c65a5b4d1a5327e809
MD5 b52d43fc18eb1ceeece3231a7367b904
BLAKE2b-256 f77e300b73f7877262a25aab306c81b828261b20192531fe590188b8cc61b770

See more details on using hashes here.

File details

Details for the file vcp_sdk-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: vcp_sdk-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 51.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for vcp_sdk-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4cb5bec86ccc613501fbd48bfabdd6c38accae1b1be94c6e9274ded7236bd26
MD5 f7bed46127ea50f67ed38fd2af9b3bca
BLAKE2b-256 4d90cbebfe805e2cf263807145195d3ed9f4ef1cc659d39f6e6671607660c147

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