Skip to main content

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; returns False to block, None to 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.34

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aport-agent-guardrails-crewai 1.0.34
File Size Uploaded
aport_agent_guardrails_crewai-1.0.34.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aport-agent-guardrails-crewai 1.0.34
File Interpreter ABI Platform
aport_agent_guardrails_crewai-1.0.34-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / aport_agent_guardrails_crewai-1.0.34.tar.gz

Download URL aport_agent_guardrails_crewai-1.0.34.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e88380efe718406f90ca376f220dd5406e8b60daa8baee6e6c57c219f9037620
BLAKE2b-256 checksum
How to use checksums
b7f9c8f9ba7e70944bd7427d4d15819d873cd4d6592d584441dc33a30b27cd5a
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.34-py3-none-any.whl

Download URL aport_agent_guardrails_crewai-1.0.34-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03832696d89e4d6b50294c4816ed7484774ee68d406076598370ade142256aca
BLAKE2b-256 checksum
How to use checksums
7d6ab9a967a03d35da56ef14c824ad3666b6e83e2f398a09cbbf392048d0b46a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release history Release notifications | RSS feed

This release

1.0.34 This release

2 release files

1.0.33

2 release files

1.0.30

2 release files

1.0.29

2 release files

1.0.28

2 release files

1.0.27

2 release files

1.0.24

2 release files

1.0.23

2 release files

1.0.22

2 release files

1.0.21

2 release files

1.0.20

2 release files

1.0.19

2 release files

1.0.18

2 release files

1.0.17

2 release files

1.0.16

2 release files

1.0.15

2 release files

1.0.14

2 release files

1.0.13

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page