Skip to main content

Safentic SDK for behavior analysis

Project description

Safentic SDK

Safentic is a runtime guardrail SDK for agentic AI systems.
It intercepts and evaluates unsafe tool calls between agent intent and execution, enforcing custom safety policies.


Installation

Install from PyPI:

pip install safentic

API Key Required

Safentic requires a valid API key to function.
To obtain one, contact: contact@safentic.com


Quick Start

from safentic import SafetyLayer, SafenticError

layer = SafetyLayer(api_key="your-api-key", agent_id="agent-007")

try:
    layer.protect("send_email", {"body": "Refund me now!"})
except SafenticError as e:
    print("Blocked by policy:", e)

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

safentic-1.0.2.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

safentic-1.0.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file safentic-1.0.2.tar.gz.

File metadata

  • Download URL: safentic-1.0.2.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for safentic-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e05a40378354c557edb74efd4ae33d9b346bb25823efff20c64c0e8755206e00
MD5 43642c89a11fb9b5bbdd69b7f91e8942
BLAKE2b-256 3b61aefc50bff8250599a2e666dc359f548d25cdc3bef029216a0cdea038e379

See more details on using hashes here.

File details

Details for the file safentic-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: safentic-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for safentic-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 627523100087b4487132fa6fe534358c749fde7ff971ed95b29778beb46f5cd3
MD5 2d7df5a78ab6e8e692d29ea0d3a3ffd9
BLAKE2b-256 ed6c3fa72ebb0fc87cbc50c51fe6cb7b847f9e22fc8ad19c90992bac8e1df534

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