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 publisher-key allowlist pinned inside this package (the registry cannot vouch for itself), pins name@version + content sha256 in vcp.lock, and never imports, evals, or executes what it fetched. Trust tiers: signed proves integrity and origin, not semantics; verified (lint + red-team + counter-signature) is not yet issued.

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.4.0.tar.gz (41.3 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.4.0-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vcp_sdk-0.4.0.tar.gz
  • Upload date:
  • Size: 41.3 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.4.0.tar.gz
Algorithm Hash digest
SHA256 1b17c52f679ba7d2b24cdb991acbcac2beca85233df73feda4633eaf7a414e62
MD5 5c8e0e32e0e5e09c6b37308bfc0378b5
BLAKE2b-256 feeba0bdd82a8ddcb1dec4ef3479132b007ca6677b384cae2f4c82d96e29cd09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vcp_sdk-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 41.4 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e164dc66fd4ffca2c44b7fc5e68bb56701a502b6dede37ba30f302365f2f3bf9
MD5 06478368b0d75737c6807f03b6c0160c
BLAKE2b-256 2a85a3ca5d838fbce07fd2ed78bac22f24c0c98789a149b5bfc3060fc272c8ab

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