Skip to main content

Praxel

PyPI version License: MIT

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.

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.5.tar.gz (14.1 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.5-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for praxel-0.1.5.tar.gz
Algorithm Hash digest
SHA256 7d74df74f7597291691053a73551e6aea7b3c1e3b5d1894f4fa3fa53bd8fb074
MD5 d0f5dcf90f0f33ddf7056502f5761bf5
BLAKE2b-256 2efc364e85cd6794ba5aa4fe62c8e1ec7f45f8382bb7c6672d72a0cb258128b8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for praxel-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0132557f91863a76d4d3928c1b7a4138d043bf8ddf8b2a761c15a352d9a02ea4
MD5 007bec0107c431ee48ef9f4d6a4e0cde
BLAKE2b-256 189eef1f907acef64e1b20d457fb0f4a0da7d906fa7b7eb8643a92bbf83e877c

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 Sentry Error logging StatusPage Status page