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.3.tar.gz (12.2 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.3-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: praxel-0.1.3.tar.gz
  • Upload date:
  • Size: 12.2 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.3.tar.gz
Algorithm Hash digest
SHA256 be0faf182d712beaab91484a91677c9b699140078b80c9c25928e65dc6e514ec
MD5 c0f20937b90ee3c169a7e53236aa1040
BLAKE2b-256 573ba50d72ed8d7188bdc061f3ccf994d271db809ad7d6ba7ae994d1db80784d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: praxel-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 14.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 632594cccd012a34313e0fef85dd0e74d5606404cc11816c0e4dc3e2b6a8a205
MD5 6a0d824b76f1c0cf97a9b715f34d8ccb
BLAKE2b-256 a255eb15f6b12089dce95e451a992cd14dfedd218d46f36a55fdacf644365864

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