Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

valyzen

Python client and CLI for the Valyzen Negotiation Gateway: negotiate under a neutral arbiter, then verify the signed receipt offline.

pip install valyzen
export VALYZEN_API_KEY=vz_pk_test_…    # free test key: https://www.valyzen.ai/keys
valyzen try                            # a sample buyer negotiates the Demo Monitor
valyzen verify receipt.json            # verify any receipt offline
from valyzen import GatewayClient, verify_receipt

client = GatewayClient()                      # VALYZEN_API_KEY, VALYZEN_BASE_URL
session = client.open_session("DEMO-MONITOR-27", agent_id="my-buyer",
                              inclusions=["warranty", "cable"])
while not session.finished:
    edge = session.fair_edge_minor            # cheapest price the arbiter scores fair
    standing = session.merchant_offer_minor
    if standing is not None and standing <= edge:
        session.accept()
    else:
        session.offer(edge, inclusions=session.table_inclusions)

result = verify_receipt(session.receipt(),   # offline, pinned Valyzen keys
                        allow_test=True)      # sandbox receipts are test mode
if result.ok:
    print(result.signed_terms)                # act on the signed terms only

valyzen.buyer adds a guard that keeps a private ceiling in your process (Ceiling) and an LLM buyer over any OpenAI-compatible chat API (run_buyer, OpenAICompatibleModel); FairEdgeModel is the same buyer without a model. examples/grok_buyer.py runs the LLM buyer on xAI Grok (or any OpenAI-compatible API).

Source, docs and the TypeScript SDK: https://github.com/valyzen/valyzen-sdk · Apache-2.0

Metadata

Release files for valyzen 0.1.0a3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for valyzen 0.1.0a3
File Size Uploaded Provenance Actions
valyzen-0.1.0a3.tar.gz 58.2 kB With provenance Details for valyzen-0.1.0a3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for valyzen 0.1.0a3
File Interpreter ABI Platform Actions
valyzen-0.1.0a3-py3-none-any.whl Python 3 none any Details for valyzen-0.1.0a3-py3-none-any.whl

Total release size: 86.0 kB

Release files / valyzen-0.1.0a3.tar.gz

Download URL valyzen-0.1.0a3.tar.gz
Size 58.2 kB
Tags Source
SHA-256 checksum
How to use checksums
61c50f7ac8aa9bc02b73cd26462204bff2696f81120e3dbe695e993b6e46e3c0
BLAKE2b-256 checksum
How to use checksums
7c05a7813f22817c53c4605c9e85699b792ec2cc11cb6296676406ae4e94731a
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 Oct 5, 2026.

Transparency log

Release files / valyzen-0.1.0a3-py3-none-any.whl

Download URL valyzen-0.1.0a3-py3-none-any.whl
Size 27.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
617ac101fa970b96ca3c242e79d89b780ddc5cd71c8bd1df453a0aa785fab868
BLAKE2b-256 checksum
How to use checksums
223ff3d0990a1ac8f32597a96706bbd787e4d68356835b7383eb3c2208fb67d8
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 Oct 5, 2026.

Transparency log

Security for valyzen 0.1.0a3

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.

Select from 2 files

Attestation for valyzen-0.1.0a3.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 Oct 5, 2026.

Transparency log

A 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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