WeAi

AI-powered Ethereum news curation, verification & distribution using decentralized EigenLayer AVS. Reviving 'Week in Ethereum News' with AI agents and blockchain-powered trust.

Repo
WeAi banner

About

Project Goal:

The primary goal of the Week in Ethereum News AI Edition project is to create a next-generation, AI-powered newsletter that continues the legacy of the original "Week in Ethereum News" while addressing the critical need for trust and transparency in AI-generated content. We aim to achieve this by implementing Verifiable Agent Prompts using EigenLayer's Autonomous Verifiable Services (AVS).

Problem Statement:

As AI agents become increasingly sophisticated and are used for content creation, concerns about their trustworthiness, potential biases, and lack of transparency are growing. In the context of news dissemination, it is crucial to ensure that AI-generated newsletters are not only informative but also created under sound, auditable, and policy-compliant instructions. Traditional AI systems often operate as "black boxes," making it difficult to verify their processes and outputs.

Solution Overview: Verifiable Agent Prompts

Our project addresses this challenge by introducing Verifiable Agent Prompts. We leverage EigenLayer AVS to create a system where:

• The instructions (prompts) given to our AI newsletter generation agent are explicitly defined and recorded on the Ethereum blockchain. • A decentralized network of Agentic Operators (simulated in our Proof of Concept) automatically reviews and verifies these prompts based on predefined Verification Policies. • The verification outcome (Approved or Rejected) is cryptographically secured and recorded on the blockchain, providing an auditable and tamper-proof record of the prompt verification process. • The AI newsletter generation agent is conditionally executed – it only proceeds to create the newsletter content if its prompt has been verifiably approved by the operator network.

This approach aims to build a more trustworthy and transparent AI-driven newsletter by ensuring that the AI's content generation is guided by instructions that have been verifiably reviewed and validated by a decentralized network, enhancing user confidence and accountability.

Key Features and Components:

1 Autogen Agentic Workflow for Newsletter Generation: • We utilize the Autogen framework to create a multi-agent system for automated newsletter creation. This system includes specialized agents such as: • Manager Agent: The central orchestrator, responsible for planning the newsletter content, delegating tasks, and managing the overall workflow. • Critic Agent: Reviews plans and generated content, providing feedback to ensure quality, accuracy, and completeness. • Web Scraper Agent: Gathers relevant information from the web based on prompts and instructions, extracting data from news sources and online resources. • Coder Agent: (Placeholder for future development) Intended for data analysis and code-assisted content generation. • Telegram Poster Agent: Automates the distribution of the generated newsletter to a Telegram channel. • Twitter Poster Agent: (Commented out for now) Intended for future automated posting to Twitter. 2 EigenLayer AVS Integration for Verifiable Prompts: • We integrate with EigenLayer AVS to implement the Verifiable Agent Prompts mechanism. This involves: • Solidity Smart Contracts (NewsletterPromptTaskManager.sol, NewsletterPromptServiceManager.sol): Deployed as an EigenLayer AVS, these contracts manage the prompt verification tasks, record verification outcomes, and interact with the EigenLayer ecosystem. • Aggregator (aggregator.py): An off-chain component responsible for: • Submitting new prompt verification tasks to the AVS contract. • Receiving and aggregating signed verdicts from Agentic Operators. • Determining the overall verification outcome. • Recording the outcome on the AVS contract. • Agentic Operators (Simulated by prompt_operator.py): Represent a network of entities that participate in the AVS and perform prompt verification. In our PoC, these are simulated by running prompt_operator.py. • Verification Agents (within Operators): Specialized AI agents deployed by Agentic Operators. These agents automatically check if a submitted Agent Prompt adheres to predefined Verification Policies. 3 Automated Prompt Verification by Agentic Operators: • Instead of manual review, we introduce Agentic Operators who deploy Verification Agents. • When a new prompt is submitted for verification, each Verification Agent automatically assesses the prompt against predefined Verification Policies (e.g., topic relevance, tone, length, keyword usage). • This automated policy check is implemented within the prompt_operator.py script. • Verification Agents generate automated verdicts ("Pass" or "Fail") based on policy compliance. 4 On-Chain Recording of Verification Outcomes: • The verdicts from Verification Agents are aggregated by the Aggregator. • The overall verification outcome (Verified or Rejected) is recorded on the Ethereum blockchain via the AVS contract, providing a transparent and auditable record. 5 Conditional Agent Execution based on Verification: • The core AI newsletter generation agent (manager agent) is designed to be "AVS-Prompt-Verification Aware." • It only proceeds to generate the newsletter content if the prompt has been verifiably Approved by the AVS operator network. • If the prompt is Rejected, the newsletter generation process is halted, ensuring that content is only created under verifiably sound instructions.

Workflow Description:

1 Newsletter Creator Defines Prompt and Policies: The newsletter creator defines the Agent Prompt and a set of Verification Policies. 2 Prompt Submission to AVS: The prompt and policies are submitted to the NewsletterPromptTaskManager contract. 3 Verification Task Creation: The AVS contract creates a new "Prompt Verification Task." 4 Agentic Operators Deploy Verification Agents: Operators deploy Verification Agents that monitor the AVS for new tasks. 5 Automated Policy Check: Verification Agents automatically analyze the submitted prompt against the Verification Policies. 6 Automated Verdict Generation: Verification Agents generate "Pass/Fail" verdicts based on policy checks. 7 Verdict Aggregation and On-Chain Recording: The Aggregator collects verdicts, aggregates them, and records the overall verification outcome (Verified/Rejected) on the AVS contract. 8 Conditional Agent Execution: The Autogen newsletter agent checks the AVS for the verification outcome. If "Verified," it proceeds with newsletter generation using the approved prompt. If "Rejected," the process halts. 9 Newsletter Generation and Distribution: If verified, the Autogen agents generate the newsletter content, which is then distributed.

Technology Stack:

  • AI Agent Framework: Autogen (for multi-agent system orchestration)
  • Large Language Model (LLM): GPT-4o-mini (or similar OpenAI model)
  • Blockchain Platform: Ethereum (simulated local Anvil chain for PoC)
  • Autonomous Verifiable Service (AVS) Framework: EigenLayer
  • Smart Contract Language: Solidity
  • Off-chain Components: Python (for Aggregator, Operator Agents, and main agent workflow)
  • Web Scraping Library: Scrapegraphai
  • Cryptographic Libraries: Eigensdk-python (for BLS signature aggregation)

Current Project Status (Proof of Concept):

This project is currently a Proof of Concept (PoC). We have implemented the core components to demonstrate the feasibility of Verifiable Agent Prompts. Key aspects currently implemented include:

  • Modified Solidity contracts for managing prompt verification tasks.
  • Aggregator component for task submission and verdict aggregation.
  • Simulated Prompt Operator (prompt_operator.py) with basic automated policy checking logic.
  • Integration with a simplified Autogen workflow in agents.py to submit prompts for verification and conditionally execute the newsletter agent.

Future Development and Enhancements:

• More Sophisticated Verification Policies: Implement more complex and nuanced policies, potentially using more advanced NLP techniques for policy evaluation within Verification Agents. • Diverse Verification Models: Explore using a variety of AI models within Verification Agents to increase robustness and reduce bias in the verification process. • Verifiable Tool Usage Logging and Authorization: Extend the system to verifiably log and control the tools and APIs used by the AI agents, further enhancing transparency and security. • Decentralized Policy Registry: Implement a decentralized system for managing and updating Verification Policies. • Reputation and Incentive Mechanisms for Operators: Develop a reputation system and robust economic incentives for Agentic Operators to ensure high-quality and honest prompt verification services within a real EigenLayer deployment. • Enhanced User Interface and Workflow: Create a user-friendly interface for newsletter creators to define prompts, policies, and monitor the verification and generation process.

Value Proposition:

The Week in Ethereum News AI Edition with Verifiable Agent Prompts offers significant value by:

• Building Trust in AI-Generated News: Addresses growing concerns about AI trustworthiness by providing verifiable assurance that the newsletter content is created under reviewed and approved instructions. • Enhancing Transparency: Makes the AI content generation process more transparent and auditable, allowing users to understand the controls and policies governing the AI. • Promoting Ethical AI Development: Provides a framework for incorporating ethical considerations and policy enforcement into AI agent workflows, particularly in sensitive domains like news and information dissemination. • Demonstrating the Power of EigenLayer AVS: Showcases a practical application of EigenLayer AVS for building verifiable and trustworthy AI systems, highlighting the potential of EigenLayer for securing and enhancing AI applications on Ethereum.

Target Audience:

This project is relevant to:

  • Ethereum Community: Provides a valuable service by continuing the tradition of "Week in Ethereum News" in an innovative, AI-driven, and verifiable way.
  • News Consumers: Offers a more trustworthy and transparent source of information about the Ethereum ecosystem.
  • AI and Blockchain Developers: Serves as a practical example and a potential framework for building verifiable and accountable AI systems using EigenLayer AVS.
  • Researchers and Academics: Provides a case study for exploring the intersection of AI, blockchain, and verifiable computation.

Prizes

  • Coinbase Developer Platform · AgentKit Pool Prize · AgentKit Pool Prize
  • EigenLayer · Eigen Agents · Eigen Agents

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

ValidAI

Introducing a decentralized AI platform powered by EigenLayer AVS and Othentic! Our platform empowers developers with AI agents for automated smart contract auditing and fosters an AI marketplace with subscription-based royalties, incentivizing ML researchers community.

GuardianScope

GuardianScope is a decentralized AI content moderation protocol built on EigenLayer's AVS. It enables automated, unbiased, and privacy-preserving moderation for Web3 platforms using AI-powered analysis, ensuring transparency and security through blockchain.

Adapt.ai

A decentralized AI agent marketplace enabling users to autonomously execute financial strategies in DeFi with tailored AI agents, multisig security and AI-driven insights.