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_frameworks
patch_frameworks()

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.1.tar.gz (14.6 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.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gavrun-0.2.1.tar.gz
  • Upload date:
  • Size: 14.6 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.1.tar.gz
Algorithm Hash digest
SHA256 309ca2fd6c0d921a3f55b60ba6e810b02ad5553429f7504a4a8c57093c6d05e2
MD5 8d15c4dffe7f0269c10a95e084036efc
BLAKE2b-256 a27914ece95fbace8a28873c410d4394a66fcac2356259befbccf16852692e37

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gavrun-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad92e848a57906545a6a8e70e7a45515d9ce5affc0a578ca21db123a8541031c
MD5 53b62e5c5214819ad77fc56157461180
BLAKE2b-256 03c794eebca41f41120d0ccc2edd5feca67f6f64cca90f2c81d045ce78624f08

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