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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quesen_crewai-0.3.0.tar.gz.
File metadata
- Download URL: quesen_crewai-0.3.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ba449e2269fad751d8e8c3c3a65c69a4bdfd02abf9dc598ab3fae09249c0186
|
|
| MD5 |
1a884f98425880e6ba21ae87203448e9
|
|
| BLAKE2b-256 |
3b28604d07b5f0216355e514165fb85c63a1b071ec39e203911a20cadbbff872
|
File details
Details for the file quesen_crewai-0.3.0-py3-none-any.whl.
File metadata
- Download URL: quesen_crewai-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe98a10b02510030cbfbdcf03a637d6740f96ebc0d3bd24cc6a9e5fd1fc4802b
|
|
| MD5 |
b05f2e2f9177e1e92fb51b2f837916b5
|
|
| BLAKE2b-256 |
b097d01003ed0e94185c743347583241ac18535e383f3351d4f863b5fb6fe7b1
|