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.2.tar.gz (9.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.2-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mizara-0.1.2.tar.gz
  • Upload date:
  • Size: 9.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.2.tar.gz
Algorithm Hash digest
SHA256 bfa532867b59e8099fa32bcd493a92af734524beaec19571aa73b19ce721ec9d
MD5 40632a0c5bdb89b60ed3b5c6db89dda5
BLAKE2b-256 7c68b7593f206672858242b142b66d5774cd761756c0f9e16b2c73e293cc7835

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mizara-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0ab7b814875f7f23bb315db52f31b9e8e21d6912c41c184928a8cf7455ef5b0
MD5 a3c9de2121d8e862d537b196351d19a3
BLAKE2b-256 e3329ab6c9a1bcec3608a53b184f2f2b376b791d139d8e87c61fd9e3f6b71f27

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