decionis-crewai
Gate any CrewAI tool call before its side effect runs. The wrapper preserves the inner tool's name, description, and Pydantic argument schema, so the agent sees the same tool while Decionis evaluates the proposed payload against an organization policy.
pip install decionis-crewai
from decionis import DecionisClient
from decionis_crewai import DecionisGuardedTool
client = DecionisClient(api_key="...", base_url="https://api.decionis.com")
guarded_refund = DecionisGuardedTool.wrap(
inner_tool=send_refund,
client=client,
tenant_id="your-org-uuid",
workflow_key="refund_execution",
site_base_url="https://decionis.com",
)
refund_agent = Agent(..., tools=[guarded_refund])
ALLOW runs the inner tool. BLOCK, REVIEW_REQUIRED, and ESCALATE raise a
DecionisGuardRefusal before the inner tool runs and carry the Decision Dossier id and verify URL.
Start observe-only without changing agent behavior:
guarded_refund = DecionisGuardedTool.wrap(
inner_tool=send_refund,
client=client,
tenant_id="your-org-uuid",
workflow_key="refund_execution",
shadow_mode=True,
)
In Shadow Mode every verdict is recorded, including would-block outcomes, but the inner tool still
runs. Remove shadow_mode=True only after reviewing the weekly exposure report and policy fit.
Compatibility: Python 3.10–3.13, CrewAI 1.x, and decionis 0.2 or later.
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 decionis_crewai-0.1.0.tar.gz.
File metadata
- Download URL: decionis_crewai-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f479024fbf36e65fb96be7829cf8b79da59092f86db3c4be940088a65308fe1
|
|
| MD5 |
9f3d479bdfc6a8b77bbbe88c73a6a3d7
|
|
| BLAKE2b-256 |
c43f611430a9a99546cb3a38ba145b89d3b1ad76b3dc94fd7a9dbc3e300a7f2e
|
Provenance
The following attestation bundles were made for decionis_crewai-0.1.0.tar.gz:
Publisher:
release-sdks.yml on decionis/Decionis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
decionis_crewai-0.1.0.tar.gz -
Subject digest:
3f479024fbf36e65fb96be7829cf8b79da59092f86db3c4be940088a65308fe1 - Sigstore transparency entry: 2589456729
- Sigstore integration time:
-
Permalink:
decionis/Decionis@31890d803edc5f14ead8abdc542e65eec0d0ae73 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/decionis
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-sdks.yml@31890d803edc5f14ead8abdc542e65eec0d0ae73 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file decionis_crewai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: decionis_crewai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3c24e0c020dcf1ee254f8b7997edfb9f8593628880406ebafd6148ab9ea1263
|
|
| MD5 |
bd7252f5f4e35c2a8310e2820141ab07
|
|
| BLAKE2b-256 |
a7da14a5ded101fb6902cba3eab5dd73619b64ce924a00778c415d9faf7c85fc
|
Provenance
The following attestation bundles were made for decionis_crewai-0.1.0-py3-none-any.whl:
Publisher:
release-sdks.yml on decionis/Decionis
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
decionis_crewai-0.1.0-py3-none-any.whl -
Subject digest:
f3c24e0c020dcf1ee254f8b7997edfb9f8593628880406ebafd6148ab9ea1263 - Sigstore transparency entry: 2589456830
- Sigstore integration time:
-
Permalink:
decionis/Decionis@31890d803edc5f14ead8abdc542e65eec0d0ae73 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/decionis
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-sdks.yml@31890d803edc5f14ead8abdc542e65eec0d0ae73 -
Trigger Event:
workflow_dispatch
-
Statement type: