Skip to main content

stillos-clearance

Drop-in counterparty clearance for AI-agent frameworks. Before your agent pays or transacts with a counterparty, clear it in one line — OFAC SDN screen + live Base on-chain wallet signals fused into a CLEAR / REVIEW / BLOCK verdict, Ed25519-signed and backed by a real on-chain correctness bond with /dispute recourse.

x402 and A2A payments settle naked — no KYC, no chargeback. This is the preflight.

Install

pip install stillos-clearance

Use

from stillos_clearance import guard, require_clearance, crewai_guard, agno_pre_hook

# 1. Inline — raises ClearanceBlocked on BLOCK
guard(counterparty_name="Acme LLC", counterparty_wallet="0xabc…")

# 2. Decorator — gate any payment/transfer function by default
@require_clearance()
def pay(amount, counterparty_name=None, counterparty_wallet=None):
    ...

# 3. CrewAI — gate a BaseTool so it refuses sanctioned/risky counterparties
crewai_guard(my_payment_tool)

# 4. Agno — pre_hook that clears the counterparty in run metadata before the agent runs
agent = Agent(..., pre_hooks=[agno_pre_hook()])

block_on_review=True treats REVIEW as a hard stop (default: REVIEW is allowed).

Config

  • STILLOS_CLEARANCE_URL — override the endpoint (default: the live notary).
  • Free tier applies per agent/day; past it the endpoint returns HTTP 402/429 with x402 payment terms, and is_allowed() treats a paywalled response as not cleared.

Why bonded

Every verdict is backed by real USDC staked on-chain (/notary/bond). A verdict proven wrong via independent re-run pays the disputant from the bond. Self-reported agent reputation has no money behind it; these verdicts do.

Release files for stillos-clearance 0.1.0

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

Source distribution (sdist)

Source distribution for stillos-clearance 0.1.0
File Size Uploaded
stillos_clearance-0.1.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stillos-clearance 0.1.0
File Interpreter ABI Platform
stillos_clearance-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.7 kB

Release files / stillos_clearance-0.1.0.tar.gz

Download URL stillos_clearance-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
60e815e56e8c14955d8c712d0f439be8b55959244e829ad2b5b8ce4711368906
BLAKE2b-256 checksum
How to use checksums
d43cb8343f1b3f0d118de3c6cafa150c0488ca3bf0e675a6fda4edb05aaaade7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / stillos_clearance-0.1.0-py3-none-any.whl

Download URL stillos_clearance-0.1.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec75f78c0623e78d26d4f241243ac1e3d3692dd6d82fd81244335be9b6ef5354
BLAKE2b-256 checksum
How to use checksums
5ec961e171978e89df187b9a69ca7a3367344e81077ec2024e6e5c1b7f758808
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

0.1.0 This release

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