Skip to main content

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

Project description

Praxis

PyPI version License: MIT CI

Praxis — 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

Docs

docs.trypraxis.com

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 Praxis

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.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: praxel-0.1.1.tar.gz
  • Upload date:
  • Size: 9.4 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.1.tar.gz
Algorithm Hash digest
SHA256 b90765ba2b13211cd4ec515cfe594b1ea8fe5f4086934985515d35bba507f8e3
MD5 0ffeb804e49b254d3ff2b9c62d8273ba
BLAKE2b-256 af1fcf818e800c0a205ed0c2ce8530f5b4ccc000dc263471af485f0c330c16bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: praxel-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3d08f29977e105b430dd1aaeb87419aa179e6c4b32e79c5e633d0918f16b663
MD5 6d0df189f19977f7ca00e3b01c629a18
BLAKE2b-256 5caddfd761e168cb78afbb156ca479d73c6ebec6eb202423938c3ac41bce5d56

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