Mizara — programmable authorization layer for AI actions
Project description
mizara
Authorization layer for AI agents. Evaluates whether an agent action should proceed — before it executes — against a policy you define. Returns a signed decision receipt for every call.
pip install mizara
from mizara import create_mizara_client
mizara = create_mizara_client(policy_path="./policy.json")
result = mizara.authorize(
actor={"id": "agent_support_v4", "type": "autonomous_agent", "framework": "langgraph"},
action={"name": "execute_refund", "risk_profile": "high_irreversible"},
resource={"type": "monetary_transaction", "id": "tx_99210", "attributes": {"amount": 75, "currency": "USD"}},
context={"client_id": "acme_corp", "target_jurisdiction": "EU"},
)
# result.status -> "ALLOW" | "DENY" | "REDACT" | "RE_ROUTE"
# result.cryptographic_receipt -> CryptographicReceipt(id, hash, signature)
Policies are plain JSON — no Rego, no Cedar syntax. See the TypeScript SDK for policy format docs.
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 mizara-0.1.1.tar.gz.
File metadata
- Download URL: mizara-0.1.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dea9171e79da3e2eb738f63443c4c057bf8f792481db3880d4cb1e81b1272a81
|
|
| MD5 |
c5cdb309485c573210818eb09023dbad
|
|
| BLAKE2b-256 |
f30fa5112b156d858f562e3490aa680e276f5dc066ce5d504fbf1ae195f59e89
|
File details
Details for the file mizara-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mizara-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0e97608e8a4ae7dd5d455e4e63cb1ffb72ce9b6f0a3a4006a6a76d10a4d21b1
|
|
| MD5 |
ef993ecbff195cf9d4faa587501c58de
|
|
| BLAKE2b-256 |
f115e533dc8081bb7bb4322998e649c1ecea1c04d7a8c39fde1532835a588461
|