Skip to main content

Parmana

Proof of Human Authority in AI Systems

PyPI Python License

The official Python SDK for Parmana Execution Trust Infrastructure.

Parmana enables organizations to confidently deploy AI in high-impact workflows by ensuring that only authorized actions are executed and every execution is accompanied by verifiable execution evidence.

Why Parmana

Modern AI systems can:

  • Plan
  • Reason
  • Call tools
  • Invoke APIs
  • Execute business workflows

However, most AI systems cannot answer critical governance questions:

  • Who authorized this execution?
  • Which policy approved it?
  • Was the execution independently verified?
  • Can the execution be replayed?
  • Is there cryptographic evidence of what occurred?

Parmana provides the execution trust layer that answers these questions.

Installation

pip install parmana

Requirements

  • Python 3.10 or later
  • Parmana Runtime

Quick Start

from parmana import ParmanaClient

client = ParmanaClient(
    endpoint="http://localhost:3000",
)

print(client.version)

Runtime Health

status = client.health()

print(status)

Execute a Business Transaction

from parmana.models import BusinessTransaction

transaction = BusinessTransaction(
    business_transaction_id="txn-001",
)

trust_record = client.execute(transaction)

print(trust_record.trust_record_id)

Verify an Execution

verification = client.verify("txn-001")

print(verification.status)

Replay an Execution

result = client.replay("txn-001")

print(result.success)

Execution Lifecycle

Business Transaction
        |
        v
Execution
        |
        v
Verification
        |
        v
Receipt
        |
        v
Execution Trust Record

Python SDK

Method Description
health() Runtime health check
execute() Execute a Business Transaction
verify() Verify an execution
replay() Deterministic replay
receipt() Generate an execution receipt
latest_receipt() Read the latest receipt (1.3.0)
transaction() Retrieve a Business Transaction
trust_record() Retrieve an Execution Trust Record
validate_policy() Check a policy name and version can be loaded
refusal_record() Retrieve a Refusal Record
execution_intent() Retrieve an Execution Intent and its status
caller() Who the API key belongs to (1.3.0)
public_key() A signing public key, for offline checks (1.3.0)
propose_policy_change() Propose a policy change (1.3.0)
policy_changes() List policy changes for review (1.3.0)
approve_policy_change() Approve with a signed step up authorization (1.3.0)
reject_policy_change() Reject with a signed step up authorization (1.3.0)

parmana.crypto (install parmana[verify]) verifies Trust Records and Execution Intents with only the public key, and signs step up authorizations (sign_policy_change_step_up(), 1.3.0).

Each of these is also available under its own namespace (e.g. client.execution.execute(), client.verification.verify(), client.replay.replay()) for finer-grained access to that API's other operations, such as client.verification.get_latest() or client.transactions.list().

Documentation

License

Apache License 2.0


Parmana

Proof of Human Authority in AI Systems

Release files for parmana 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parmana 1.3.0
File Size Uploaded
parmana-1.3.0.tar.gz 69.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for parmana 1.3.0
File Interpreter ABI Platform
parmana-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 130.3 kB

Release files / parmana-1.3.0.tar.gz

Download URL parmana-1.3.0.tar.gz
Size 69.4 kB
Tags Source
SHA-256 checksum
How to use checksums
168240f8522c379a80a11a87265811624a2ecbe95ed62155c190caba7a60dcb4
BLAKE2b-256 checksum
How to use checksums
54363d1faab30615e79689073653920b3929036f45fa18346742a4b427a410a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / parmana-1.3.0-py3-none-any.whl

Download URL parmana-1.3.0-py3-none-any.whl
Size 61.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dec481ff639f9359d3a2121140d1ad06d37d33bda452284d0609922df8659bb6
BLAKE2b-256 checksum
How to use checksums
c85ee9e08d8504e24bacd65b2687068d50247f23c509afc0b78bc0c804dccd71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page