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.33
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.33.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aport_agent_guardrails_crewai-1.0.33-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / aport_agent_guardrails_crewai-1.0.33.tar.gz
| Download URL | aport_agent_guardrails_crewai-1.0.33.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a7fcd0971ef9b579d2618b48f289ba72b518a1d21bf5e799618db9f830f271a
|
|
BLAKE2b-256 checksum How to use checksums |
a22c59b2f0a745d8d2d9794cb24f29ade92e3ee7b73ca6041c6b21977b0ea6a9
|
| 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.33-py3-none-any.whl
| Download URL | aport_agent_guardrails_crewai-1.0.33-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da59e633dc5917db100f741e1603ba0bc0b6ba34fe63d09cd610a2ad6520cb5e
|
|
BLAKE2b-256 checksum How to use checksums |
c47c33df668a28a378d37a4b9e2788b93a5146a2038cbca7c7f9644efa5593b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|