AgentRail enables autonomous LLMs, Swarms, and MCP tools to pay for inference and data APIs via smart contract scoped allowances. Zero popup interruptions. Built-in protocol fee routing.
| Component | Soroban Implementation | Security Invariant | Explorer Verification |
|---|---|---|---|
| Scoped Allowance Escrow | Rust soroban-sdk::contractimpl |
Agent cannot exceed assigned cap or spend post-TTL expiry | Verified Contract โ |
| Fee Splitter Engine | 20 bps (0.20%) auto-routing | Split calculates atomically; 99.8% to destination, 0.2% to Treasury | Init Tx โ |
| Emergency Circuit Breaker | Time-locked Multi-Sig Pause/Drain | Instant freeze of agent allowance if prompt injection detected | Source Code โ |
| State TTL Rent Keeper | Automatic Ledger TTL Bumping | Contract storage immune to Soroban state archival freezing | Keeper Module โ |