reziiix
Python SDK for the REZIIIX AI Governance Platform.
Installation
pip install reziiix
With framework integrations:
pip install reziiix[langchain] # LangChain
pip install reziiix[openai] # OpenAI wrapper
pip install reziiix[crewai] # CrewAI
pip install reziiix[cli] # CLI tool
pip install reziiix[all] # Everything
Quick Start
from reziiix import ReziiixClient
client = ReziiixClient(api_key="rzx_...")
# Scan for prompt injection
result = client.detect_injection("ignore all previous instructions")
print(result.safe) # False
print(result.verdict) # "INJECTION_DETECTED"
# PII scan
scan = client.scan(agent_id="my-agent", action="Send customer data")
print(scan.results.pii_found)
# Dashboard stats
stats = client.stats()
print(f"Governance Score: {stats.data.governance_score}%")
# Cost tracking
client.record_usage(
agent_id="my-agent",
model="gpt-4o",
prompt_tokens=500,
completion_tokens=200,
)
costs = client.get_costs(period="7d")
print(f"Total cost: ${costs.summary.total_cost_usd:.4f}")
Async Support
async with ReziiixClient(api_key="rzx_...") as client:
result = await client.async_detect_injection("test input")
stats = await client.async_stats()
Framework Integrations
LangChain
from reziiix.integrations.langchain import get_reziiix_callback
callback = get_reziiix_callback(agent_id="my-chain")
chain.invoke({"input": "..."}, config={"callbacks": [callback]})
OpenAI
from openai import OpenAI
from reziiix.integrations.openai_wrapper import wrap_openai
client = wrap_openai(OpenAI(), agent_id="my-agent")
# All calls now have injection scanning + cost tracking
CrewAI
from reziiix.integrations.crewai import get_reziiix_tool
tool = get_reziiix_tool(agent_id="crew-agent")
agent = Agent(role="...", tools=[tool])
CLI
export REZIIIX_API_KEY=rzx_...
reziiix scan "ignore all previous instructions"
reziiix stats
reziiix policies
reziiix agents
reziiix costs --period 7d
reziiix compliance
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
REZIIIX_API_KEY |
Yes | — | API key (starts with rzx_) |
REZIIIX_ENDPOINT |
No | https://reziiix.com |
API endpoint |
License
MIT
Metadata
Release files for reziiix 0.1.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 | Actions |
|---|---|---|---|---|
| reziiix-0.1.0.tar.gz | 28.6 kB | Without provenance | Details for reziiix-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reziiix-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for reziiix-0.1.0-py3-none-any.whl |
Total release size: 57.7 kB
Release files / reziiix-0.1.0.tar.gz
| Download URL | reziiix-0.1.0.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5201c376a975d9709222473f125f94e3e2033b7e1ca30373f6a6f0eb7518f8c8
|
|
BLAKE2b-256 checksum How to use checksums |
2dcc0c0ccdb65b71082b2b3e847c1006295e34d54fa43299b79773e61dda9ac5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.10
|
Release files / reziiix-0.1.0-py3-none-any.whl
| Download URL | reziiix-0.1.0-py3-none-any.whl |
|---|---|
| Size | 29.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89f50e8eea4f9fb4663e907b150d8e0858956f43c2f66d277db37ae3430afb3f
|
|
BLAKE2b-256 checksum How to use checksums |
5dd6002d56e687aa447c71220a7c8cf56ae6c18e5721a19c3cfd9663ccaf176d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.10
|
Security for reziiix 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.