NETWORK: BSC MAINNET (56) • BLOCK TIME: 450ms (FERMI) • opBNB: LIVE (204)
RAREAGENT // GUARDED ERC-4337 AI ACCOUNTS•SESSION KEYS & SPEND CAPS

AUTONOMOUS ON-CHAIN AI AGENTS WITH GUARDED SESSION KEYS

Give your autonomous AI agents on-chain execution powers without risking the treasury. Scoped ERC-4337 session keys, contract allowlists, daily spend limits, and instant human kill-switches.

Configure Guardrail Policy Below ↓
RareAgent ERC-4337 AI Agent Hardware Security Enclave
RareAgent • HSM Enclave$500 Cap + Kill Switch
01 // Interactive Guardrail Sandbox

ERC-4337 Session Key Policy Simulator

Module: SessionKeyValidator.sol • BSC 56 / opBNB 204

Agent Allowed Target Allowlist

Toggle contracts the AI agent is cryptographically permitted to touch
POLICY MATRIX
PancakeSwap V3 Router
0x13f4ea83d0bd40e75c8222255bc855a974568dd4
✓ ALLOWED
Venus Lending Comptroller
0xfd36e2c2a6789db23113685031d7f16329158384
BLOCKED
RareChars Game Relic Vault
0x8b7e028546950c122026a9b61b50...
✓ ALLOWED
DAILY SPEND CAP:$500 USD / DAY
Cryptographic Separation of Powers
1. Master Owner: Human Gnosis Safe
Full ownership, ability to deposit/withdraw master capital, upgrade modules, and instantly revoke session keys.
2. Agent Worker: Scoped Session Key
Can only execute allowlisted functions within daily allowance. Zero access to raw master balance.
3. Watchdog & Killswitch Module
Monitors user operations in real time and automatically pauses session keys if unexpected reverts or parameter drifts occur.
SessionKeyPolicy.json // Validated Policy Struct
{
  "account": "0x49a2...71e4",
  "sessionKey": "0x81b4...99a0",
  "validUntil": 1793156800,
  "dailySpendCap": "500.00 USD",
  "allowedContracts": [
    "0x13f4ea83d0bd40e75c8222255bc855a974568dd4 (PancakeSwap V3)",
    "0x8b7e028546950c122026a9b61b50000000000000 (RareChars)"
  ],
  "enforcement": "On-Chain Smart Contract"
}
02 // Commercial Packages

RareAgent Deployment Packages

USD PRICING
Agent Guard SetupSECURITY CORE
$2,500 One-Time
Billed in USD via Safe / Wire
  • ✓ERC-4337 smart account & session key module
  • ✓Scoped contract & function selector allowlists
  • ✓Daily & per-tx spend quota enforcement
  • ✓Read-only MCP server integration
  • ✓Safe multisig human master owner setup
Managed Autonomous AgentTURNKEY FLEET
$5,000 + $750/mo
Billed in USD via Safe / Wire
  • ✓Autonomous liquidity rebalancing or game agent
  • ✓Pre-flight simulation engine before broadcasting
  • ✓Emergency automated kill-switch & alerting
  • ✓Dedicated bundler & Paymaster sponsorship
  • ✓Full operational monitoring & weekly reports
Custom Multi-Agent FleetENTERPRISE
$12,000 USD
Billed in USD via Safe / Wire
  • ✓Multi-agent collaborative fleet architecture
  • ✓Cross-chain execution (BSC + opBNB + Arbitrum)
  • ✓Bespoke zero-knowledge or cryptographic verifiers
  • ✓Formal security hardening & pen-test triage
  • ✓Dedicated 24/7 incident response runbook
03 // Agent Guard Architecture & FAQ

ERC-4337 Security Questions

What is an ERC-4337 smart account with session keys?

Unlike traditional EOA wallets where an agent holds the master private key, an ERC-4337 smart account separates execution from ownership. The AI agent holds a temporary "session key" that can only execute pre-approved functions (e.g. swap on PancakeSwap) up to a strict daily spend limit. Your human Gnosis Safe remains the ultimate master owner.

How does RareAgent protect against prompt injection and malicious AI behavior?

Even if an LLM is hijacked or hallucinates an instruction to send funds to an attacker, the on-chain session key validator contract rejects the transaction because the attacker’s address is not on the immutable contract allowlist. The guardrails exist at the smart contract level, not in the prompt.

Can the human owner revoke the agent’s permissions immediately?

Yes. The human master owner (Gnosis Safe) can call revokeSessionKey() at any time. We also provide an automated watchdog that freezes the session key instantly if anomaly thresholds are tripped.

Does RareAgent support gas sponsorship (Paymasters)?

Yes. RareAgent integrates ERC-4337 Paymasters on BSC and opBNB, allowing your dApp or treasury to sponsor gas in native BNB or permit the agent to pay gas in stablecoins (USDT).

Can RareAgent inspect on-chain state without gas costs?

Yes. RareAgent includes a read-only Model Context Protocol (MCP) server that provides agents with zero-gas tool access to balances, logs, contract reads, and calldata decoding on BSC (56/97) and opBNB (204/5611).

Ask ReBo24/7
Rareware AI Architect
Floating ReBo Character