sriram1983007 commited on
Commit
5ab2b02
·
verified ·
1 Parent(s): 668c732

Card: badges for the Nov 2026 live runs; MCP eleven tools

Browse files
Files changed (1) hide show
  1. README.md +7 -1
README.md CHANGED
@@ -115,6 +115,10 @@ model-index:
115
  [![alphaXiv](https://img.shields.io/badge/alphaXiv-Paper-b31b1b?style=for-the-badge)](https://www.alphaxiv.org/abs/2610.sra-riskgate-stablecoin-payment-safety)
116
  [![YouTube demo](https://img.shields.io/badge/YouTube-Base%20Sepolia%20demo-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/watch?v=NeyFklYSfkA)
117
  [![YouTube demo](https://img.shields.io/badge/YouTube-Circle%20Arc%20demo-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/watch?v=mPinl8ikUlE)
 
 
 
 
118
  ![Page views](https://hits.sh/huggingface.co/sriram1983007/SRA-RiskGate-4B.svg?style=for-the-badge&label=Page%20views&color=6b3fe0&labelColor=555555)
119
 
120
  **SRA-RiskGate-4B checks a stablecoin payment before an AI agent sends it, and answers `approve`, `hold` or `reject`** with reason codes. It is a 4B model, fine-tuned from `Qwen/Qwen3-4B-Instruct-2507`, that runs on a laptop.
@@ -175,7 +179,7 @@ If this is useful for your agent, a ❤️ like on this page helps others find i
175
 
176
  ## 🔌 Use It From an AI Agent (MCP)
177
 
178
- [`sra-riskgate-mcp`](https://pypi.org/project/sra-riskgate-mcp/) gives Claude Desktop, Cursor and other MCP clients nine tools to call **before** paying:
179
 
180
  | Tool | What it does | Needs |
181
  | --- | --- | --- |
@@ -187,6 +191,8 @@ If this is useful for your agent, a ❤️ like on this page helps others find i
187
  | `check_circle_wallets_request` | The same checks for a Circle Wallets API request (transfer, contract execution, signing) before it is sent to Circle; approvals, raw messages and wallet upgrades are held | Nothing |
188
  | `check_delegation` | An EIP-7702 authorization before signing: always held, naming the contract and whether it is valid on every chain | Nothing |
189
  | `check_user_operation` | An ERC-4337 UserOperation from a smart account (Coinbase Smart Wallet, Safe, Kernel, Nexus, SimpleAccount), call by call: an approval hidden in a batch is held, payments to the same payee are summed | Nothing |
 
 
190
  | `check_payment_with_model` | Full review by SRA-RiskGate-4B over your policy, the payment and your verification results | This model served locally (for example with Ollama) |
191
 
192
  ```json
 
115
  [![alphaXiv](https://img.shields.io/badge/alphaXiv-Paper-b31b1b?style=for-the-badge)](https://www.alphaxiv.org/abs/2610.sra-riskgate-stablecoin-payment-safety)
116
  [![YouTube demo](https://img.shields.io/badge/YouTube-Base%20Sepolia%20demo-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/watch?v=NeyFklYSfkA)
117
  [![YouTube demo](https://img.shields.io/badge/YouTube-Circle%20Arc%20demo-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/watch?v=mPinl8ikUlE)
118
+ [![Verified on chain](https://img.shields.io/badge/Verified%20on%20chain-Base%20Sepolia-0052FF?style=for-the-badge&logo=coinbase&logoColor=white)](https://sepolia.basescan.org/tx/0xf12e9084becefd94fa6e26e54761fbfc8f3c04215d7fc724d0fca6077ba084fc)
119
+ [![Independently re-checked](https://img.shields.io/badge/Re--checked%20by-Flow%20Executor-2EA44F?style=for-the-badge)](https://flow-kg4x.vercel.app/row)
120
+ [![Circle Gateway](https://img.shields.io/badge/Circle%20Gateway-settled%20on%20Arc%20testnet-3D5AFE?style=for-the-badge)](https://gist.github.com/sriram1983007-dev/8cd44e78adec20a0157368ec38c2fb42)
121
+ [![Grok agent test](https://img.shields.io/badge/Grok%20agent%20test-APPROVE%20%C2%B7%20HOLD%20%C2%B7%20REJECT-111111?style=for-the-badge&logo=x&logoColor=white)](https://gist.github.com/sriram1983007-dev/1555e11a57682496f710a8224415c9e2)
122
  ![Page views](https://hits.sh/huggingface.co/sriram1983007/SRA-RiskGate-4B.svg?style=for-the-badge&label=Page%20views&color=6b3fe0&labelColor=555555)
123
 
124
  **SRA-RiskGate-4B checks a stablecoin payment before an AI agent sends it, and answers `approve`, `hold` or `reject`** with reason codes. It is a 4B model, fine-tuned from `Qwen/Qwen3-4B-Instruct-2507`, that runs on a laptop.
 
179
 
180
  ## 🔌 Use It From an AI Agent (MCP)
181
 
182
+ [`sra-riskgate-mcp`](https://pypi.org/project/sra-riskgate-mcp/) gives Claude Desktop, Cursor and other MCP clients eleven tools: nine to call **before** paying, and two to confirm the payment **after** it settles:
183
 
184
  | Tool | What it does | Needs |
185
  | --- | --- | --- |
 
191
  | `check_circle_wallets_request` | The same checks for a Circle Wallets API request (transfer, contract execution, signing) before it is sent to Circle; approvals, raw messages and wallet upgrades are held | Nothing |
192
  | `check_delegation` | An EIP-7702 authorization before signing: always held, naming the contract and whether it is valid on every chain | Nothing |
193
  | `check_user_operation` | An ERC-4337 UserOperation from a smart account (Coinbase Smart Wallet, Safe, Kernel, Nexus, SimpleAccount), call by call: an approval hidden in a batch is held, payments to the same payee are summed | Nothing |
194
+ | `verify_settlement` | **After** settlement: the mined receipt must hold exactly the approved USDC payment (payer, payee, amount, and for x402 the approved authorization) | Nothing (you pass the receipt) |
195
+ | `verify_gateway_balances` | **After** a Circle Gateway payment: the payer's balance went down, and the payee's up, by at least the amount | Nothing (you pass the balances) |
196
  | `check_payment_with_model` | Full review by SRA-RiskGate-4B over your policy, the payment and your verification results | This model served locally (for example with Ollama) |
197
 
198
  ```json