project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5
project screenshot 6

Smart Cookie

Smart Cookie - Your decentralized Autonomous agent. It provides a tailored recommendation system while preserving your data ownership by the web3 version of browser cookies.

Smart Cookie

Created At

ETHGlobal Paris

Winner of

trophy

🏃 Filecoin — Runner Up

trophy

🏊 The Graph — Pool Prize

Project Description

Smart Cookie - your decentralized autonomous agent. It provides a tailored recommendation system with web3 cookies while preserving your data ownership. Our Chrome extension seamlessly integrates into your browsing experience, allowing you to "Bite" on Uniswap DeFi pools, CMC coins, and OpenSea NFTs that pique your interest.

Smart Cookie elevates your online journey by delivering Web3 social posts (Lens) curated to match your unique web3 preferences. With cookie data securely stored as web3 data and an AI agent governed by smart contracts, both users and advertisers benefit from a transparent, trustless system that respects individual privacy. Experience the perfect blend of Web3 and AI with Smart Cookie, and savor every moment of your personalized digital adventure.

There are some key actions to the Smart Cookie user journey:

  • With Chrome extension integrated into the browser, you can "Bite a cookie" on Uniswap DeFi pools, or OpenSea NFTs to mark your interest with a single signature. No more email requires.
  • Intelligence also comes. LLM modules with Smart Cookie can match your web3 preferences and make the best suggestion. We build 2 powerful showcases during the hackathon:
    • If you bite a cookie for your favorite coins on CoinMarketCap or Opensea, the agent will push fine-tuned Lens content as a personalized recommendation algorithm.
    • If you like some posts or follow some community members on Lens, the agent will pop up and suggest you top-interest trading pairs on Uniswap.
  • Cookie Manager
    • Visit a cookie manager page from the Chrome extension. In there, you can manage both cookies and AI agents:
      • You can choose close cookies or AI recommendation push
      • You can crash cookies if you want! With that, all historic cookies will be deleted.
      • You can switch AI models, like from OpenAI to Llama (only OpenAI in the demo)

How it's Made

It sounds too fancy to be possible, right? Here’s how we make it: The “easy” part is to provide user-friendly features:

  • Create a Chrome extension for the agent
  • We hijack frontend pages for Uniswap, Opensea, CoinMarketCap for adding up the “Bite Cookie” button to make the powerful cross-platform "add to like" feature.
    • Users don’t need to sign on metamask for approve of favorite collection for now since it’s hard to code. But we can easily enable that in the future for ownership check.
  • Integrate to the Lens Recommendation Algo Playground to present the good result of AI recommendation.
  • Inject pop-up windows on Uniswap and Lenster.xyz frontend to show AI suggestions

There’re 3 major challenges (also key values) in this project:

Collect & manage personal data in a Web3 way - We store cookies on the decentralized storage, Filecoin, via ChainSafe Storage. It guarantees that only the user “owns” their own data - To bootstrap the the user profile vectors, we use Airstack to fetch on-chain assets ownership data as the initial user profile embeddings - To make sure the data can be encrypted, we use Phat Contract (Phala Network) for decentralized offchain computation

Create a decentralized system to leverage AI in a trustless way - Integration of decentralized technologies - Verifiable backend - Phat Contract can support complex computation such as similarity scores calculation - Phala can provide a decentralized backend controlled by EVM smart contracts so that users can control their data from from Polygon or EVM chains like GnosisChain - All backend computation processes can be logged and verified through remote attestation and signed logs - Connect to and integrate the rich offchain data and APIs - Use data from indexing APIs like Lens API (post data), Airstack (on-chain holdings), and The Graph (uniswap pairs) - Store user profile vectors on Filecoin - OpenAI's LLM APIs for text vectorization - AI technology - We use Lens Algo Playground to prototype a basic showcase for the recommendation results - Use OpenAI APIs to convert both on-chain and off-chain user behavior history and the recommendation candidates into vectorized embeddings for similarity calculation - AI models are pluggable. It's possible to switch to other models in the future. It removes the rely on a central party.

Full automation in the whole system - Whenever the user triggers the action from the browser, the extension can listen to events and trigger the cookie updates - Cookies are analyzed to assign interest tags to the user, and the data is convert to vectors stored on Filecoin - Whenever a user browses target pages (Uniswap, Lens), the extension can push recommendation contents to the pop-up

background image mobile

Join the mailing list

Get the latest news and updates