Skip to main content

Python SDK for Gavrun — govern AI agents before risky actions execute

Project description

gavrun

Python SDK for Gavrun — govern AI agents before risky actions execute.

Gavrun intercepts agent tool calls, evaluates them against your policies, and requires human approval for high-risk actions before they run.

Install

pip install gavrun

Quick start

from gavrun import configure, guard

configure(
    api_key="your-sdk-key",
    agent_name="my-agent",
)

@guard
def delete_user(user_id: str) -> dict:
    ...

Frameworks

Built-in adapters for LangChain, LangGraph, CrewAI, and OpenAI Agents SDK.

from gavrun.adapters import patch_langchain
patch_langchain()

Links

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

gavrun-0.2.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

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

gavrun-0.2.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file gavrun-0.2.0.tar.gz.

File metadata

  • Download URL: gavrun-0.2.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for gavrun-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c183ab372b91093a9a610a87836415119acdad072cd10c41df570d8f9a2ef4c5
MD5 0d3c723e7c3cda2c684747996e64d4b7
BLAKE2b-256 e281a21024ec2bc459a37c7b00f3b4a1d288a0e4c6f3549fd4aa505d1b871db0

See more details on using hashes here.

File details

Details for the file gavrun-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gavrun-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for gavrun-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 12b5ac2fa06bba3fcd90de7cd1ce7625c1ff761cd9448c7919e1be42ab8317be
MD5 27f999cdc3ef6d5b8f080cccf8d776c8
BLAKE2b-256 d28ea40d767a2bfafb90b9e82c86cb41192c95aa807c17a97c3ec76acafd5e1e

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