hackquest logo

social-media-agent

SocialAgent is an autonomous AI agent that researches real trending topics, generates on-brand social media content, and publishes it every week — powered by MetaMask Smart Accounts, x402 micropayment

Video

Hình ảnh dự án 1
Hình ảnh dự án 2
Hình ảnh dự án 3
Hình ảnh dự án 4

Công nghệ sử dụng

React
Web3
Ethers
Node

Sự miêu tả

This demo walks through SocialAgent — an autonomous social media management agent built for the MetaMask Smart Accounts × 1Shot API Hackathon.

What you'll see in this video:

  • Connecting MetaMask Flask and upgrading to a Smart Account via EIP-7702

  • Granting the agent weekly spending permissions via ERC-7715 Advanced Permissions

  • Agent A receiving ERC-7710 delegation and redelegating to Agent B (A2A coordination)

  • Connecting to 1Shot Permissionless Relayer on Base — real capabilities and fee quote fetch

  • Agent A fetching live trending topics via Tavily Search API

  • x402 micropayments per AI API call — paying in USDC via 1Shot relay

  • Three trend-aware social media posts generated for Instagram, Facebook and Twitter

  • Live terminal activity log showing every agent action in real time

  • Raw Tavily API response in console — proof of real live trend data

Tech stack: MetaMask Smart Accounts Kit · EIP-7702 · ERC-7715 · ERC-7710 · x402 Protocol · 1Shot Permissionless Relayer · Tavily Search API · Groq AI · React + Vite

Tiến độ hackathon

Came in with solid React and backend experience but limited exposure to Smart Accounts, delegation standards, and agentic crypto systems. Used the hackathon to go deep on the MetaMask Smart Accounts Kit and build a production-grade autonomous agent from scratch.

What was built:

  • MetaMask Flask wallet connection with Wagmi

  • EIP-7702 smart account upgrade via MetaMask Smart Accounts Kit

  • ERC-7715 permission grant — user sets weekly USDC spending limit enforced on-chain

  • ERC-7710 A2A delegation — Agent A redelegates publishing rights to Agent B with least-privilege scoped permissions

  • 1Shot Permissionless Relayer integration on Base — real capabilities and fee quote fetch via JSON-RPC

  • Tavily Search API for live trend research — Agent A analyzes real trending topics before generating content

  • Groq AI for content generation — taglines and 3 platform-specific social posts per run

  • x402 payment simulation per API call — architecture ready for real Venice AI x402 payments

  • Live terminal-style activity log showing every agent action in real time

Key challenges solved:

  • MetaMask Flask setup and Sepolia testnet configuration

  • ERC-7715 permission flow using erc7715ProviderActions from Smart Accounts Kit

  • 1Shot API response structure nested under chain ID key

  • Building a natural A2A story with Tavily as the intelligence layer between agents

  • Preventing browser auto-scroll during live agent activity updates

Deployed live on Vercel with full README documentation.

Trạng thái huy động vốn

Not raised. This is a hackathon project built independently

Trưởng nhóm
IIfthikaar Ahmed
Liên kết dự án
Triển khai Hệ sinh thái
EthereumEthereum
Ngành
AI