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

Uploaded Python 3

File details

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

File metadata

  • Download URL: safentic-1.0.5.tar.gz
  • Upload date:
  • Size: 10.6 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.5.tar.gz
Algorithm Hash digest
SHA256 7adb679873e4836854046c0058fa6827f1c0529e41c8589bbdda5d2d5ab7cd1f
MD5 f4c5d6f4cda83ba059a8ba46e250df7c
BLAKE2b-256 c8d538609d985fdfb634e4a46b87b3ae0111dd2b3f0e34b7aa1951c2c069f64f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: safentic-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 14.4 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 235169b9ed80dac3c7575dddd1c123d05e1a9f960db61b14dcf4789190912aee
MD5 377047e13ee933eaa7e78b9176dbe265
BLAKE2b-256 20aa36046373fea61741c70c68c7eae87cbc41d5088987930502a3505f044b08

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