safentic 1.0.0__py3-none-any.whl → 1.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
safentic/__init__.py CHANGED
@@ -5,4 +5,4 @@ __all__ = [
5
5
  "SafenticError",
6
6
  ]
7
7
 
8
- __version__ = "0.3"
8
+ __version__ = "1.0.2"
@@ -0,0 +1,60 @@
1
+ Metadata-Version: 2.4
2
+ Name: safentic
3
+ Version: 1.0.2
4
+ Summary: Safentic SDK for behavior analysis
5
+ Home-page: https://safentic.com
6
+ Author: Safentic
7
+ Author-email: contact@safentic.com
8
+ License: Proprietary :: Safentic Commercial License
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: License :: Other/Proprietary License
11
+ Classifier: Operating System :: OS Independent
12
+ Description-Content-Type: text/markdown
13
+ Requires-Dist: requests
14
+ Requires-Dist: PyYAML==6.0
15
+ Requires-Dist: sentence-transformers==3.2.1
16
+ Requires-Dist: sqlalchemy
17
+ Requires-Dist: python-dotenv
18
+ Dynamic: author
19
+ Dynamic: author-email
20
+ Dynamic: classifier
21
+ Dynamic: description
22
+ Dynamic: description-content-type
23
+ Dynamic: home-page
24
+ Dynamic: license
25
+ Dynamic: requires-dist
26
+ Dynamic: summary
27
+
28
+ # Safentic SDK
29
+
30
+ Safentic is a runtime guardrail SDK for agentic AI systems.
31
+ It intercepts and evaluates unsafe tool calls between agent **intent** and **execution**, enforcing custom safety policies.
32
+
33
+ ---
34
+
35
+ ## Installation
36
+
37
+ Install from PyPI:
38
+
39
+ pip install safentic
40
+
41
+ ---
42
+
43
+ ## API Key Required
44
+
45
+ Safentic requires a valid API key to function.
46
+ To obtain one, contact: contact@safentic.com
47
+
48
+ ---
49
+
50
+ ## Quick Start
51
+
52
+ ```python
53
+ from safentic import SafetyLayer, SafenticError
54
+
55
+ layer = SafetyLayer(api_key="your-api-key", agent_id="agent-007")
56
+
57
+ try:
58
+ layer.protect("send_email", {"body": "Refund me now!"})
59
+ except SafenticError as e:
60
+ print("Blocked by policy:", e)
@@ -1,5 +1,5 @@
1
1
  safentic/LICENSE.txt,sha256=xl3AZ2rkiOG5qE01SPRBgoW5Ib5YKZQeszh6OlvKePk,2330
2
- safentic/__init__.py,sha256=Pd4tbCIA5v9TG7lE6iH03CokkGPcdppi3QQyz2DbVpQ,130
2
+ safentic/__init__.py,sha256=X09_jtomnoN6fsUB4R_D4PL5HHLVQ2_7RrZ3acBOo-c,132
3
3
  safentic/config.py,sha256=V6c8Fz0t-Ja278kjCrQMlGPBQ4Hj830t3q7U7oM4Q4k,90
4
4
  safentic/engine.py,sha256=-a90x70SY15WkOIkgxoPVLs_9xGsf4Krj-CmpoMs6tE,2597
5
5
  safentic/layer.py,sha256=LzdAGLa3cX8oheBQEABrTK_X0cte9XTyW1GdtgxI25o,1742
@@ -16,7 +16,7 @@ safentic/verifiers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
16
16
  safentic/verifiers/sentence_verifier.py,sha256=jgObZ1t4UCYHYIfNayI0n69hVBWOHc9GAhpJsDbiD2c,2376
17
17
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  tests/test_all.py,sha256=nIUedvH5ny_Glp5PuxmzHCRW2KvqkmwM3bB8rZvHLSo,5723
19
- safentic-1.0.0.dist-info/METADATA,sha256=USFJqcC8_p4NAm8h57uaZqNo1sNHUuinDWT2yRrgHsw,1136
20
- safentic-1.0.0.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
21
- safentic-1.0.0.dist-info/top_level.txt,sha256=8bLyq7i9we7XEcbDYLHTUfR3IIpICeMfG8NWAHCLU5s,15
22
- safentic-1.0.0.dist-info/RECORD,,
19
+ safentic-1.0.2.dist-info/METADATA,sha256=DS302jaM_roj-bIIBD300SZPslAJ_IftIjMdapzcVSI,1482
20
+ safentic-1.0.2.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
21
+ safentic-1.0.2.dist-info/top_level.txt,sha256=8bLyq7i9we7XEcbDYLHTUfR3IIpICeMfG8NWAHCLU5s,15
22
+ safentic-1.0.2.dist-info/RECORD,,
@@ -1,42 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: safentic
3
- Version: 1.0.0
4
- Summary: Safentic SDK for behavior analysis
5
- Home-page: https://safentic.com
6
- Author: Safentic
7
- Author-email: contact@safentic.com
8
- License: Proprietary :: Safentic Commercial License
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: Other/Proprietary License
11
- Classifier: Operating System :: OS Independent
12
- Description-Content-Type: text/markdown
13
- Dynamic: author
14
- Dynamic: author-email
15
- Dynamic: classifier
16
- Dynamic: description
17
- Dynamic: description-content-type
18
- Dynamic: home-page
19
- Dynamic: license
20
- Dynamic: summary
21
-
22
- # SAFENTIC-V0
23
-
24
- Safentic is a runtime guardrail SDK for agentic AI.
25
- It intercepts unsafe tool calls between agent **intent** and **execution**.
26
-
27
- ## To Run Locally with Docker
28
-
29
- ### Prerequisites
30
-
31
- - [Docker Desktop](https://www.docker.com/products/docker-desktop) installed
32
-
33
- ---
34
-
35
- ### Build and Run with Docker
36
-
37
- Make sure docker desktop is running on your device, then do the following:
38
- ```
39
- 1. git clone https://github.com/type0-1/safentic-v0.git
40
- 2. cd safentic-v0
41
- 3. docker compose up --build
42
- ```