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.4.tar.gz (10.0 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.4-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: safentic-1.0.4.tar.gz
  • Upload date:
  • Size: 10.0 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.4.tar.gz
Algorithm Hash digest
SHA256 f5e553839247d7e8fb42480378ffa3d78efc7d03b5b42e61bb1ab6d0e96aa0bd
MD5 35a88dafdecf3503d27bd8ace03c90cb
BLAKE2b-256 ad46e51992268296d522b901ce29b154096ec963f5d7c9167059824b557def45

See more details on using hashes here.

File details

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

File metadata

  • Download URL: safentic-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 26f5bb83178f2960e82ee55495681f06e05038451115d3d0ea1dff0361a6eb2e
MD5 fc97f039016a3a25996d658b149d3f5e
BLAKE2b-256 91baa6682880698ccf24f28db785c34d4b06f8a68bb4da7045cacb7fcd976251

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