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

Release files for parmana 1.2.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.2.0
File Size Uploaded
parmana-1.2.0.tar.gz 61.1 kB Details

Built distribution (wheel)

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

Total release size: 114.6 kB

Release files / parmana-1.2.0.tar.gz

Download URL parmana-1.2.0.tar.gz
Size 61.1 kB
Tags Source
SHA-256 checksum
How to use checksums
844200c376c2297651a06a0e4bb0dd0cd9b7b426a2a4af6dcb60f68be3fb4912
BLAKE2b-256 checksum
How to use checksums
a43564f9a7aabc7a1c46b00ceab40938fe98d1348c6a801e0f9b74cd85241089
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.2.0-py3-none-any.whl

Download URL parmana-1.2.0-py3-none-any.whl
Size 53.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae28d98c26b4d03bb0dc973691ac949ec9b59ecdf1733f6234743870623ca0ae
BLAKE2b-256 checksum
How to use checksums
d4d4d0c0cacbe24c6b31b2706607c1443b35a10d061cf2f5ee6bbdb990c5da39
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

1.3.0

2 release files

This release

1.2.0 This release

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