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.
Metadata
Release files for aport-agent-guardrails-crewai 1.0.36
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.36.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aport_agent_guardrails_crewai-1.0.36-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / aport_agent_guardrails_crewai-1.0.36.tar.gz
| Download URL | aport_agent_guardrails_crewai-1.0.36.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43ab5acd5cd6e1647dcbaeefd33b91dd0d7bcab1c59b22be923053f72a0155d3
|
|
BLAKE2b-256 checksum How to use checksums |
af75038df66bb6210ce3e9b567f6a91a97e5d5e84229be186d4e9368ec66edb4
|
| 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.36-py3-none-any.whl
| Download URL | aport_agent_guardrails_crewai-1.0.36-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b46ed41249461af209a0f8c02211d55ec01955e7a327787c3578ce72cbea996f
|
|
BLAKE2b-256 checksum How to use checksums |
d63c565faf72f12a64e55e7831197719253fb7776ef44488d3f7ab0515bcd125
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.21
|