tyga-crewai
Safety shield for CrewAI. Drop-in SafeShellTool that screens commands before execution.
Install
pip install tyga-crewai
Quick Start
from crewai import Agent, Task, Crew
from tyga_crewai import SafeShellTool
agent = Agent(
role="DevOps Engineer",
goal="Monitor and maintain server health",
tools=[SafeShellTool()],
)
task = Task(
description="Check disk usage and running services.",
expected_output="Summary of system health.",
agent=agent,
)
crew = Crew(agents=[agent], tasks=[task])
crew.kickoff()
# Safe commands (df -h, systemctl status) run normally
# Dangerous commands (rm -rf, chmod 777) are blocked
How it works
- Gate 1 (local): Regex denylist screens commands in <5ms. Free, no API key needed.
- Gate 2 (cloud): Set
A2A_API_KEYenv var to enable LLM judge evaluation via a2ainfrastructure.com.
Get an API key
Sign up free at a2ainfrastructure.com. 500 evaluations/month on the free tier.
Links
License
Proprietary — Tyga.Cloud Ltd. See LICENSE file.
Metadata
Release files for tyga-crewai 0.1.2
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 | |
|---|---|---|---|---|
| tyga_crewai-0.1.2.tar.gz | 4.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tyga_crewai-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / tyga_crewai-0.1.2.tar.gz
| Download URL | tyga_crewai-0.1.2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac4700613613e410645225e4699564dde1094bcf6b05f908042cc990e3a66831
|
|
BLAKE2b-256 checksum How to use checksums |
670f51c222a407ee51393051b22df132b6836ee2b4162fbd43c8b4eddec315d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / tyga_crewai-0.1.2-py3-none-any.whl
| Download URL | tyga_crewai-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07211b6c9bbd787c137b7a9bed45c7a22b6c85c21bb0f5d08a511929cdb0e771
|
|
BLAKE2b-256 checksum How to use checksums |
ee2415dc396a6a42ba5e6b3b889041598e2796f425e2d656cf33f588aaba4fab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for tyga-crewai 0.1.2
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.