Skip to main content

VisIQ agent-governance SDK — local, in-process policy decisions from ONE compiled core (Path B).

Project description

visiq — VisIQ agent-governance Python SDK (Path B)

The first REAL, installable, CLOSED multi-language SDK. ONE compiled Rust core (the Path-B engine) makes the SAME governance decisions as the shipped TypeScript SDK (@visiq/harness), exposed through an ergonomic Python API.

import visiq
d = visiq.gate_action(bundle, tool_name="wire_transfer", args={"amount": 999}, agent_id="a")
if not d["allowed"]:
    ...  # block — the tool never runs

Why it's real (not a prototype)

  • Installable: maturin builds an abi3 wheel (pip install visiq) — ONE binary for py3.9+; the engine is compiled machine code, no source in the artifact (closed / hard-to-RE, better than npm minification).
  • Correct: it reuses the proven rego engine (../rseval/engine, 1316/1316 vs L0) + the unified-runtime layer matched to the real TS UnifiedRuntime.

Structure

  • src/lib.rs — the Path-B core + PyO3 _core.evaluate(event_json, bundle_json).
  • python/visiq/__init__.py — the ergonomic API (decide / gate_action / gate_retrieval).
  • conformance.pyGATE 1: the installable SDK reproduces the event-corpus stamps (== shipped TS SDK decisions) across the full 93-vector corpus.
  • interception_smoke.pyGATE 2: a REAL LlamaIndex FunctionAgent's tool dispatch is governed by the REAL compiled core (denied tool never executes; committed negative control).

Publishing (CTO-gated)

.github/workflows/pypi-publish.ymlworkflow_dispatch-only; builds closed abi3 wheels for every platform, runs both gates (required), then publishes via PyPI OIDC Trusted Publishing behind the production environment (CTO approval). No SDK is claimed "supported" on the integrations page until it is genuinely installable AND passes both gates.

Build + verify

./run.sh

Prereq: Rust toolchain + python3 -m venv .venv && .venv/bin/pip install maturin llama-index-core.

Scope + next

Covers every event→input dimension + verb + the no-coverage posture (action: verb→read/write/delete/admin→approve/deny/ask, a faithful port of the TS resolveNoCoverage; retrieval: always fail-closed). Next: grow the event corpus toward full L0 breadth; then the Ruby/Go/Java/Node bindings over the SAME core, each gated by this same corpus.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

visiq-0.2.1-cp39-abi3-win_amd64.whl (936.4 kB view details)

Uploaded CPython 3.9+Windows x86-64

visiq-0.2.1-cp39-abi3-musllinux_1_2_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ x86-64

visiq-0.2.1-cp39-abi3-musllinux_1_2_aarch64.whl (1.3 MB view details)

Uploaded CPython 3.9+musllinux: musl 1.2+ ARM64

visiq-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

visiq-0.2.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

visiq-0.2.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (2.1 MB view details)

Uploaded CPython 3.9+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

File details

Details for the file visiq-0.2.1-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: visiq-0.2.1-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 936.4 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for visiq-0.2.1-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9e1c49fd70680c606268a0a9f467e3b76e72c0bc3d6d022833c9e509040ad367
MD5 1cc86a387089032b51a950c585fc58a5
BLAKE2b-256 fda66decc59be8f9f18be5302dbee23bd3c18f45b7c336e5afcbe6df294bdd31

See more details on using hashes here.

Provenance

The following attestation bundles were made for visiq-0.2.1-cp39-abi3-win_amd64.whl:

Publisher: pypi-publish.yml on VISIQ-LABS/xy

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

File details

Details for the file visiq-0.2.1-cp39-abi3-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: visiq-0.2.1-cp39-abi3-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.9+, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for visiq-0.2.1-cp39-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 28766b628230c59a18bdea91dc65b17988b4ea2a20f45e52d8d772d141f8e555
MD5 2de135a8f81a987a26a22181caa65396
BLAKE2b-256 773ce37b8ec1e3581484febe459c5026d24021428c61e4f14b7d2699358dfbc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for visiq-0.2.1-cp39-abi3-musllinux_1_2_x86_64.whl:

Publisher: pypi-publish.yml on VISIQ-LABS/xy

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

File details

Details for the file visiq-0.2.1-cp39-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for visiq-0.2.1-cp39-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 161424ac25b2c5ca0e52a461974048851556f4bf77e317559232e0a8a61f458f
MD5 db8e6aaa84482f7676fb7e15a8dc4571
BLAKE2b-256 472a663cbd907ac7c6bdfbf1e02be9159e89125fcd96218af25e971dbefbaf2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for visiq-0.2.1-cp39-abi3-musllinux_1_2_aarch64.whl:

Publisher: pypi-publish.yml on VISIQ-LABS/xy

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

File details

Details for the file visiq-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for visiq-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 84ee4b94519d4cc6a4560a4d19b664917cd9a5b178c63b4dda020346ec7ef278
MD5 71e5421a527f6684790310303f7d6477
BLAKE2b-256 73e3c2eacbeb9020f9c21c963962248a08f022334415250b10a40fbc0eb03d0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for visiq-0.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi-publish.yml on VISIQ-LABS/xy

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

File details

Details for the file visiq-0.2.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for visiq-0.2.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bc1f1d651df14a39e6a116d4f5e37286e798ce505a7028b2a089b0e1df2a1e87
MD5 956275d6166a560b2fed49cfa718cdb3
BLAKE2b-256 6df01fb73f063c087cb92feca7d4e11fec761ed2d787509c2c7a11aca2b420b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for visiq-0.2.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: pypi-publish.yml on VISIQ-LABS/xy

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

File details

Details for the file visiq-0.2.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.

File metadata

File hashes

Hashes for visiq-0.2.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 8e97cdbfdfca4926ec00f88dbac1df27c1d8ca0f09610edfa8545e3a2cc1284f
MD5 0b23e2e5d74ca36d8586ee4eb517fb60
BLAKE2b-256 e23e3a62d6e30efd762f02781d273e46f89f7f6d697f92aefd759a828f6c4ff0

See more details on using hashes here.

Provenance

The following attestation bundles were made for visiq-0.2.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:

Publisher: pypi-publish.yml on VISIQ-LABS/xy

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

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