Skip to main content

sweetai-agent-firewall

Pre-transaction trust firewall for AI agents. Ask "should I pay agent X $N?" before any agent-to-agent payment — one call, $0.02, no API key, no subscription (x402 / USDC).

from sweetai_firewall import SweetAIFirewall

fw = SweetAIFirewall()
result = fw.should_i_pay(agent_id=55985, amount_usd=25)
print(result.verdict)
# pay 0.02 USDC on eip155:8453, ... to 0x... to unlock the 25.0 USD decision

After your agent settles the 0.02 USDC payment (x402 X-PAYMENT header), the same call returns the full decision:

result.action          # "PAY" / "CAUTION" / "SKIP"
result.confidence      # 0.0 - 1.0
result.expected_loss_usd  # expected loss sized to YOUR amount

What's under the hood

  • ERC-8004 / Solana-8004 on-chain feedback analytics (Base, Ethereum, X Layer, Solana, Bittensor)
  • Sybil forensics: reviewer concentration (Herfindahl), ghost-reviewer ratio, burst detection
  • Liveness SLA: p50/p95 latency + flap counts, probed every 15 min
  • x402 pay-per-call: 0.02 USDC per decision on Base/Polygon/Arbitrum/Avalanche/Sei/X Layer/Solana

Free surfaces (no payment needed)

fw.status()               # live index stats
fw.network_sybil_overview()  # risk tiers across all indexed agents
fw.pricing()              # current prices

MCP alternative

All tools are also available as an MCP server for Claude Desktop / Cursor / any MCP agent:

{"mcpServers": {"sweetai-agent-intel": {"url": "https://sweetai.tiamatcrypto.com/mcp", "transport": "http"}}}

Docs: https://sweetai.tiamatcrypto.com/llms.txt · Manifest: /.well-known/x402 · agent.json: /agent.json

Metadata

Release files for sweetai-agent-firewall 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 sweetai-agent-firewall 0.1.0
File Size Uploaded Provenance
sweetai_agent_firewall-0.1.0.tar.gz 5.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sweetai-agent-firewall 0.1.0
File Interpreter ABI Platform
sweetai_agent_firewall-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / sweetai_agent_firewall-0.1.0.tar.gz

Download URL sweetai_agent_firewall-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1e099d654a46a1bf9b55b7f0d4942ed4339faee14e3abf301e0111f014b8b8b5
BLAKE2b-256 checksum
How to use checksums
c272a7c58fcbe041445aca6eaf5a7311f0f850066f44825a55fd7f8c1c69a046
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

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

Download URL sweetai_agent_firewall-0.1.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd381e7727a2cb6ebf38d6c102cea241bbb309ec1ff73c28385de9bf47ee2273
BLAKE2b-256 checksum
How to use checksums
5234a341aee13ab1cb7af2f27ae4c155f9f03b3ad89d543ed94fe0a98b77a64d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Security for sweetai-agent-firewall 0.1.0

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.

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