APort Agent Guardrail for CrewAI
APort Agent Guardrail for CrewAI — released CrewAI compatibility mode via the existing before_tool_call hook. Tool execution is verified against your passport and policy; deny blocks execution. Built for AI agent and multi-agent crews.
Install
pip install aport-agent-guardrails-crewai
aport-crewai setup
Usage
from aport_guardrails_crewai import register_aport_guardrail
register_aport_guardrail()
crew.kickoff()
Or use the with_aport_guardrail decorator on your entry point. See
docs/frameworks/crewai.md.
API
aport_guardrail_before_tool_call(context)— Hook compatible with@before_tool_call; returnsFalseto block,Noneto allow.register_aport_guardrail()— Registers the hook globally.with_aport_guardrail— Decorator that registers the hook then runs the wrapped function.
Release files for aport-agent-guardrails-crewai 1.0.31
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aport_agent_guardrails_crewai-1.0.31.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aport_agent_guardrails_crewai-1.0.31-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / aport_agent_guardrails_crewai-1.0.31.tar.gz
| Download URL | aport_agent_guardrails_crewai-1.0.31.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
460dc1bd03150c3e87bb5ef3a1abeb4d1a9b67fb5fd5655ac10c2e3db9f43eeb
|
|
BLAKE2b-256 checksum How to use checksums |
7012aad0c7719353e98850d1fd771858a43c1cba2a659818bcab057be48fcf34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|
Release files / aport_agent_guardrails_crewai-1.0.31-py3-none-any.whl
| Download URL | aport_agent_guardrails_crewai-1.0.31-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7509db97d798663c31e54dd05b2f45f318180bc6501a0b1766d58d8ea345fa4f
|
|
BLAKE2b-256 checksum How to use checksums |
c1d747db18b32d8c46b0a48f0a7df0bf347be3c7a149979bd45a046c19f6fcea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|