actguard Python SDK
Project description
ActGuard Python SDK
Drop-in action firewall for LLM agents.
Installation
pip install actguard
SDK Compatibility
The low-level monkey patches in actguard.integrations currently support these
minimum SDK versions:
- OpenAI Python SDK:
openai>=1.76.0 - Google GenAI SDK:
google-genai>=0.8.0 - Anthropic Python SDK:
anthropic>=0.83.0
OpenAI minimum is also enforced by a runtime warning in
actguard/integrations/openai.py.
Development
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Lint
ruff check .
ruff format .
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 actguard-0.1.0.tar.gz.
File metadata
- Download URL: actguard-0.1.0.tar.gz
- Upload date:
- Size: 170.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34a9630eb814b09609dc4dbb0c14bad3293aeb812f801c540410a1b85a4638b2
|
|
| MD5 |
03c1b64ab5da5f102d24c2f90341faf4
|
|
| BLAKE2b-256 |
a96797bb28856b1321fe8490e8c99e5747d69484971f2eaf2758e6d93d00261f
|
Provenance
The following attestation bundles were made for actguard-0.1.0.tar.gz:
Publisher:
publish-sdk-py.yml on ActGuard/actguard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
actguard-0.1.0.tar.gz -
Subject digest:
34a9630eb814b09609dc4dbb0c14bad3293aeb812f801c540410a1b85a4638b2 - Sigstore transparency entry: 1000833100
- Sigstore integration time:
-
Permalink:
ActGuard/actguard@d8b920c47ee0c4859f58c188fc97c264c6484437 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ActGuard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk-py.yml@d8b920c47ee0c4859f58c188fc97c264c6484437 -
Trigger Event:
release
-
Statement type:
File details
Details for the file actguard-0.1.0-py3-none-any.whl.
File metadata
- Download URL: actguard-0.1.0-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e6e6da9b3e6d3ee4b74812f2101e302a7ce0c72931a3deb4ea1f810eb5aa78d
|
|
| MD5 |
84f9fd2260f5e1da429bbca2aa24b509
|
|
| BLAKE2b-256 |
6ab6bbec4983eed2c01be13191c452e65c445bd378186b92d6f38b7e5984ae19
|
Provenance
The following attestation bundles were made for actguard-0.1.0-py3-none-any.whl:
Publisher:
publish-sdk-py.yml on ActGuard/actguard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
actguard-0.1.0-py3-none-any.whl -
Subject digest:
5e6e6da9b3e6d3ee4b74812f2101e302a7ce0c72931a3deb4ea1f810eb5aa78d - Sigstore transparency entry: 1000833181
- Sigstore integration time:
-
Permalink:
ActGuard/actguard@d8b920c47ee0c4859f58c188fc97c264c6484437 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/ActGuard
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk-py.yml@d8b920c47ee0c4859f58c188fc97c264c6484437 -
Trigger Event:
release
-
Statement type: