Skip to main content

veto-guard

The Python client for Veto. It checks every agent tool call against your policies before the tool runs.

from veto_guard import Veto, VetoBlocked

veto = Veto("http://127.0.0.1:8080", agent_id="support-bot")
run = veto.start_run()


@run.guard
def issue_refund(order_id: str, amount: float) -> dict: ...


try:
    issue_refund("A-1001", 42.5)
except VetoBlocked as exc:
    print(exc)  # feed this back to the model as the tool error

Depends only on httpx. Sync only.

Metadata

Release files for veto-guard 0.1.0

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

Source distribution (sdist)

Source distribution for veto-guard 0.1.0
File Size Uploaded Provenance Actions
veto_guard-0.1.0.tar.gz 14.4 kB With provenance Details for veto_guard-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 23.1 kB

Release files / veto_guard-0.1.0.tar.gz

Download URL veto_guard-0.1.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
704506922bc33b08305b9ff6cb38ec90785cf7e099538d92a6d22e4e2faa1fa1
BLAKE2b-256 checksum
How to use checksums
010b6264e88c06c9de1031948a23bfc12ff5d70860d561f014af23d376494d3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 4, 2026.

Transparency log

Release files / veto_guard-0.1.0-py3-none-any.whl

Download URL veto_guard-0.1.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1872aa917522f841dbac886155d6edce2c9c0a1efc8be4aac91fe527fce2b5cb
BLAKE2b-256 checksum
How to use checksums
86f87fd8c974787e7f74684daa9e70d5c52bfee1927cf7eaf56858b2ed8def79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 4, 2026.

Transparency log

Security for veto-guard 0.1.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for veto_guard-0.1.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 Dec 4, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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