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

TruthValidatorAgent

Decentralized truth validation using blockchain, AI & community voting. Fight misinformation with TruthValidatorAgent! #blockchain #AI #truth

TruthValidatorAgent

Created At

Agentic Ethereum

Project Description

TruthValidatorAgent: Fighting Misinformation, Together.

TruthValidatorAgent is like a community-powered, AI-assisted fact-checker, built to help us all navigate the confusing world of online information. Imagine a system that's not controlled by any single company or government, but by everyone who wants to find the truth. That's what TruthValidatorAgent is aiming for.

We're facing a huge problem with fake news and misleading information spreading faster than ever. Traditional fact-checking can be slow, expensive, and sometimes people don't trust who's doing the checking. TruthValidatorAgent offers a new way: a decentralized system that's transparent, efficient, and relies on community wisdom and smart technology.

Think of it like this:

  1. See something questionable online? You can easily submit it to TruthValidatorAgent through a simple Telegram bot.
  2. Smart AI steps in. An intelligent AI agent uses advanced techniques to search the web and gather information related to your submission. It's like a super-powered research assistant, quickly finding evidence for and against the claim.
  3. The AI gives its opinion. Based on its research, the AI provides a preliminary judgment – is it likely true or false?
  4. The community votes. Then, it's up to the community. People who are part of the TruthValidatorAgent network get to vote on the information. This is like a jury deciding the truth, but it's online and open to everyone in the community.
  5. Truth is revealed! The votes are counted automatically and securely using blockchain technology. The final result – whether the information is considered true, false, or uncertain – is recorded for everyone to see. You'll get notified of the result through the Telegram bot.

Why is this a big deal?

  • More Reliable Information: By combining AI smarts with community agreement, we get a stronger way to figure out what's true and what's not.
  • Builds Trust: Because everything is recorded on a blockchain, the whole process is transparent and can be checked by anyone. This builds trust in the results.
  • Faster and Cheaper: AI helps speed things up, and community voting spreads the work, making it more efficient and less costly than traditional methods.
  • Protects Privacy: Built on blockchain, it's designed to be more privacy-friendly than systems that rely on big companies controlling your data.
  • Community Power: It gives power to the community to decide on truth, rather than relying on just a few experts or organizations.

Where can this be used?

Imagine using TruthValidatorAgent to:

  • Stop rumors on social media: Quickly check if that viral post is actually true.
  • Make news more accurate: Help news outlets double-check their facts before publishing.
  • Spot fake products online: Verify if that product claim on an e-commerce site is legitimate.
  • Clarify public debates: Get to the bottom of facts in important public discussions.
  • Improve research: Check the reliability of data used in studies.

Looking to the Future:

We want to make TruthValidatorAgent even better by:

  • Making the AI smarter: Using even more advanced AI to analyze information with greater accuracy.
  • Getting more people involved: Finding ways to encourage more community members to participate in voting and keep the system healthy.
  • Making it easier to use everywhere: Connecting it to more social media platforms and websites so it can be used more broadly.

TruthValidatorAgent is about creating a better information environment for everyone. By using the power of technology and community, we can work together to fight misinformation and build a world where truth is easier to find and trust.

How it's Made

How It's Built: The Technology Behind TruthValidatorAgent

The TruthValidatorAgent project is built using a modular architecture, cleverly combining the Ethereum blockchain, Artificial Intelligence, and Web technologies. Here's a detailed breakdown of each technology and how they work together:

1. Smart Contracts (The Foundation of Trust)

  • Blockchain Platform: We allow deployment on EVM-compatible blockchains (such as Ethereum, Polygon, or Binance Smart Chain) because they have mature tools, community support, and smart contract capabilities. This choice provides decentralization, transparency, and security for the core logic.
  • Smart Contract Language: Solidity naturally became the language of choice for writing smart contracts. It is the dominant language for EVM blockchains and has a rich ecosystem of libraries and tools.
  • Core Functions (Solidity Implementation):
    • Proposal Submission: A function that allows users (or the Telegram bot on behalf of users) to submit proposals. This involves storing the content to be verified and associating it with the submitter's address.
    • Event Emission: Crucially, the contract emits events such as ProposalSubmitted(proposalId), VotingStarted(proposalId), VoteCast(proposalId, voter, vote), and ProposalFinalized(proposalId, result). These events are the bridge for communication with the off-chain AI Agent and Telegram bot.
    • Voting Logic: The contract manages the voting process. This includes:
      • Storing voter addresses and potentially voting power
      • Counting votes and determining the final result (e.g., simple majority).
    • Result Storage: After voting ends, the contract stores the final verification result ("True", "False") in the smart contract itself.

2. AI Agent (The Intelligent Analyst)

  • Programming Language: Golang is the workhorse here. Its extensive library ecosystem for AI, NLP, and Web interaction makes it an ideal choice.
  • RAG Implementation:
    • Event Listener: The AI Agent is designed to continuously listen for ProposalSubmitted events from the smart contract, using Web3 libraries (go-ethereum).
    • Query Generation and Integration with AI Search Module: Upon receiving a ProposalSubmitted event, the AI Agent extracts the proposal content and formulates search queries. It then calls the AI Search Module to execute these queries.
    • Information Processing and Preliminary Judgment: The AI Agent receives structured search results from the AI Search Module. It will then use a Large Language Model (LLM), which will be used to:
      • Analyze the relevance and credibility of the retrieved search results.
      • Identify evidence supporting and refuting the proposal.
      • Generate a preliminary judgment based on the evidence.
    • Submitting Judgment and Voting to Smart Contract: The AI Agent will be able to interact with the smart contract using Web3 libraries to record its preliminary judgment. In the current version, it mainly directly triggers voting.

3. AI Search Module (The Web Explorer)

  • Search API: We chose to use a metasearch engine to aggregate results from various search engines while respecting privacy, making it very suitable for decentralized and transparent projects.
  • Integration with AI Agent: The AI Search Module is essentially a Golang function called by the AI Agent. It takes search queries as input and returns structured search results.

4. Telegram Bot (The User Interface)

  • Telegram Bot API: We used telegram-bot in Golang to interact with the Telegram Bot API.
  • Command Handling: The bot is designed to handle specific commands from users, such as /start to initiate proposal submission.
  • User Input and Interaction: The bot guides users through the proposal submission process, prompting users to enter the information to be verified.
  • Smart Contract Interaction (via Web3): The Telegram bot uses the go-ethereum library to interact with the deployed smart contract. This enables it to:
    • Submit proposals to the smart contract on behalf of users (by calling the proposal submission function).
    • Listen for Finalized events from the smart contract.
    • Retrieve proposal results and send them back to users via Telegram.
  • User Notifications: The bot listens for Finalized events and sends messages to users who submitted proposals, providing the verification results.

Putting it Together - Data Flow and Event-Driven Architecture:

The system operates on an event-driven architecture. Here’s how the components interact:

  1. User Interaction: Users submit proposals through the Telegram bot.
  2. Proposal Submission to Smart Contract: The Telegram bot uses go-ethereum to call the submitProposal function of the smart contract, sending proposal details on-chain.
  3. ProposalSubmitted Event Triggered: The smart contract emits a ProposalSubmitted event upon successful submission.
  4. AI Agent Listens and Reacts: The AI Agent continuously monitors the blockchain and detects the ProposalSubmitted event.
  5. AI Agent Initiates RAG: The AI Agent triggers the AI Search Module to retrieve relevant information related to the proposal.
  6. Search Results Returned to AI Agent: The AI Search Module returns structured search results to the AI Agent.
  7. AI Agent (LLM) Analysis and Judgment (Implicit in Voting Trigger): The AI Agent analyzes the search results and triggers the voting process in the smart contract.
  8. Voting Logic and ProposalFinalized Event: The smart contract manages the voting period, counts votes, determines the result, and emits a ProposalFinalized event containing the result.
  9. Telegram Bot Listens and Notifies User: The Telegram bot detects the ProposalFinalized event.
  10. Result Feedback to User: The Telegram bot retrieves the final result from the smart contract (using go-ethereum) and sends a notification message containing the verification result to the user who submitted the proposal in Telegram.

Collaborating Technologies and Advantages:

While not "partners" in a commercial sense, we heavily rely on and benefit from:

  • Blockchain Technology (Ethereum/EVM): Provides the core infrastructure of decentralization, transparency, security, and immutability, which is crucial for trust in a truth verification system.
  • AI/ML Technology (LLM, RAG): Enables automation of information analysis, scalability, and efficient processing of large amounts of data. Open-source libraries and models democratize access to powerful AI tools.
  • Web3 Libraries (go-ethereum): Provide a crucial bridge for interaction between off-chain components (AI Agent, Telegram bot) and on-chain smart contracts.
  • Metasearch Engine API: Facilitates comprehensive and privacy-respecting information retrieval from the Web.
  • Telegram Bot API: Provides a user-friendly and widely accessible user interaction interface.
  • Open-Source Libraries and Tools: The entire project is built on open-source technologies, which significantly accelerates development, reduces costs, and fosters community contributions.

We have adopted a modular and iterative development approach, currently focusing on building core functionality and then progressively adding features and improving components. The emphasis is on demonstrating the core concept of decentralized truth verification by combining blockchain, AI, and community, and establishing a clear roadmap for future enhancements and greater sophistication.

background image mobile

Join the mailing list

Get the latest news and updates