interven-crewai
CrewAI integration for Interven — the AI firewall for agent tool calls.
Install
pip install interven-crewai
Quickstart
from crewai import Agent, Task, Crew
from crewai_tools import SerperDevTool
from interven_crewai import guard, InterventBlockedError
search = guard(SerperDevTool(), api_key="iv_live_...")
researcher = Agent(
role="Security Researcher",
goal="Find relevant AI security news",
tools=[search],
verbose=True,
)
task = Task(
description="Summarize the latest prompt injection research",
expected_output="A short summary",
agent=researcher,
)
crew = Crew(agents=[researcher], tasks=[task])
try:
result = crew.kickoff()
print(result)
except InterventBlockedError as e:
print(f"Crew blocked by Interven: {e}")
What happens per tool call
| Interven decision | Behavior |
|---|---|
| ALLOW | tool runs unchanged |
| SANITIZE | tool runs with Interven's redacted arguments (SSN/secrets stripped) |
| DENY | raises InterventBlockedError |
| REQUIRE_APPROVAL | raises InterventBlockedError with approval URL |
License
MIT
Metadata
Release files for interven-crewai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| interven_crewai-0.1.0.tar.gz | 3.6 kB | Without provenance | Details for interven_crewai-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| interven_crewai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for interven_crewai-0.1.0-py3-none-any.whl |
Total release size: 7.5 kB
Release files / interven_crewai-0.1.0.tar.gz
| Download URL | interven_crewai-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4e43eaadbc16a2b408ea647c9fe37d77f61cd6671dd85ddf9992fa1ef8e28f1
|
|
BLAKE2b-256 checksum How to use checksums |
6a0593b039adbfa8e6806d2495d32f57829a4e71c436dd4f654ab906d7448394
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|
Release files / interven_crewai-0.1.0-py3-none-any.whl
| Download URL | interven_crewai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db91e708343bcd5b6e271d8137332d4a86d5b5c64bcef75219d9c6591eb7a0f0
|
|
BLAKE2b-256 checksum How to use checksums |
570b9122896c1bd2d52003139758a707cc9e675e674b9394f30c24e1f91fb54b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.1
|
Security for interven-crewai 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.