
PREDICTION - Amazon will ban all Gen-AI assisted code changes in the coming weeks! More companies will follow..... Be warned - your legacy code base, tech debt and bugs will sky-rocket if you continue to BLINDLY embrace AI
omni
1.7K posts


PREDICTION - Amazon will ban all Gen-AI assisted code changes in the coming weeks! More companies will follow..... Be warned - your legacy code base, tech debt and bugs will sky-rocket if you continue to BLINDLY embrace AI



Agents shouldn't need permission for every transaction. 🦞 We're building an experimental policy engine on top of the @MetaMask Delegation Framework that lets you define what your agent can do in plain English, then enforces it on-chain. No approval popups. No trusting application code. The chain rejects anything outside the bounds you set. "Max $500/week, only on Uniswap, never more than $100 per tx" compiles to on-chain caveats and gets signed as a delegation. The agent executes by redeeming through the DelegationManager. If it exceeds the limits, the contract reverts. Enforcement lives on-chain, not in our application layer. How we're extending this framework for agents: → Natural language to on-chain caveats — a compiler that maps English spending rules to the framework's enforcer contracts, with live price feeds for USD→wei conversion → Two enforcement modes: on-chain delegation for smart accounts, app-layer fallback for EOAs → Autonomy profiles: from "supervised" (approve everything) to "autonomous" (weekly budget, scoped contracts, 30d expiry) → Sub-delegation: agent spawns a sub-agent, grants it a narrower slice of its own permissions via delegation chaining. The DelegationManager verifies the full chain on redemption → EIP-7702 detection + upgrade path for EOA wallets that want on-chain enforcement → Live monitoring: tracks spend against delegation limits, alerts before exhaustion Built on viem against the Delegation Framework contracts across 8 EVM chains. Under active development. On-chain execution currently covers native ETH transfers; ERC-20s and swap calldata routing are next. Off-chain policy layer for non-EVM actions (fiat ramps, social posts, browser automation). Delegation auto-renewal before expiry. Strategy templates that ship with recommended delegation profiles - activate a DCA strategy and it requests exactly the permissions it needs. Where this goes: autonomous agents running complex economic strategies within cryptographically enforced constraints you defined in a sentence. The Delegation Framework gives us the on-chain primitives. We're building the AI-native interface to them. 🦞


That was easy 🦞














Demo video walkthrough




