Skip to main content

VCP Python SDK

The Python project-maintained implementation for VCP parsing, signed bundles, orchestration, policy enforcement, privacy filtering, hooks, messaging, and protocol extensions.

Agent Runtime Profile candidate

The vcp.agent facade provides complete local reference behavior for observe, controlled, and accretive profile levels. It preserves bounded orientation, explicit assurance, contextual Affordances, proof-first runs, exact single-use authority, interruption and reconciliation, evidence-based completion, candidate-first learning, attributable reuse, and revocation.

from vcp.agent import AgentRuntime

async with AgentRuntime.connect(profile="accretive@0.1.0") as runtime:
    situation = (await runtime.bootstrap("Complete one governed task")).require_value()

Local mode opens no network and grants no production authority. Run vcp doctor --json before feature use to detect distribution collisions. See the complete guide and the eight executable examples.

Install for development

Python 3.10 or newer is required.

Publication state: source-only candidate. No PyPI release is currently claimed. Commands below operate on this checkout.

python3 -m venv .venv
. .venv/bin/activate
python -m pip install -e '.[dev]'

The package distribution is named value-context-protocol. Python imports use the vcp namespace.

Verify the package

python -m pytest -q
python -m ruff check src tests
python -m ruff format --check src tests
python -m mypy src/vcp
python -m build
python -m pip_audit

Minimal usage

from vcp.identity import Token
from vcp.semantics.csm1 import CSM1Code

token = Token.parse("family.safe.guide@1.2.0")
profile = CSM1Code.parse("N5+F+E")
print(token.full)
print(profile.encode())

Real Ed25519 bundle construction and verification are demonstrated in ../examples/python/02_verify_bundle.py. The full pipeline example verifies before preparing model-context injection.

Optional features

python -m pip install -e '.[server]'
python -m pip install -e '.[mcp]'

Install the MCP extra and run the packaged stdio server with:

python -m pip install -e '.[mcp]'
vcp-mcp-server

The historical host API adapter is archived outside the package source and is excluded from distributions. Development and CI use the committed lock file. Update it deliberately through the documented command in ../CONTRIBUTING.md.

Signed-skill manifests are written as private workspace state by default. On POSIX platforms the atomic temporary file and installed manifest.json use mode 0600. Windows does not provide equivalent POSIX mode semantics, so the application must protect the containing directory with its native access controls. A separately published manifest is a deliberate export and should receive only the permissions required by its publication target.

Related surfaces

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

value_context_protocol-4.2.0.tar.gz (169.5 kB view details)

Uploaded Source

Built Distribution

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

value_context_protocol-4.2.0-py3-none-any.whl (199.5 kB view details)

Uploaded Python 3

File details

Details for the file value_context_protocol-4.2.0.tar.gz.

File metadata

  • Download URL: value_context_protocol-4.2.0.tar.gz
  • Upload date:
  • Size: 169.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for value_context_protocol-4.2.0.tar.gz
Algorithm Hash digest
SHA256 4d57026b3d17fbb10d888258d60839bba39c467a4eaaab7e6c8b46a0dd8a8b45
MD5 76d39de484f0332b732c1232f8ccab57
BLAKE2b-256 4218e950eae2a321a1a8c06f6a9a5fa53087e6f690f33badaf1bc72e277a7e70

See more details on using hashes here.

Provenance

The following attestation bundles were made for value_context_protocol-4.2.0.tar.gz:

Publisher: release.yml on Creed-Space/VCP-SDK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file value_context_protocol-4.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for value_context_protocol-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f9eec5131c2f98ce5da5be6eea83d2d836819ca9e45bfadef9c53e9613dc0d8
MD5 f41e48ee5119987d11dfcebeebe66c81
BLAKE2b-256 5947a5a5d8f2d32ed37755629508d4bf11ed048978fe1ac164bf138a257d5b04

See more details on using hashes here.

Provenance

The following attestation bundles were made for value_context_protocol-4.2.0-py3-none-any.whl:

Publisher: release.yml on Creed-Space/VCP-SDK

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

4.2.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page