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-aa5ba.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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quesen_crewai-0.5.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quesen_crewai-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / quesen_crewai-0.5.0.tar.gz
| Download URL | quesen_crewai-0.5.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da859128b390e26c6e9768afe7880e8e3c4d2a0e2a7691900816be9ed271e752
|
|
BLAKE2b-256 checksum How to use checksums |
32f89fc78f588766cb9b6dde31c8ba092031dac132d2a0b26c8ef4156143f000
|
| 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.0-py3-none-any.whl
| Download URL | quesen_crewai-0.5.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f75dc4af5d29d52383d72d6409a18621d18734dc56a6ab5901debbaa753e2fe
|
|
BLAKE2b-256 checksum How to use checksums |
c2882c7df44f1c46521985cd0699fa6a9cfd76ff290c5aa0d9192596bb1f9e23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|