Observed since 20 Oct, 18:40 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Actra - Deterministic admission control engine for automated system actions.
Action Admission Control for Automated Systems
Deterministic policy engine that decides whether automated actions are allowed before they execute.
The Actra Python SDK provides a simple interface for loading policies and evaluating decisions using the Actra engine written in Rust.
The SDK also provides a runtime layer for protecting functions using Actra policies.
If a policy blocks the operation, the function will not execute and a PermissionError will be raised.
Install from PyPI:
pip install actra
The package includes a compiled Rust engine, so no Rust toolchain is required during installation.
@actra.admit()
def refund(amount):
...
The rule lives in policy:
rules:
- id: block_large_refund
when:
subject:
domain: action
field: amount
operator: greater_than
value:
literal: 1000
effect: block
Result:
refund(200) > allowed
refund(1500) > blocked by policy
Actra evaluates the policy before the function executes and blocks refunds greater than 1000.
The Python SDK focuses on:
The heavy lifting is performed by the core engine, ensuring fast and consistent evaluations.
flowchart LR
subgraph User Code
U[User Code]
end
subgraph SDK Layer
S[Python SDK]
end
subgraph Native Bindings
N[Rust bindings<br/>actra]
end
subgraph Core Engine
C[Actra Engine]
end
U --> S --> N --> C
The SDK provides a Python-friendly interface while the core engine handles compilation and evaluation.
Apache License 2.0
Actra is designed for systems requiring explicit, reproducible control over state-changing operations in automated environments.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.7.8 | 4 Apr 2026 | 1 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:40 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:c5e4e209a141730c1ac08157eb134a2d01b55d5441a99e7c0ba7509bc70ac347