Python SDK for checking AI agent tool calls with Relay.
Project description
Relay Python SDK
Protect risky AI agent tool calls with Relay from Python, LangGraph, and custom agent stacks.
from relaysecurity_dev import Relay
relay = Relay()
relay.assert_allowed("github_delete_repo", {"repo_name": "myrepo"})
Set your API key before running:
RELAY_API_KEY=relay_sk_your_key_here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file relaysecurity_dev-0.1.0.tar.gz.
File metadata
- Download URL: relaysecurity_dev-0.1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e05a78d849a6a7d57dfd795077540e50e4bd9ac1997057612896eb6a36bf769
|
|
| MD5 |
0467d4a57922d1b79a2fb3145cf08996
|
|
| BLAKE2b-256 |
b6670ea23efbfcd1ffd1e20eb87b9f7359859d3a543655fddc39165fca6e4d04
|
File details
Details for the file relaysecurity_dev-0.1.0-py3-none-any.whl.
File metadata
- Download URL: relaysecurity_dev-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
906a555ae3683d3de156348588ca8d791bee2d1f5aa149c149e02c38ddf2dff7
|
|
| MD5 |
3fc64b4c98601b3a163515dea58af1d4
|
|
| BLAKE2b-256 |
c81f4792a33c2db1ed86043df48059fcf002aa8c7ad8ff9bd0028f1c4c309633
|