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
transaction() Retrieve a Business Transaction
trust_record() Retrieve an Execution Trust Record
validate_policy() Validate a policy definition

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

Download files

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

Source Distribution

parmana-1.1.2.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

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

parmana-1.1.2-py3-none-any.whl (47.7 kB view details)

Uploaded Python 3

File details

Details for the file parmana-1.1.2.tar.gz.

File metadata

  • Download URL: parmana-1.1.2.tar.gz
  • Upload date:
  • Size: 51.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for parmana-1.1.2.tar.gz
Algorithm Hash digest
SHA256 7095bd7c357de2710527e6707b0b37457a1a0f0bdfc6a0a5e7e1f9387684737c
MD5 dba7b607738de27d8f194bdc52a89c71
BLAKE2b-256 223028da870583c872a91509f294d3647d33d4eed8c34f4c0b0e96314b2c6c9c

See more details on using hashes here.

File details

Details for the file parmana-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: parmana-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 47.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for parmana-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7bc814ce523bafd7d216a1a0af8375af10a64c7895e9e0a9598ac9093f7659f7
MD5 87a0f2bdf43fd50a02b02e7c293ffc1c
BLAKE2b-256 00c75aed26b7b9d920b92fef9c4cf07f44ea5f62cffbc300f11f850a243cf13a

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.4

2 files

1.1.3

2 files

This release

1.1.2 This release

2 files

1.1.1

2 files

1.1.0

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 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