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
Metadata
Release files for value-context-protocol 4.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| value_context_protocol-4.2.0.tar.gz | 169.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| value_context_protocol-4.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 369.0 kB
Release files / value_context_protocol-4.2.0.tar.gz
| Download URL | value_context_protocol-4.2.0.tar.gz |
|---|---|
| Size | 169.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d57026b3d17fbb10d888258d60839bba39c467a4eaaab7e6c8b46a0dd8a8b45
|
|
BLAKE2b-256 checksum How to use checksums |
4218e950eae2a321a1a8c06f6a9a5fa53087e6f690f33badaf1bc72e277a7e70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logRelease files / value_context_protocol-4.2.0-py3-none-any.whl
| Download URL | value_context_protocol-4.2.0-py3-none-any.whl |
|---|---|
| Size | 199.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f9eec5131c2f98ce5da5be6eea83d2d836819ca9e45bfadef9c53e9613dc0d8
|
|
BLAKE2b-256 checksum How to use checksums |
5947a5a5d8f2d32ed37755629508d4bf11ed048978fe1ac164bf138a257d5b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logSecurity for value-context-protocol 4.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for value_context_protocol-4.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.