Quesen — CrewAI Tool
Deterministic Agent Firewall + A2A risk validation as CrewAI
BaseTools. Drop it on any Agent, any Crew.
Status: v0.3.0 · tracks Quesen engine v1.10.0 (TSC v2 firewall) · requires quesen-sdk>=0.4.1.
Developer portal: https://senueren.co.za/quesen · Source: https://github.com/Shxnque/quesen
Agent Firewall (no signup)
from quesen_crewai import QuesenFirewallTool
firewall = QuesenFirewallTool(
base_url="https://web-production-3df26.up.railway.app", sandbox=True,
)
# Attach to any CrewAI Agent's tools=[...]; deterministic PASS/REVIEW/BLOCK/SKIP.
Install
pip install quesen-crewai
# or:
pip install git+https://github.com/Shxnque/quesen-crewai.git
30-second usage
from crewai import Agent, Task, Crew
from quesen_crewai import QuesenValidateTool, QuesenReportTool
defender = Agent(
role="Risk Officer",
goal="Prevent the trading agent from touching rugpulls.",
backstory="You block any action that Quesen labels SKIP.",
tools=[QuesenValidateTool(base_url="https://<your-quesen>", api_key="sk_live_abc")],
)
check = Task(
description="Validate this opportunity: domain_age_days=1, engagement_ratio=0.95, scam_keyword_count=4",
agent=defender,
expected_output="A PROCEED / REVIEW / SKIP decision with risk_score and conflict_triggers.",
)
crew = Crew(agents=[defender], tasks=[check])
print(crew.kickoff())
Receipt provenance (v1.10)
Calling QuesenValidateTool._run(...) returns the raw response dict from the
underlying quesen-sdk client. Against a v1.10.0+ engine that dict includes:
input_snapshot_hash— SHA-256 over canonical request JSON.commit_sha— git SHA of the ruleset live at decision time (or"unknown").
Both flow through untouched for CrewAI callers to log or verify. See the public API reference for the contract.
Tools shipped
QuesenValidateTool— wraps/validateQuesenSimulateTool— wraps/simulateQuesenReportTool— wraps/report(v1.1 schema)
MIT license. See senueren.co.za/quesen for canonical documentation.
Metadata
Release files for quesen-crewai 0.5.1
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 | Actions |
|---|---|---|---|---|
| quesen_crewai-0.5.1.tar.gz | 5.7 kB | Without provenance | Details for quesen_crewai-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quesen_crewai-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for quesen_crewai-0.5.1-py3-none-any.whl |
Total release size: 12.0 kB
Release files / quesen_crewai-0.5.1.tar.gz
| Download URL | quesen_crewai-0.5.1.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d189afdefe809ce643fb8959f51bcb720babac5fe3d16728681cd6b8a3c99729
|
|
BLAKE2b-256 checksum How to use checksums |
bf7288ed2a02f4a47cd5ab94abb4d0ac1af0c5a8e7bb45700f68a1d1fd5d0374
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Release files / quesen_crewai-0.5.1-py3-none-any.whl
| Download URL | quesen_crewai-0.5.1-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21edbc6bb9bac78f519062d6b043465ee351ae700dabd67a7117b84b40564981
|
|
BLAKE2b-256 checksum How to use checksums |
ded3608b86129aa43f2923ba91845a6e2a08618ac7813281370d90ac6ddfb6dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|
Security for quesen-crewai 0.5.1
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.