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:
maturinbuilds 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 TSUnifiedRuntime.
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.py— GATE 1: the installable SDK reproduces the event-corpus stamps (== shipped TS SDK decisions) across the full 93-vector corpus.interception_smoke.py— GATE 2: a REAL LlamaIndexFunctionAgent's tool dispatch is governed by the REAL compiled core (denied tool never executes; committed negative control).
Publishing (CTO-gated)
.github/workflows/pypi-publish.yml — workflow_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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file visiq-0.2.2-cp39-abi3-win_amd64.whl.
File metadata
- Download URL: visiq-0.2.2-cp39-abi3-win_amd64.whl
- Upload date:
- Size: 938.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4cfe9e05c06309a43848338108015552f66538a31f6fd59bd538829b2d9f532
|
|
| MD5 |
3e1f5d8fbdcf095e2b14f01982d2a281
|
|
| BLAKE2b-256 |
46772dfde3110a967c5a67e20b075202df368477852aab58243be07dd8bdf3ba
|
Provenance
The following attestation bundles were made for visiq-0.2.2-cp39-abi3-win_amd64.whl:
Publisher:
pypi-publish.yml on VISIQ-LABS/xy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visiq-0.2.2-cp39-abi3-win_amd64.whl -
Subject digest:
d4cfe9e05c06309a43848338108015552f66538a31f6fd59bd538829b2d9f532 - Sigstore transparency entry: 2175668466
- Sigstore integration time:
-
Permalink:
VISIQ-LABS/xy@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VISIQ-LABS
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
pypi-publish.yml@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Trigger Event:
push
-
Statement type:
File details
Details for the file visiq-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: visiq-0.2.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70ceb5c280ab792d452b6a3f80dbeb8250e5b1cad7a7a9df4fc6496ce04ff626
|
|
| MD5 |
1d3cc4dc0005b594b90ae5aedc26aa18
|
|
| BLAKE2b-256 |
dd525b358077036cc9d6e08b10dba7e1d0c8d89a3cd7f46a6da56b9c1f6b7795
|
Provenance
The following attestation bundles were made for visiq-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl:
Publisher:
pypi-publish.yml on VISIQ-LABS/xy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visiq-0.2.2-cp39-abi3-musllinux_1_2_x86_64.whl -
Subject digest:
70ceb5c280ab792d452b6a3f80dbeb8250e5b1cad7a7a9df4fc6496ce04ff626 - Sigstore transparency entry: 2175668389
- Sigstore integration time:
-
Permalink:
VISIQ-LABS/xy@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VISIQ-LABS
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
pypi-publish.yml@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Trigger Event:
push
-
Statement type:
File details
Details for the file visiq-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: visiq-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.9+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8044697d364a0f386770cf93ac287c439d9535fef77e728220a84664f0d2dd67
|
|
| MD5 |
f5ba5f6a72fe75203a9140d20bc472c7
|
|
| BLAKE2b-256 |
fe05c0c9297f3280bde036dc8cfe046979eff9803d090687c9f9ab84528f0193
|
Provenance
The following attestation bundles were made for visiq-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl:
Publisher:
pypi-publish.yml on VISIQ-LABS/xy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visiq-0.2.2-cp39-abi3-musllinux_1_2_aarch64.whl -
Subject digest:
8044697d364a0f386770cf93ac287c439d9535fef77e728220a84664f0d2dd67 - Sigstore transparency entry: 2175668304
- Sigstore integration time:
-
Permalink:
VISIQ-LABS/xy@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VISIQ-LABS
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
pypi-publish.yml@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Trigger Event:
push
-
Statement type:
File details
Details for the file visiq-0.2.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: visiq-0.2.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b68dc6bbd1039e6e73941f521016ae4a19aff23d844b1b28630f7d40a4b1f3a7
|
|
| MD5 |
0d80adbba67e553e481d12f751c283b9
|
|
| BLAKE2b-256 |
ed3b454504ce7e0f5e59c76eb166a433f5a8228e921a8e912bb565e07e91a218
|
Provenance
The following attestation bundles were made for visiq-0.2.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
pypi-publish.yml on VISIQ-LABS/xy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visiq-0.2.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
b68dc6bbd1039e6e73941f521016ae4a19aff23d844b1b28630f7d40a4b1f3a7 - Sigstore transparency entry: 2175668544
- Sigstore integration time:
-
Permalink:
VISIQ-LABS/xy@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VISIQ-LABS
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
pypi-publish.yml@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Trigger Event:
push
-
Statement type:
File details
Details for the file visiq-0.2.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: visiq-0.2.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a39fa9f01a78cde77fd0f6151f4f8054dc2d0e49545cc756fef0fb4e49b33905
|
|
| MD5 |
542e75b12dd76eda52e2b1e7d652ffec
|
|
| BLAKE2b-256 |
79c1279588bc9c541512d0e83443a9d0cbcaecf71c26898600f41b64ae223cd1
|
Provenance
The following attestation bundles were made for visiq-0.2.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
pypi-publish.yml on VISIQ-LABS/xy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visiq-0.2.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
a39fa9f01a78cde77fd0f6151f4f8054dc2d0e49545cc756fef0fb4e49b33905 - Sigstore transparency entry: 2175668213
- Sigstore integration time:
-
Permalink:
VISIQ-LABS/xy@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VISIQ-LABS
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
pypi-publish.yml@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Trigger Event:
push
-
Statement type:
File details
Details for the file visiq-0.2.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.
File metadata
- Download URL: visiq-0.2.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.9+, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
006c4d40ba06d2976f50c588aaa1dee66cba1acc0fff8057e872d897b9209bc6
|
|
| MD5 |
54c647e12c917743f69842e0dc974bb4
|
|
| BLAKE2b-256 |
c9c52341ae9e2fce6e7cba18361aa12ddcb284e32ed795f53ca18aed77dca722
|
Provenance
The following attestation bundles were made for visiq-0.2.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:
Publisher:
pypi-publish.yml on VISIQ-LABS/xy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
visiq-0.2.2-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl -
Subject digest:
006c4d40ba06d2976f50c588aaa1dee66cba1acc0fff8057e872d897b9209bc6 - Sigstore transparency entry: 2175668145
- Sigstore integration time:
-
Permalink:
VISIQ-LABS/xy@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/VISIQ-LABS
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
pypi-publish.yml@09da68994a86f3e6a0861a71eddd25378eaa0014 -
Trigger Event:
push
-
Statement type: