Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

relaysecurity_dev-0.1.0.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

relaysecurity_dev-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

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

Hashes for relaysecurity_dev-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e05a78d849a6a7d57dfd795077540e50e4bd9ac1997057612896eb6a36bf769
MD5 0467d4a57922d1b79a2fb3145cf08996
BLAKE2b-256 b6670ea23efbfcd1ffd1e20eb87b9f7359859d3a543655fddc39165fca6e4d04

See more details on using hashes here.

File details

Details for the file relaysecurity_dev-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for relaysecurity_dev-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 906a555ae3683d3de156348588ca8d791bee2d1f5aa149c149e02c38ddf2dff7
MD5 3fc64b4c98601b3a163515dea58af1d4
BLAKE2b-256 c81f4792a33c2db1ed86043df48059fcf002aa8c7ad8ff9bd0028f1c4c309633

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