Skip to main content

Runtime control plane for AI agents. Vendor-neutral SDK for signed audit logs, policy enforcement, and continuous compliance.

Project description

Praxel

PyPI version License: MIT CI

Praxel — the runtime control plane for AI agents. Wrap any agent in 3 lines, get signed audit logs and policy enforcement.

Install

pip install praxel
uv add praxel

Quickstart

from praxel import Praxel, Policy, PraxelDeniedException

def agent(prompt: str, *, tool_name: str, tool_input: dict):
    return f"Executed {tool_name} with {tool_input}"

policies = [
    Policy(
        policy_id="limit-1000",
        name="Dollar Limit",
        kind="dollar_limit",
        config={"field_path": "amount", "max_amount": 1000.0},
        enabled=True,
    )
]

wrapped = Praxel.wrap(agent, workspace="demo-workspace", policies=policies)
print(wrapped("Pay vendor", tool_name="transfer_money", tool_input={"amount": 500.0}))

What It Does

  • Signed audit logs for every tool call (tamper-evident event trail).
  • Runtime policy enforcement (allow, deny, require approval).
  • Continuous compliance evidence for investigations, audits, and controls.

Supported Providers

  • Anthropic
  • OpenAI
  • Google
  • Custom agents

Before / After

Before: basic Claude agent, no governance

from anthropic import Anthropic

client = Anthropic(api_key="...")

def transfer_money(amount: float, to_account: str) -> str:
    return f"Transferred ${amount:.2f} to {to_account}"

# Tool call executes directly.
result = transfer_money(5000, "acct-risky-001")

After: wrapped with Praxel

from praxel import Praxel, Policy

policies = [
    Policy(
        policy_id="limit-1000",
        name="Dollar Limit",
        kind="dollar_limit",
        config={"field_path": "amount", "max_amount": 1000.0},
        enabled=True,
    )
]

wrapped_agent = Praxel.wrap(agent, workspace="prod-workspace", policies=policies)
  • Signed audit trail for every tool action.
  • Dollar limit enforced at runtime.
  • Dashboard-ready event stream for review and investigations.

Praxel event viewer UI

License

MIT. See LICENSE.

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

praxel-0.1.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

praxel-0.1.2-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: praxel-0.1.2.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for praxel-0.1.2.tar.gz
Algorithm Hash digest
SHA256 085065320a2936a82477a27d9531597b08a9d949c8d8c1b0813bfc34c4b41c3c
MD5 8b11ea977ce76fd2cf8593f1b56f9071
BLAKE2b-256 02a2fc166d1f92c8934696b671483f4970ae6e6279b00b4d6d32b8d4830997f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: praxel-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for praxel-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a2b95cec66a693fd6efdb08ad5256d4fe0b909e7cefeeb41f5281374cf76a84
MD5 429d0d9309c514f4512bb56bd3744a83
BLAKE2b-256 40d0e4d01a420a498edf84c805a83b84583fa2428c1550a01d9e6adcae0bf5c0

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