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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: safentic-0.0.1-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-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9bba5696c0d6759da48673bb059d239d6a320e5aacf7aee78ca288274031175
MD5 cf8515233c2c928fae0bd6dc9af54bc4
BLAKE2b-256 da9b1999b50b1099c313f8e00611c31e78f8fcd63f45745407d463b53c1c06e3

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