Skip to main content

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


Download files

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

Source Distribution

mizara-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

mizara-0.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file mizara-0.1.0.tar.gz.

File metadata

  • Download URL: mizara-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for mizara-0.1.0.tar.gz
Algorithm Hash digest
SHA256 34fd034ebfed7f79d0f80c5e9e87c87df64e5cf5f62245155578e2ac925035d4
MD5 0a532ae26b90dd4b27ebb33f311d0a29
BLAKE2b-256 977ddbecf544f1997b1f590483dd90ab4042e32a03071df66d8a2348b3d84d5e

See more details on using hashes here.

File details

Details for the file mizara-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mizara-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for mizara-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 725c460912fa43b2970ef7718ade621e6243b61e77840235d538faa100c4121b
MD5 87008013481a84aecac73ca37863495a
BLAKE2b-256 3d142e73b2134ed83290f10bf22dcb14f2d7e810677c610d88c57210891b5082

See more details on using hashes here.

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